Field Metadata Groovy API
The Max platform provides a high-level API that you can use to create, update, and delete fields from a specified object. For ease of use, only required fields are mandatory, and for all other fields, default values are assumed. To further simplify usage, specifying identifiers or full identifiers are supported for some related records (such as related object, namespace, data type, application) instead of the UUID.
Max includes a REST API and a Groovy API. To avoid duplicating logic, validations, and so on, the REST API calls Groovy API methods. For more information, see Field Metadata REST API.
The Field Metadata Groovy API provides several methods for the com.servicemax.core.utils.Definitions class that you can use to create new fields, relate fields to an existing object, and update and delete fields related to a specified object.
For more information:
Was this helpful?