API: $deepLink
$deepLink: With this API, you can navigate to different screens in the app. This API takes relative deep link URI and returns a promise. For more information, see Deep Link to ServiceMax Go App. The sample $deeplink code is as follows:
const deepLinkUriToInvoke = `sfm/{sfmProcessId}/${recordId}`;
//sfm/work_detail_view_sfm/a2L1D000000PbNiUAK
$deepLink({
deepLinkUri: deepLinkUriToInvoke
}).then(() => {
console.log('Completed the deepLink');
}, error => console.error('Error while performing deepLink', error));
Was this helpful?