Extending : Client State Extension : Enabling the extended State in Transaction Editor : Creating configuration file for mapping rules
  
Creating configuration file for mapping rules
In most scenarios, alpha developers need to inject some extra generation rules into Transaction Editor.
1 To fulfill this requirement, firstly alpha developers need to create a xml file in the plug-in project to define the mapping rules. There are two kinds of tags commonly used in rules definition:
tag-mapping. This tag is used to indicate the conversion rules between the tags used in transaction file (the value of attribute ‘from’) and the ones in the generated xml file (the value of attribute ‘to’).
property-mapping. This tag is used to indicate the conversion rule between the attributes in transaction file (the value of attribute ‘from’) and the ones in the generated xml file (the value of attribute ‘to’).
This graphic is described in the surrounding text.
2 Especially, alpha developers could assign a more complex property generation rule with the attribute ‘rule’, which references with a piece of program logic. UDTT has provided several rule implementations and developers can also implement and register their own property generation rules. For more information, see Processor editor extension.
Go up to
Enabling the extended State in Transaction Editor