Test your website performance for free
Test your website performance

update(attributes)

Updates one or more attributes of the Obj.

Note that only the specified attributes are updated. Other attributes of the CMS object are not touched.

Params

  • attributes (Object) - The CMS object attributes to update.

Example

Append a new SectionWidget to the body widgetlist attribute of the current page:

Be aware that setting a permalink with update (as opposed to setting it using the UI’s permalink editor) does not check whether the permalink is already in use.