OpenWGA 7.9 - TMLScript reference

TMLUserProfile "profile"
Property :

storageOptedIn

On object TMLUserProfile "profile"
Usage Returns if the profile already was allowed to be stored persistently
Description

This property is necessary when using personalisation mode "Automatic / Cookie based" plus the feature to opt-in persistent profile storage. It indicates if the opt-in for this profile has already happened. If not it may trigger any kind of UI for requesting this opt-in.

For profiles of other personalisation modes or without this feature enabled this always returns true.

Writable False
Return value false if the profile is not yet allowed for persistent storage (Boolean)
Allowed in script types
  • WebTML pages and normal WebTML actions