Creating a pdf document

Hi Team,   I am publishing a rest service (POST) where I would receive content of a document as one of the parameters in my request JSON body. Using this content I need to create a pdf and send it to another system for further processing.   How to implement this requirement. I tried using Generate Document activity, but I could not pass the Content variable to it. Can some one help me how to achieve this.   Thanks
1 answers

Hi Ajay,


if you map the JSON to mendix entities / objects, you can create a page with the layout you desire.

After that you can create a PDF of the page with this and return it to the user.