How are Deep Links supposed to be formatted? Issue with push notification deep links.

I have a Notifications table in my app that is added to by an external source. One of the fields is a "Details Link" that, if it is an appsheet link, should be what the notification navigates to when they click it. The "Details Link" is set by the user of a Notification Admin app, so it needs to be easily accessible by a user.

 

In the send a notification task, deep link is described like this:
 
Deeplink
The DeepLink to include with the Notification. (Expression that yields a DeepLink is supported.)

In my browser, the links to the dashboards of apps are formatted like this:

 
If my users were to copy and paste this link as the details link to set the deep link of a notification, I would expect the notification to properly navigate the user to that app. However, it does not.
 
Only calling the LINKTOVIEW("View", "AppName"), which returns a string like this:
AppName-123456#control=View
 
Works when i set the deep link of a notification to it. But there are two problems. One, not all the views are accessible using LINKTOVIEW. Two, how are my users supposed to get every single App name and View name? We have hundreds.
 
Is there a way to make URLs to apps work as Deep Links? Because the link that is in the browser is easily accessible to the user. Right now I have tried a solution where I extract the View and App name from the URL and call LINKTOVIEW to construct the deep link, but I don't like it. Not all Appsheet URLS have the App and View name in them. And what if the URL structure changes? Then my solution breaks.
0 1 162
1 REPLY 1

A deep link is everything after the base url for the app. The base url is the appsheet.com/start/{app-id} section. So you can just strip everything off the front. Try the following as an expression in the 'deeplink' setting:

SUBSTITUTE(  [url] ,  'https://www.appsheet.com/start/1q2w3e4r5r' ,  '')

Make sure the app-id is correct for your app, I assume that one isn't a valid app-id and just an example.