- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2022 10:33 AM
Hi Everyone,
We're currently implementing a deeplinking to our now mobile app - I was using the MobileDeepLinkGenerator script include to generate the URL and add it in our QR so that user can directly scan the QR and open the incident form. We're looking for a way to autopopulate the form in mobile once the URL is scanned.
This is the URL we used to generate: /mesp?id=sc_cat_item&sys_id=728437846384638b32af23¶m1=TEST¶m2=TEST2.
var mbd = new MobileDeepLinkGenerator();
var link = mbd.getUniversalLink("/mesp?id=sc_cat_item&sys_id=728437846384638b32af23¶m1=TEST¶m2=TEST2");
This will generate an encodedlink. I have tried using the decodeURICompomponent() and GlideStringUtil.base64Decode();.
To autopopulate the form we would like to decode the link to get the parameters example the param1 and param2 but got no luck in decoding the URL from the mobile. or even in background script.
Any help will be appreciated.
Thank you \^O^/
Solved! Go to Solution.
- Labels:
-
Agent Mobile App
-
Now Mobile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-02-2022 08:51 PM
I end up using a custom widget for this one as they can just directly use the getparameter() and it can directly get the parameter from the encoded URL.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-02-2022 08:51 PM
I end up using a custom widget for this one as they can just directly use the getparameter() and it can directly get the parameter from the encoded URL.