New in 1.18.0

get(id)

Retrieves the Obj specified by its id, if it is part of the site context.

Params

  • id (String) – The id of the Obj.

Returns

  • Returns the specified Obj, or null if the CMS object with the specified id does not exist or is not assigned to the site of the context.

See also

Obj.get

Examples

Retrieve the object even if it is unknown to which site it is assigned: