Document Generation MF - Cannot Select File?

0
I created the MicroFlow as documented, but when I get to the Document Generation action, I am unable to select the variable as as “File”. The dropdown is just blank. As documented, I am: Create Object (Application) No Commit, No Refresh Retrieve User: By Association Retrieve Language (By User Association)  (These steps look like they may not be neccesary, as this is a setting now?) Generate Document – File (Cannot Select), Variable System.Language, .PDF, {doc template} Any help would be appreciated. Image of MF: https://prot0vision-my.sharepoint.com/:i:/g/personal/matthew_smith_rapideo_com/EVD44h7BrOtDkzhNC6rxSZoBarpC0rh4vwcZqXnfhwO29Q?e=wpkWMF  
asked
3 answers
0

The Application object needs to be a generalization of 'FileDocument'. I think that is the problem here. Open the object and select generalisation to filedocument. 

If you don't need different languages in your document, then it's not needed to specify the language for the user that is invoking the microflow. You could also use system default in the doc settings. 

 

Good luck! 

answered
0

Take a look at this how to: https://docs.mendix.com/refguide7/how-to-create-your-own-documents

That’ll help you understanding the filedocument enitity and how to use it.

answered
0

Thank you both for your clarification and explanation. Once I associated the generalized the application to “FileDocument”, the MicroFlow worked as intended. Thanks again!

answered