Mapping Data Fields to External Entities

0
Hi Everyone,   Not sure how to approach this one so asking the experts! In an app I'm building I need to map entity data fields (sometimes over associations) to a specific field name over an API. For example, I might have an entity called Customer, with a field called Name that I need to map to a field in an external system called Client_Name.   The idea here is that I can set up this mapping in another entity (e.g. FieldMap) so that if the names change or I add more it's more flexible in production. I've tried a couple of different ways to approach this like looping through each field in the field map and returning the entity data in the source field but can't quite figure out how I'd retrieve that from the database / entity.   Has anyone done anything similar to this before and how would you tackle it?
asked
1 answers
0

Hi David,

Im not sure if i understand you question,but import mappings and export mapping are there to match external name with the naming you use in your own domain model. See for example https://docs.mendix.com/refguide/export-mappings/

Would that do the trick for you?

 

answered