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 deepLinkUri = `sfm/{{CODE_HLITED}}amp;lt;/span>{
sfmProcessId}/${id}`;
//sfm/work_detail_view_sfm/a2L1D000000PbNiUAK
$deepLink({
deepLinkUri }
).then(() => {
console.log('Completed the deepLink');
}
, error => console.error('Error while performing deepLink', error));
Was this helpful?