Trading Networks 10.7 | Building Services with Trading Networks | Docattr Folder | Summary of Elements in this Folder | wm.tn.docattr:update
 
wm.tn.docattr:update
Updates an existing document attribute.
Input Parameters
attribute
Object The attribute that you want to update. You must specify an attribute that is already defined. The document must be an instance of a subclass of com.wm.app.tn.doc.BizDocAttribute.
Output Parameters
updateCount
String The number of attributes that the service updated. Values indicate:
*1 - The service updated the attribute.
*0 - The service did not update the attribute.
Usage Notes
You can only use this service to update existing attributes. To add a new attribute, use wm.tn.docattr:add. To get a listing of existing attributes that you can update, use wm.tn.docattr:list.