Closed ymark closed 8 years ago
Before performing the required modification for supporting the enhancement it is necessary to update the X3ML XSD. A new ticket will be opened for that.
The new functionality is now supported using variables of global scopes. These new variables are valid within different mappings (in a single run).
They are declared in the same way with the ordinary variables (within entity elements) with the name "global_variable". The following block shows their declaration/usage in the mappings file
<entity global_variable="gv1">
<type>crm:E57_Material</type>
<instance_generator name="UUID">
<arg name="text">text()</arg>
</instance_generator>
</entity>
Enhance X3ML for supporting different scopes for variables. Currently variables are valid within a single element. The first enhancement will be to support global variables (that will be exploited for all the mappings)