User Tools

Site Tools


share_only_selected_fields

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
share_only_selected_fields [2016/08/08 19:42]
paul
share_only_selected_fields [2016/08/09 11:24] (current)
paul
Line 10: Line 10:
  
 Create a new record in this related list for each field you want to share. ​ The **Add all table fields** button at the top of the related list allows you to quickly add all fields of the table into the related list for cases where you want to share the majority of the table'​s fields and only want to remove a few fields (in which case you would add all fields and then delete the ones from the related list you do not want to share). Create a new record in this related list for each field you want to share. ​ The **Add all table fields** button at the top of the related list allows you to quickly add all fields of the table into the related list for cases where you want to share the majority of the table'​s fields and only want to remove a few fields (in which case you would add all fields and then delete the ones from the related list you do not want to share).
 +
 +<WRAP round info>
 +So as to ensure each record has a unique identifier, the sys_id field will always be included in the XML even if you do not specify it in the related list.
 +</​WRAP>​
  
 In the above example where the state, short_description,​ active and number fields are selected to be shared for the ticket table, the XML sent out for a record would be as follows: In the above example where the state, short_description,​ active and number fields are selected to be shared for the ticket table, the XML sent out for a record would be as follows:
Line 19: Line 23:
     <​state>​1</​state>​     <​state>​1</​state>​
     <​number>​TKT0010002</​number>​     <​number>​TKT0010002</​number>​
 +    <​sys_id>​a05859f80f0d0600276f6d28b1050ea4</​sys_id>​
 </​ticket>​ </​ticket>​
 </​code>​ </​code>​
Line 34: Line 39:
     <​dv_state>​Open</​dv_state>​     <​dv_state>​Open</​dv_state>​
     <​number>​TKT0010001</​number>​     <​number>​TKT0010001</​number>​
 +    <​sys_id>​a05859f80f0d0600276f6d28b1050ea4</​sys_id>​
 </​ticket>​ </​ticket>​
 </​code>​ </​code>​
share_only_selected_fields.txt ยท Last modified: 2016/08/09 11:24 by paul