TeamcenterKnowledge

Maintenance utilities > Document management

dm_attrexch_xml_validate

Validates the attribute exchange mapping XML configuration format only. If the XML file is valid, it converts the special XML characters (&, <, >, ', ") to XML encodings and breaks up to two thousand chunks separated by a comma (,) and outputs it to a ConvertAttrExchXML.txt file. This converted data can be used for the bulk attribute import utility to update the fnd0InstanceAttrExMappings mapping attribute on the selected dataset. Note This utility is not an XML validator. It only validates attribute exchange mapping XML configuration format. Make sure the input XML file is a valid XML file. Syntax -inputfile=input-xml-file -logpath=current directory -bulkfile=bulk-xml-file -convfile=convert-file -replacetext=replace-text Arguments -inputfile Specifies the full path of the input XML file that contains the attribute exchange mapping XML configuration. -logpath Specifies the log file and output file path (optional). -bulkfile= Specifies the full path of the input file that is generated from attribute_export, for example, BulkAttrOut_1.xml. -convfile= Specifies the full path of the input XML file that contains the attribute exchange mapping XML, for example, ConvertAttrExchXML.txt. -replacetext= Specifies the text that is to be replaced in the bulk file with the text from the converted file, for example, ReplaceMe. -h Displays help for this utility. Environment None. Files None. Restrictions To be run by a DBA user and run in the Teamcenter command prompt. Examples To display help about the dm_attrexch_xml_validate utility, enter the following command on a single line: Copy dm_attrexch_xml_validate -h To find out if the C:\data\attrexch.xml file is valid attribute exchange configuration XML data, generate the ConvertAttrExchXML.txt file by entering the following command on a single line: Copy dm_attrexch_xml_validate –inputfile=C:\data\attrexch.xml Copy –logpath=C:\data

To replace text (-replacetext) in the input C:\Data\BulkAttrOut_1.xml file with the data from the C:\Data\ConvertAttrExchXML.txt input file, generate the RBulkAttrOut_1.xml file by entering the following command on a single line: Copy dm_attrexch_xml_validate -bulkfile=C:\Data\BulkAttrOut_1.xml -convfile=C:\Data\ConvertAttrExchXML.txt  Copy -replacetext=ReplaceMe -logpath=C:\Data

Source: https://docs.sw.siemens.com/documentation/external/PL20251212545240207/en-US/tc_help/utilities_reference/mna1737253705286/hig1737253709068/xid1119588.html · retrieved Fri Jul 31 2026 00:00:00 GMT+0000 (Coordinated Universal Time)