Checks whether the specified property exists in the profile.

Syntax

Smartsite SXML CopyCode image Copy Code
boolean personalization.exists(string appName, string propertyName)
boolean personalization.exists(string appName, string propertyName, enum source)

Parameters

Name Data Type Description
appName String Name of the application.
propertyName String Name of the property.
source Enum The profile source.
Enum values:
  • Active
    The active (currently loaded) profile.
  • Anonymous
    The anonymous profile property.
  • Authenticated
    The authenticated profile property.
  • Latest
    The latest written property.

Return Value

Data Type Description
Boolean True if the profile property exists.

Expand image See Also

SXML