Lockdown : apk version displayed
- 10 December 2018
- SOTI MobiControl - Android
6 Answers- 0 Upvote
- 0 Follower
6 Answers
there is of course no automatic mechanism in html/CSS standard to get your requested information displayed if the template handles different device models with different version of the same apps installed. However, if the app version is the same for all devices targeted by the template, you can then put the known version information in the "Display Name" field of the lockdown menu item, or directly in a customized html template.
If the app is being installed via Package you can bundle in an .ini file that contains a version number corresponding to the APK version and then use Custom Data to extract that version value from the device. That Custom Data can then be displayed on the lockdown menu. It's a little convoluted, but works.
Thanks Mike for your help. Can you please give me more details to do that, I'm not sure it will work with my configuration.
BRUNO RAME Project Deployment Coordinator / SOTI Mobicontrol Specialist
Matt,
I created the ini.file and have now the version of my apk with custom data configuration. What is the command to insert in my lockdown to display this custom data ?
Thanks for your help
BRUNO RAME Project Deployment Coordinator / SOTI Mobicontrol Specialist
The macro that you'll want to leverage is %MCCustomData:YOURPROPERTYNAME% . This can be inserted in the HTML of the lockdown template wherever you see fit. I believe you could even make the name of the application be:
YOURAPPNAME %MCCustomData:YOURPROPERTYNAME%
That way you'll see App name + version number side by side.
Thank you
Finaly we simply used a cutom attribut to manage the display of the apk version. I keep your informations about the custom data for the future, I'm sure it could help me.
BRUNO RAME Project Deployment Coordinator / SOTI Mobicontrol Specialist