Optional mapping elements in import mappings - Mendix Forum

Optional mapping elements in import mappings

0

In the export mapping documentation (https://docs.mendix.com/refguide/export-mappings#optional-mapping-elements-a-name-optional-a), there is mention that certain elements can be left unmapped. This is useful as it reduces the clutter in the domain model.

When trying to map the same structure into an import mapping, however, I get a "No entity selected" error. The corresponding section in the documentation for import mappings (https://docs.mendix.com/refguide/import-mappings) has no mention of optional mapping elements.

Does anyone know why there is this difference between import and export mappings?

 

(My Modeler version is actually 7.21.0, but this appears to me missing from the list!?)

asked
1 answers
0

Hi Olly, 

If you want some elements to not be mapped in your import mapping you could do this with the ‘select elements’ option within your import mapping. By not selecting a element in this view, it is left out from the import mapping and you do not need to select an entity.

This however, can only be done if the element is optional from your xml schema/wsdl.  

answered