I’m on the way to create an action button script for generating a pdf of my invoice entity.
So the steps are :
- get invoice lines related to the currentEntity > ok
- post an http request to pdfMonkey with the data > ok
- get back the download url > ok
- create a file entity in fibery from this url > TODO
- attach the file to the invoice > TODO
I saw in the API guide how to upload a file but I don’t know how to use it in an action button script.
Once done, I could provide the script, since I think, it could be helpful for many.
Thanks for your help