Overview
**NOTE: This plug-in is deprecated and no longer recommended for use for sites running on Appian 21.4 or later. The functionality of this component is available in Appian without installing the plug-in. You can use a!update() and a!keys() in Appian 21.4 or later.**
Dictionaries are one of the most useful data structures available in Appian. This plug-in provides tools to dynamically create dictionaries from key-value pairs, update dictionaries with new values (including nested dictionaries), and understand what keys are available in a dictionary to help with dynamic control.
Key Features & Functionality
FUNCTIONS
DEPRECATED FUNCTIONS
Hi everyone, how can update a list of CDT in a CDT;
a!update( data:local!existingContactInfo, index:{"emails","relatedEntityId","relatedEntity"}, value:{local!mergedEmails, ri!CO_Person.id,cons!CO_RELATED_ENTITY_PERSON} ),
emails = list of cdt
local!mergedEmails= list of CDT (containing 2 elements)
getting this error :
Try updating just the "emails" property with local!mergedEmails as the value and see if you get a similar error. If you don't and the update works, you can combine 2 separate a!update() calls like so:
a!update( data: a!update( data: local!existingContactInfo, index: "emails", value: local!mergedEmails ), index: { "relatedEntityId", "relatedEntity" }, value: { ri!CO_Person.id, cons!CO_RELATED_ENTITY_PERSON })