1. Help Center
  2. Document Generation for Mendix

How to Set the Output Type

When generating a document within a microflow, follow these steps to set the output type:

  1. Create the MergeInput Object:

    • Add a "Create object" action for the 'MergeInput' entity.
    • In this action, set the value for the 'Output' attribute to specify the desired output format (e.g., PDF, Word).
  2. Create the Output Object:

    • Add another "Create object" action for the 'Output' entity.
    • Similarly, set the value for the 'Output' attribute in this object to match the intended output format.

Both the 'MergeInput' and 'Output' objects must have their 'Output' attributes correctly configured to ensure the document is generated in the specified format.