Trading Networks 10.7 | Building Services with Trading Networks | Docattr Folder | Summary of Elements in this Folder | wm.tn.docattr:disable
 
wm.tn.docattr:disable
Disables an existing document attribute.
Input Parameters
attributeId
String The internal unique identifier of the attribute to disable.
Output Parameters
updateCount
String The number of attributes that the service disabled. The following values indicate:
*1 - The service disabled the attribute.
*0 - The service did not disable the attribute.
Usage Notes
Trading Networks does not remove disabled document attributes from the Trading Networks database. Trading Networks does not use the attributes during document recognition. For example, disabled document attributes remain defined in TN document types that reference them. However, Trading Networks does not extract information for disabled attributes. If processing rules use the reference disabled custom attributes in the extended criteria, Trading Networks will be unable to obtain the value of the attribute from the document to match it against the value specified in the processing rule criteria.