Trading Networks 10.7 | Building Services with Trading Networks | Docattr Folder | Summary of Elements in this Folder | wm.tn.docattr:setPersist
 
wm.tn.docattr:setPersist
Sets whether to save a custom attribute to the database.
Input Parameters
attributeId
String The internal unique identifier of the attribute.
persist
String Whether Trading Networks saves the attribute. Valid values are:
*true - Save the attribute.
*false - Do not save the attribute.
Output Parameters
updateCount
String The status of the operation. Valid values are:
*1 - The service set the persist property on the attribute.
*0 - The service did not set the persist property on the attribute.