clemlith
12 years agoExpert
CommunityJsonObject in mobile version
Hi everyone,
In the desktop version of a community there is a CommunityJsonObject available.
This is pretty usefull to get the current whole path via the WebTracking node.
Do you know if there is an equivalent in the mobile version ?
Clement
Hi,
the LITHIUM.CommunityJsonObject is available on mobile as well and not limited to desktop. However, it may depend on the specific device supporting Javascript.
Please note that testing the mobile view using the "?device-view=mobile" parameter in the browser will disable Javascript, so the variable will not be available. You will need to either use a mobile device or change the user agent string of the browser (the easiest is test this on safari with the Developer menu).
Hope it helps,
Chiara