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.