Hi Jacco,
In the microflow that is invoked by the button, you need the following:
If wanted: a Download File activity that downloads the created document or (when possible) shows the document in the browser
When you now use the button, the document will be created.
Thanks !! This works perfect.
I created a custom button with a microflow on a form holding different documents. In the microflow:
This Generate document function works great.