Difference between revisions of "Common:record fields"

From AgileApps Support Wiki
imported>Aeric
 
imported>Aeric
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
:* Each <tt><fieldN></tt> element has the name of a field in the object. For example:  
:* Each <tt><fieldN></tt> element has the name of a field in the object. For example:  
::<syntaxhighlight lang="java" enclose="div">
::<syntaxhighlight lang="java" enclose="div">
<company_name>ABC Co.</first_name>
<company_name>ABC Co.</company_name>
<street_address>21 Jump Street</street_address>
<street_address>21 Jump Street</street_address>
</syntaxhighlight>
</syntaxhighlight>
:* In addition to the fields defined in the record, it is also possible to add the [[#Data Policy Bypass Field|Data Policy Bypass Field]] to turn off data policies defined in the platform for this operation.
:* When specifying a [[Multi Object Lookup]] field, you specify the object identifier (name or ID) in the <tt>type</tt> attribute, and the record ID as the field value. The syntax looks like this:
:* When specifying a [[Multi Object Lookup]] field, you specify the object identifier (name or ID) in the <tt>type</tt> attribute, and the record ID as the field value. The syntax looks like this:
::<syntaxhighlight lang="java" enclose="div">
::<syntaxhighlight lang="java" enclose="div">
Line 12: Line 11:
::<syntaxhighlight lang="java" enclose="div">
::<syntaxhighlight lang="java" enclose="div">
<tag type="Priority_Tag">9467890</tag>
<tag type="Priority_Tag">9467890</tag>
</syntaxhighlight>
:* To not trigger the rules via REST API, use the following parameter:
::<syntaxhighlight lang="java" enclose="div">
<PLATFORM.PARAMS.RECORD.DO_NOT_EXEC_DATA_POLICY>1</PLATFORM.PARAMS.RECORD.DO_NOT_EXEC_DATA_POLICY>
</syntaxhighlight>
</syntaxhighlight>

Latest revision as of 05:39, 4 September 2017

  • Each <fieldN> element has the name of a field in the object. For example:
<company_name>ABC Co.</company_name>
<street_address>21 Jump Street</street_address>
  • When specifying a Multi Object Lookup field, you specify the object identifier (name or ID) in the type attribute, and the record ID as the field value. The syntax looks like this:
<field_name type="{objectName}">{record_id}</field>
For example, in the Sample Order Processing System, if priority tags were in a separate table, then the field might look like this:
<tag type="Priority_Tag">9467890</tag>
  • To not trigger the rules via REST API, use the following parameter:
<PLATFORM.PARAMS.RECORD.DO_NOT_EXEC_DATA_POLICY>1</PLATFORM.PARAMS.RECORD.DO_NOT_EXEC_DATA_POLICY>