Skip to content

Create Field

connectcases_create_field R Documentation

Creates a field in the Cases domain

Description

Creates a field in the Cases domain. This field is used to define the case object model (that is, defines what data can be captured on cases) in a Cases domain.

Usage

connectcases_create_field(description, domainId, name, type)

Arguments

description

The description of the field.

domainId

[required] The unique identifier of the Cases domain.

name

[required] The name of the field.

type

[required] Defines the data type, some system constraints, and default display of the field.

Value

A list with the following syntax:

list(
  fieldArn = "string",
  fieldId = "string"
)

Request syntax

svc$create_field(
  description = "string",
  domainId = "string",
  name = "string",
  type = "Text"|"Number"|"Boolean"|"DateTime"|"SingleSelect"|"Url"|"User"
)