Export mapping with choices

0
When I make an export mapping of a consumed service with a number of choices in it, the choice elements are default checked (grey check) and also one of the choices is checked by default. However, if I check one of the other choices from the options, then I can turn the default check off again. that means t I have to make separate mappings for all possible options, which means 48 mappings for me. Is there any other method? 
asked
1 answers
0

The export mapping is used to generate a non-persistent entity-tree in your domain model. You can use this model to fill with the data you want to export. I think selecting the maximum number of checks you need would be ok, since you dont have to use all of them, but do need them present in your domain model. You then have only one mapping, but can use whichever fields you need per specific webservice call.

 

Some handy stuff here:

https://docs.mendix.com/refguide/select--elements

https://docs.mendix.com/refguide/xml-inheritance-and-choice

answered