Updates the attributes of an existing template¶
Description¶
Updates the attributes of an existing template. The template attributes that can be modified include name, description, layoutConfiguration, requiredFields, and status. At least one of these attributes must not be null. If a null value is provided for a given attribute, that attribute is ignored and its current value is preserved.
Other template APIs are:
Usage¶
connectcases_update_template(domainId, templateId, name, description,
layoutConfiguration, requiredFields, status, rules,
tagPropagationConfigurations)
Arguments¶
-
domainId[required] The unique identifier of the Cases domain.
-
templateId[required] A unique identifier for the template.
-
nameThe name of the template. It must be unique per domain.
-
descriptionA brief description of the template.
-
layoutConfigurationConfiguration of layouts associated to the template.
-
requiredFieldsA list of fields that must contain a value for a case to be successfully created with this template.
-
statusThe status of the template.
-
rulesA list of case rules (also known as case field conditions) on a template.
-
tagPropagationConfigurationsDefines tag propagation configuration for resources created within a domain. Tags specified here will be automatically applied to resources being created for the specified resource type.
Value¶
An empty list.
Request syntax¶
svc$update_template(
domainId = "string",
templateId = "string",
name = "string",
description = "string",
layoutConfiguration = list(
defaultLayout = "string"
),
requiredFields = list(
list(
fieldId = "string"
)
),
status = "Active"|"Inactive",
rules = list(
list(
caseRuleId = "string",
fieldId = "string"
)
),
tagPropagationConfigurations = list(
list(
resourceType = "Cases",
tagMap = list(
"string"
)
)
)
)