xAPPnow LOW CODE PLATFORM - User Manual 

Still no account yet?

×

SessionStorage Object - xAPPnow Low Code Platform

 
The xAPPnow Low Code Platform provides SessionStorage Object to access data related to session, it can be used to have the selected language when it changes in real time. It can be used in scripts on client or server side, similar to globalDef and              SystemData to fetch this variables on runtime.
 
To access the selected language the following code should be used:
 
sessionStorage['aup-selected-language']
 
SessionStorage Object contains also other important session data such as the session key.
 
There is also an event "onChangeLanguage" that allows to catch data of the User Portal language for the current UI page.
The image bellow shows an example of a Custom UI element that handles the event in the script section: