importValue– mapping from external app schema to your app schemaexportValue– mapping from your app schema to external app schema
Why configure field mapping instance
You’d want to have your user configure their field mapping instance if you want to have them control how properties in the external application map to field used by your app.Configuring Instance via Membrane UI
The simplest way to configure a Field Mapping is to use the configuration UI:See more: Field Mapping UI
Creating & Configuring Instance via Membrane SDK
Here is how to use Field Mapping Instances via Membrane SDKCreate
Get
Update
Set up / Refresh
Updates to the base field mapping are automatically applied. If they aren’t, you can use.setup() to manually pull merged updates from the base field mapping.
Reset
This method resets the field mapping instance to its default state, erasing all the tenant configuration.Archive
Multiple Field Mapping Instances per Connection
By default, every pair of Field Mapping and Connection will use the same Field Mapping Instance, which means that mapping values will be shared between them. If you want to use multiple different mapping values for the same pair of Field Mapping + Connection, you should useinstanceKey.
When you apply
instanceKey to a Field Mapping Instance, it will be automatically applied to the elements Field Mapping works with: Data Source, App Data Collection, etc.