Mapping Choice Fields

Learn how to map choice (also known as Option Set) ffields within KeyNamics.

For option set or choice field types the displayed text value is used to identity the entry within the list. Consider the following choice field as defined on your entity table within Dynamics 365...

To ensure "Item 1" is selected when Keyfax compeltes you would need to return the text "Item 1" within the Keyfax results and map this to the relavent choice field on the entity form. To return this value from your Keyfax script you could use a fixed text databox as shown below...

You can then write a value from this fixed text databox to the desired export XML element via a databox write within a Keyfax script as sown below...

The KeyNamics "RECEIVE" mapping to actually map the returned Keyfax value to the choice field on the entity form would look like so (note in this example keyfax_receive_optionset is the logical name for the field however this will differ for your mapping)...

With the mapping in place if the Nominal_Code element returns "Item 1" then the targeted choice form field will be updated to "Item 1" upon Keyfax completion as shown below...

Last updated