Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Docattr Folder | Summary of Elements in this Folder | wm.tn.docattr:add
 
wm.tn.docattr:add
Adds a new document attribute.
Input Parameters
attribute
Object The document attribute to add. 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 added. Values indicate:
*1 - The service added the attribute.
*0 - The service did not add the attribute.