Defining a context variable
-
From the Contexts tab, click the
[+] button to add one variable and name
it exchangeMessage. -
Fill in the variable value in the Value
field.Note that the XML record must conform to a particular schema. For more
information about the schema, see the description of processes and schemas
used in MDM processes to call Jobs in
Talend Studio User
Guide.One sample of XML record from the Update Report is as
follows:12345678910111213141516<exchange xmlns:mdm="java:com.amalto.core.plugin.base.xslt.MdmExtension"><report><Update><UserName>administrator</UserName><Source>genericUI</Source><TimeInMillis>1381486872930</TimeInMillis><OperationType>ACTION</OperationType><RevisionID>null</RevisionID><DataCluster>Product</DataCluster><DataModel>Product</DataModel><Concept>Product</Concept><Key>2</Key></Update></report><item><Product><Id>001</Id><Name>Computer</Name><Description>Laptop series</Description><Availability>true</Availability><Price>400</Price><OnlineStore>TalendShop@@http://www.cafepress.com/Talend.2</OnlineStore><Stores><Store>[Dell]</Store><Store>[Lenovo]</Store></Stores></Product></item></exchange>In this example, the XML record is trimmed like
this:1<exchange><report/><item><Product><Id>001</Id><Name>Computer</Name><Description>Laptop series</Description><Availability>true</Availability><Price>400</Price><OnlineStore>TalendShop@@http://www.cafepress.com/Talend.2</OnlineStore><Stores><Store>[Dell]</Store><Store>[Lenovo]</Store></Stores></Product></item></exchange> - Press Ctrl+S to save your changes.
Document get from Talend https://help.talend.com
Thank you for watching.
Subscribe
Login
0 Comments