You have been redirected from an outdated version of the article. Below is the content available on this topic. To view the old article click here.

set_privileged()

Usage

set_privileged(entity, propertyKey, value)

Description
Sets the value for the given property key on the given entity to the given value, using admin permissions. This method is the inverse of get().

Example

${set_privileged(page, 'accessCount', '2')}

Search results for "set_privileged()"

set_privileged()

Sets the value for the given property key on the given entity to the given value, using admin permissions.

set_privileged(entity [, key1, value1, ... ])
set_privileged(entity, json)
set_privileged(entity, map)