Important Update: Archer Community Scheduled Maintenance on November 23–24 - New Community Launching Soon! Learn More..

cancel
Showing results for 
Search instead for 
Did you mean: 
No ratings
KB-Sync1
Archer Employee
Archer Employee

Article Number

000029852


Applies To


Product(s): Archer
Version(s): All Versions
Primary Deployment: On Premises/AWS Hosted/AWS SaaS

Description


Set the Field values for a Cross-Reference or a Related-Record field using the UpdateRecord method in the Record Class Web Service API.


Resolution


All XML snippet should have the following before the fieldValues attribute:

      <sessionToken>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</sessionToken>
      <moduleId>XXXX</moduleId>
      <contentId>310796</contentId>

The following XML snippet shows how to set a single Cross-Reference or Related Record for one field: 

      <fieldValues>
        <![CDATA[<Records><Field id="70455" name="CRField1" value="310797"/></Records>]]>
      </fieldValues>

The following XML snippet shows how to set multiple Cross-Reference or Related Records for one field: 

      <fieldValues>
        <![CDATA[<Records><Field id="70455" name="CRField1" value="310797"><MultiValue value ="310798"/></Field></Records>]]>
      </fieldValues>

The following XML snippet shows how to clear all values for a Cross-Reference or Related Records for one field

      <fieldValues>
        <![CDATA[<Records><Field id="70455" name="CRField1"/></Records>]]>
      </fieldValues>

Notes


The name XML attribute is not required, but it helps with field identification.

Version history
Last update:
‎2024-09-21 06:39 AM
Updated by: