Link with macros

Solved
TA
Thibaud A.
Caterpillar - GIS

Hello,

i'm trying to add a link with a macro as parameters on my Lockdown. 

https://my-url/url/%MAC%

In order to access an internal page where the mac address is used. 

I tried a lot of different combination, as Intent://, Browsers://, Https://, even inputted the link right in the template. 

One of the intent example : intent:my-url/%MAC%/#Intent;scheme=https;action=android.intent.action.VIEW;component=com.android.chrome/com.google.android.apps.chrome.Main;end

Also tried with utf-8 encoding for '%' as %25 same..

None of them is working ..

Could use a little help on this ! 

Thanks in advance

3 years ago
Android
ANSWERS
MD
Matt Dermody Diamond Contributor
3 years ago

Have you tried using a Surf link on the Launcher and using Surf as your browser? I have been able to launch dynamic URLs with Macro values like Mac address or Custom Data using Surf links. 

Solution
TA
Thibaud A.
3 years ago

Hello,


This did the trick, but for half our problems, the remaining will be solved with api as some applications cannot run with SOTI Surf. 


Thanks Matt !