Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 82553

Dynamically map an object to an XML element using export mapping

$
0
0

Coverages and their attributes are stored within the application domain model in normalized entities. This allows for the application to be very flexible. Within the CoverageAttributes entity there are over 300 unique attributes that can be displayed to the user.

An XML data extract is built as a snapshot of the data at various points in the user’s workflow. The XML schema for the snapshot has the coverage attributes as specific elements in the schema.

The problem that I am having is mapping the CoverageAttribute object to the corresponding element using export mapping. For example, IRPM is the specific element that is defined in the schema and is the first attribute in the CoverageAttributes entity above. Within the application, the IRPM coverage attribute is in the CoverageAttributes entity with a Code of IRPM and a value associated to it. We would like to be able to dynamically generate the mapping to a static attribute.

 

Questions

1. Is there a way to have a generic entity that would be able to dynamically map to an attribute to be exported?

2. Are we able to map an object to an attribute using a microflow?

3. Are there other ways to create an export a XML?


Viewing all articles
Browse latest Browse all 82553

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>