Create Template
| connectcases_create_template | R Documentation |
Creates a template in the Cases domain¶
Description¶
Creates a template in the Cases domain. This template is used to define the case object model (that is, to define what data can be captured on cases) in a Cases domain. A template must have a unique name within a domain, and it must reference existing field IDs and layout IDs. Additionally, multiple fields with same IDs are not allowed within the same Template. A template can be either Active or Inactive, as indicated by its status. Inactive templates cannot be used to create cases.
Usage¶
connectcases_create_template(description, domainId, layoutConfiguration,
name, requiredFields, status)
Arguments¶
descriptionA brief description of the template.
domainId[required] The unique identifier of the Cases domain.
layoutConfigurationConfiguration of layouts associated to the template.
name[required] A name for the template. It must be unique per domain.
requiredFieldsA list of fields that must contain a value for a case to be successfully created with this template.
statusThe status of the template.
Value¶
A list with the following syntax: