The available parameters for the microflow depend on the selection mode for the template/data grid. To pass multiple objects as a list the selection mode should be Multi-selection or Simple multi-selection
Berhhard,
In the microflow, you’ll have a list of objects. Create a document template with a datagrid in it. When you use the document template in a microflow, you’ll be able to pass in the list of objects.
For more information, this documentation is a good place to start:
https://docs.mendix.com/refguide/document-templates
https://docs.mendix.com/refguide/creating-your-own-documents
Hope that helps,
Mike
***EDIT***
If I have this document template with a datagrid in it
I can use that template to generate a PDF document like this:
I have highlighted the list of objects that is passed into the microflow, and how to pass that list of objects into the document template in the Generate document action
Hi Mike,
Thank you for your support. I read the Mendix documents carefully and invested all day to solve the problem - unfortunately without success.
For the Microflow I have a data list from an entity (I call A) as input, for A I have a DocEntity (System.FileDocument) (I call B). To generate the PDF document I need a copy of the data list from A to B. And that is exactly the point where I have no solution.
Do I have to create a custom activity or how can it copy the data from A to B in a microflow? What did I miss ???
The generation of a data view PDF document works, only the data grid (data list) drives me to despair!
I'm grateful for any help.
Best regards,
Bernhard
Hi Mike,
Thank you very much - I wouldn't have thought of that!
I deleted the Entity System.FileDocument in the Domain Model, right?
Unfortunately, it doesn't quite work yet ... I get a runtime error - is the microflow correct?
But it will be ... in the end!
Best wishes,
Bernhard