Tray Embedded / Advanced Topics / Data Mapping (Embedded) / User-defined mapping

User-defined mapping

Overview

There may be some cases where it is too restrictive for your End Users to only be able to choose from a pre-configured list of fields.

For example your End Users might be using different MySQL database tables with different field names and you want them to be able to name the fields to be mapped to themselves.

One End User may wish to set up the following mapping:

Service 1Service 2
nameaccount_name
idstripe_id
phonecellphone
emailemail_address

While another may wish to set up the following mapping:

Service 1Service 2
namecustomer_name
idid
phonemobile
emailemail

To do this you can follow the usual procedure for data mapping, as outlined in the Hardcoded Example.

Then, when editing the Config Wizard in the Solution Editor, you can tick the Allow custom values box:

This allows the End User to then manually enter the values they wish