We are currently experiencing intermittent issues with our Help Centers. There may be periods of time when it is unavailable or functionality is limited. We are working to resolve this as soon as possible.

Script Methods

Prev Next

Control Methods

These methods are used to make changes to the content item or to reject changes to the content item.

Name

Description

replace()

Tell the HCMS that you have made modifications to the ctx.dataobject and that this change should be applied to the content.

disallow()

Tell the HCMS that this operation is not allowed and that a 403 (Forbidden) status code should be returned. The user will see an alert in the HCMS user interface.

reject(reason)

Tell the HCMS that this operation is not valid and that a 400 (BadRequest) status code should be returned. The user will see an alert in the HCMS user interface.

Additional Methods (Feature Enhancements)

If you would like to see additional script methods, please submit a feature request to our product team.

Resources