Mobile Deep Linking - how to redirect users with no app to Google Play Store / Apple Store

Piotr H
Tera Contributor

Hi,

I managed to configure a deeplink generator for the desired applet/record.

 

var deepLinkGenerator = new global.MobileDeepLinkGenerator("agent");
var link = deepLinkGenerator.getFormScreenLink(appletID, current.getTableName(), current.getValue("sys_id"));

 

This works fine. If a user has the Agent app installed, it will open the specified applet screen.

However, if a user doesn't have the app - it will open a browser and the mobile version of the instance with "The page you are looking for could not be found" blank page.

 

How can this be changed to instead, if the user doesn't have the app, redirect him to the app store? Or change the look of that blank page.

6 REPLIES 6

mukesh_adh
Tera Contributor

Have you found an answer to this?

mukesh_adh
Tera Contributor

@David Ha appreciate any assistance on this.

Ashwanth Parine
ServiceNow Employee
ServiceNow Employee

Deep Link is a type of link that can open a native app and navigate to a screen in the mobile application. If the app is not installed, the deep link will fail as the app must be installed for deep links to work

Hi @Ashwanth Parine ,

there is an option available in configuration for redirection, yet it is not working when app is not installed in mobile while it is working fine when app is installed in mobile. 

bineetchaubey_0-1723046393425.png

it is showing page not found error when app is not installed in mobile .

bineetchaubey_1-1723046612280.png

Please suggest me where I am doing mistake.