Old Format - Example for changing attribute values
- Information to be processed:
We take the following example below:
- A document to be updated whose identifier is: "A_001.sldasm »
- The attributes to be updated are :
- Attribute: "Designation "/ New value: "Proto Machine »
- Attribute: "Supplier "/ New value: "VISIATIV »
- A document to be updated whose identifier is: "P_120.sldprt»
- The attribute to be updated is :
- Attribute: "Supplier "/ New value: "VISIATIV »
- Received file to be processed by the interface:
Sample file received from ERP - XML format :
<?xml version="1.0" encoding="utf-8" ?>
< PDM_GATEWAY>
< PDM_GATEWAY_ACTION name="Type" value="Import_Attributs" />
<PRODUCTS>
<PRODUCT>
<FIELD name="Name" value="A_001.sldasm" />
<FIELD name="CONFIG" value="Default" />
<FIELD name="Designation" value="Proto Machine" />
<FIELD name="Supplier" value="VISIATIV" />
</PRODUCT>
<PRODUCT>
<FIELD name="Name" value="P_120.sldprt" />
<FIELD name="Supplier" value="VISIATIV" />
</PRODUCT>
</PRODUCTS>
</ PDM_GATEWAY>
Note: This file can contain the update of several attributes for a given document, and/or several documents to be processed .