We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Mobile App deep link creation

NaguK
Tera Contributor


var deepLinkGen = new global.MobileDeepLinkGenerator("Agent");

// 2. Define your Function (Action) details from your screenshots
var buttonId = '5836a435fbe272d05e6bf8d57eefdc48'; ("sys_id of create incident function")
var tableName = 'custom_table';

// 3. Generate the link for a Function
// Note: We use getFunctionDeepLink to ensure the mobile app handles the transition correctly
var deepLink = deepLinkGen.getButtonLink(buttonId, tableName, "");

// 4. Output the link
gs.info(deepLink);

why this script is not working?

0 REPLIES 0