Measurable Success «10 Checkpoints for Future-Proof Enterprise CMS» White Paper
Measurable Success - White Paper

Obj.get(id)

Retrieves the Obj specified by its id.

objId = Scrivito.Obj.root().children()[0].id();
page = Scrivito.Obj.get(objId);
console.log(page.get("title"));

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.