I'm trying to bind a custom property to a system tag to determine if the client is mobile.
The binding result for the SystemFlags tag itself is Bad_NotFound, but in the designer tag browser I can see it's a 1 as expected.
Also, I found system.util.MOBILE_FLAG constant (from another topic), but I'll be damned if I can find where that's documented.
The former is Vision only.
The latter is a leftover from the v7.9 mobile module, I think.
In Perspective you would look at the session properties for the device type.
Perspective does not make use of the System
tags - those are for Vision Clients. You should look into accessing a session prop for the Session: props.device
is likely what you're looking for.
Keep in mind that mobile devices using a browser instead of the native application will report as "browser".
2 Likes