Views:

Description

Updates an in-memory entity.

Signature

UpdateEntity('entity', SetAttribute('attributename', 'attributevalue'))    

Example

UpdateEntity(
  GetVar('contact'),
  SetAttribute('firstname', 'Bill'),
  SetAttribute('lastname', 'gates'),
  SetAttribute('creditlimit', '5000'),
  SetAttribute('description', '?'),
  SetAttributeLookup('prefferredsystemuserid',
    'systemuser',
    '670dd379c-ee2f-11db-8314-0800200c888')
)

Note 1: Fields of type lookup need SetAttributeLookup('fieldname', 'entityname', 'recordguid')
Note 2: Fields of type PartyList need SetAttributePartyList('fieldname', 'entityname', 'partyguid' , 'partyguid')  

Parameters

Name Type Description Required
key xxxx xxxx xxxx
defaultvalue xxxx xxxx xxxx