why not just shorten the link with bit.ly? am I missing something?
I havenāt figured this out yet. What do you mean by ādo it on a mobile deviceā and nit in the glide editor? I will use the editor to create the action then Zapier will send an email. What part will I do from the mobile device?
When you capture and generate the deep link from the the app editor, then you get the wrong link. Itās the link to the editor, which you donāt want. Instead you should call the action when using the published version of the app, so the deep link that is generated, is the correct one.
Jeff answered your question below, did you see it? You use your mobile device when testing the feature.
If youāre saying you donāt have a Row ID for your dataset (comments) then that could be the issue. I didnāt think you could properly use deep links without Row IDs added.
@Lisa Remembering something @George_B told me a while back. I believe Glide Tables have a built in RowID by default, so Iām guessing you can get away with no visible Row ID column in a Glide Table (but add it if you choose). Itās a Google Sheet that would require it to be added. Not sure if that is the case here, but thought Iād share.
Good memory @Jeff_Hager, that is the case. I do sometimes forget myself and sometimes have to catch myself before I advise people they need the Row ID when they are using a Glide Table. It can be handy to see it however in the Data view especially if you are using that table as a parent table in a relation.
Now I tried this just like what @Lisa mentioned ie, during a form submit i created a new action that will write the deep link value into a column.
Now I tried to fill up the form using a mobile but i noticed that the app url is getting updated into it than the actual deep link of the details page.
I tried this on another app that i had.
If I use the laptop then the GE layout link is getting saved into this column.
If I use the mobile then the app URL is getting saved into this column,
If I add a button on the details page and then link it to Show Share options and do a link to the current screen then that is working fine ( am able to see the correct link in the clipboard ).
I am hoping itās a bug and not something that Glide has decided to remove for some issue.
Could this be due to the fact that the link canāt be constructed on the fly while adding a row on form submit and we have to wait for it?
What are the other options to get hold of the deep-link for the details page when creating the form itself?
Thanks
-Shiv
I think you are correct. Actions run very fast, so when you create a new row, it probably hasnāt been assigned a row id yet, or the action to generate the link is running before the new row is fully written.
I donāt usually rely on editing the same row that was just created āon submitā. Other than using the share options as you specified, I think what others have done is create another action outside of the form, such as a list where you can tap on each item and it writes the deep link to a column in that itemās corresponding row.
Deeps Links are tricky though and can sometimes change if you make large structural changes, such as moving tabs or moved lists to another tab. Because of that, Iād personally avoid saving the deep link in the data and instead use the sharing options to get the current link as needed.
I am trying out a few ( at least 2 options ) to shorten the URL dynamically without having to go through external integration and hence this struggle.
I will try out what you told reg storing links using an action outside of the form creation let me see how that goes.
-Shiv
Unfortunately i am seeing the same behaviour.
In in the inline list i changed the action from āView Detailsā to a custom action where after showing the details it will go and update the column for the URL.
Exact same behaviour. If on Editor its updating to the GE layout page and if its from mobile its doing a app URL update.
-Shiv
Yes, thatās expected and what @Lisa was pointing out. The root of the url comes from whatever version of the app you are using. If you are in the GE, itās going to use the GE url. If you are using the published glide url, then it will use the glide url. If you are using a custom domain, then it will use the domain url. The url root will always come directly from whichever url you are using to view the app.
Quick update. From what i tried out now looks like the ālink to screenā gets constructed or generated after you get into the details page and its not something pre-defined.
So i tweaked the action to do some dummy steps ( Set column - but not really setting anything ) and then i added the set-colum to fetch the deep-link and it worked.
If am right then the URL comes into picture only after the details page is loaded.
If there was a āWaitā action available then it would have made it really very simple to induce a 5sec wait in background and then write the URL to the sheet.
@david Pls get us a configurable WAIT action as a (early) Christmas gift.
-Shiv
I definitely add Row ID no matter what, out of habit I suppose!
Can you share a screenshot?
yeah, me too. My tables look naked without it
Plus, Iām almost always using the RowID in a relation somewhere.
Hi! Are there any plans to shorten deep links to text, like a regular webpage? Also, to pull the featured image from the page in question when sharing the link rather than displaying the logo of the app.
This would be ideal, but at the moment we donāt have a way to specify a āfeatured imageā field for details screen to be pulled from. Itās complex, but how it can work is I imagine Glide would take the first image column from the Sheet/first image component on that details view.
Regarding shortening, I donāt know if they will ever provide that, since the deep link has a lot of info tied to it. You can probably try a third party integration for this.
I see, thank you!
Depends on how many deep links you have and wether you have your own domain:
What I do: use a htaccess file on my subdomain folder where I redirect several short URLs to the long deep linksā¦