2.3.5.1.1.1.2 scripted-mapping
For scripted-mapping, the src-attribute elements specify the connector space attributes that are used to populate the destination attribute specified in the mv-attribute in the parent import-flows element. The connector space attributes are passed to a rules extension, along with the value of the script-context element, and the script determines the resulting value to populate the destination metaverse attribute.
An example of this XML element is:
-
<scripted-mapping> <src-attribute>attributename</src-attribute> <src-attribute>attributename</src-attribute> <src-attribute intrinsic="true">object-id</src-attribute> <script-context>context string</script-context> </scripted-mapping>