Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Admin Folder | Summary of Elements in this Folder | wm.tn.admin:exportData
 
wm.tn.admin:exportData
Exports data from the Trading Networks database.
Input Parameters
attribs
String (optional) Indicates whether to export document attributes. Valid values are:
*true - Export document attributes.
*false - Do not export document attributes.
types
String (optional) Indicates whether to export TN document types. Valid values are:
*true - Export TN document types.
*false - Do not export TN document types.
rules
String (optional) Indicates whether to export processing rules. Valid values are:
*true - Export processing rules.
*false - Do not export processing rules.
flddefs
String (optional) Indicates whether to export profile field definitions. Valid values are:
*true - Export profile field definitions.
*false - Do not export profile field definitions.
profile
String (optional) Indicates whether to export partner profiles. Valid values are:
*true - Export partner profiles.
*false - Do not export partner profiles.
lookups
String (optional) Indicates whether to export profile lookup data: ID types, contact types, and binary types. Valid values are:
*true - Export lookup data.
*false - Do not export lookup data.
tpas
String (optional) Indicates whether to export Trading Partner Agreements (TPAs). Valid values are:
*true - Export TPAs.
*false - Do not export TPAs.
extflds
String (optional) Indicates whether to export the extended fields. Valid values are:
*true - Export extended fields.
*false - Do not export extended fields.
securityData
String (optional) Indicates whether to export security data. Valid values are:
*true - Export security data.
*false - Do not export security data.
queues
String (optional) Indicates whether to export queues. Valid values are:
*true - Export queues.
*false - Do not export queues.
dls
String (optional) Indicates whether to export data permissions. Valid values are:
*true - Export data permissions.
*false - Do not export data permissions.
fp
String (optional) Indicates whether to export general functional permissions. Valid values are:
*true - Export general functional permissions.
*false - Do not export general functional permissions.
archSvcs
String (optional) Indicates whether to export archived services. Valid values are:
*true - Export archived services.
*false - Do not export archived services.
all
String (optional) Indicates whether to export all the Trading Networks objects. Valid values are:
*true - Exports attributes, document types, processing rules, profile field definitions, partner profiles, ID types, contact types, binary types, TPAs, extended fields, security data, queues, DLS, functional permissions, and archived services.
*false - Do not export all Trading Networks objects. Export only the objects selected.
Output Parameters
data
Document An IS document (IData object) that contains the exported data. The document contains the following keys:
*version Document Version information from the Trading Networks database. The document contains the following keys.
*major String The major Trading Networks release number.
*minor String The minor Trading Networks release number.
*attribs Document A set of attributes. For each attribute, the key is the attributeId in a string and the value is a com.wm.app.tn.doc.BizDocAttribute.
*types Document A set of TN document types. For each type, the key is the bizdocTypeId in a string and the value is a com.wm.app.tn.doc.BizDocType.
*rules Object A com.wm.app.tn.route.RoutingRuleList. This is the complete set of processing rules for Trading Networks.
*fldgrps Document A set of field groups. For each field group, the key is the group description in a string and the value is the group code in a short.
*flddefs Object A java.util.Vector. Each field definition is a com.wm.app.tn.profile.ProfileFieldMetaData.
*profiles Object A java.util.Vector. Each profile is a com.wm.app.tn.profile.Profile.
*lookups Object A set of lookup data: profile groups, ID types, contact types, and binary types.
*profileGroups Object A set of profile groups.
*extflds Object A set of extended fields.
*securityData Object A set of security data.
*queues Object A set of queues.
*dls Object A set of data level securities.
*fp Object A set of functional permissions.
*archSvcs Object A set of archived services.
*idTypes Document A set of ID types. For each ID type, the key is the type description in a string and the value is the type code in an integer.
*contactTypes Document A set of contact types. For each contact type, the key is the type description in a string and the value is the type code in an integer.
*binaryTypes Document A set of binary types. For each binary type, the key is the type description in a string and the value is the type code in an integer.
*tpas Object A java.util.Vector where each element in the Vector is a Trading Partner Agreement (TPA). Each TPA is a com.wm.app.tn.tpa.TPA.
*dependency Document A set of dependent assets of exported data.
Usage Notes
*Use the wm.tn.admin:exportData and wm.tn.admin:importData services to transfer data from one Trading Networks database to another. You cannot transfer all data in the database using these services. To transfer all data, use the appropriate database vendor-supplied utility. The wm.tn.admin:exportData and wm.tn.admin:importData services are useful for copying configuration data, such as, TN document types, attributes, processing rules, and profile field definitions. You cannot use the services to copy operational data, such as, document instances and activity log entries.
*The wm.tn.admin:exportData and wm.tn.admin:importData services are intended to be used together. The structure of the data output from wm.tn.admin:exportData service matches the structure of the data input variable for wm.tn.admin:importData service.