PicklistValueGroupUpsert

Updates an existing set of picklist value groups or inserts a new set of picklist value groups.

Usage

Use the PicklistValueGroupUpsert method to insert a set of picklist value groups or update an existing set of picklist value groups.

The apdata:PicklistValueGroupSet argument contains the following elements containing picklist value group data:

  • PicklistValueGroupName. The name of the picklist value group.

  • PicklistValueGroupId. The row ID of the picklist value group.

  • Description. A description of the picklist value group.

  • ListOfPicklistTypeSet. The picklists that are mapped to the picklist value group:

    • ObjectName. The name of the object containing the picklist.

    • FieldName. The field name of the picklist.

  • ListOfLicNameSet. The language-independent picklist values mapped to the picklist value group:

    • LicName. The language-independent picklist value.

Arguments

The following table describes the arguments taken by the PicklistValueGroupUpsert method.

Table Arguments Taken by the PicklistValueGroupUpsert Method

Name Description Required Default I/O

apData:ListOfPicklistValueGroupSet

The picklist value group data to be inserted or updated.

Yes

Not applicable

Input

Status

The status of the call.

Not applicable

Not applicable

Output

Return Value of the Call

The status is returned.