Scripts

Prev Next
  • Updated on Jul 9, 2026
  • Published on Jul 17, 2025
This article will show you how to create scripts for a Content Type. Scripts can be used for many different purposes such as validation and providing additional security or permissions on a specific content type. The HCMS provides many generic, e...
  • Updated on Jul 9, 2026
  • Published on Jul 17, 2025
Control Methods These methods are used to make changes to the content item or to reject changes to the content item. Additional Methods (Feature Enhancements) If you would like to see additional script methods, please submit a feature reque...
  • Updated on Jul 9, 2026
  • Published on Jul 17, 2025
This article provides use cases for Scripts in Content Types . Debugging: Write the Context to a Field If you want to understand your data structure and the context object, you can just write it to a string field. ctx.data.debug.iv = JSON.stri...
  • Updated on Jul 9, 2026
  • Published on Jul 17, 2025
All script variables are accessible over the ctx (Context) variable. The following fields can be used. The User Object has the following structure: Resources Create Scripts for a Content Type Script Use Cases Script Methods ...