APM Advanced Customization Examples with Modern Template, v15.1+
Introduction
This guide will walk through how the logon, webtop, and other UI pages are created by APM, how it works, and some examples.The new APM modern template has an updated look in both mobil...
Updated Feb 09, 2022
Version 2.0Lucas_Thompson
Employee
Joined January 29, 2020
Jad_Tabbara__J1
Apr 07, 2022Cirrostratus
Hello,
Very helpfull thanks.
Just to share with the community the following example that allows you to read a session variable from the "user-logon.js".
In the "standard" customization manner the syntax in the "logon.inc" is:
var plateformOS = "%{session.custom.last.platform}";
In the "modern" way, it is similar you can use in the "user-logon.js" file following:
newDiv.innerHTML = '<img id="os_img" src="%{session.custom.last.platform}" height="30" width="30">';
CCL => same syntax works also in the modern customization