Is it possible to create a PDF from IPA?
Are you multi tenant or single tenant? Can you provide some more detail about what you're trying to accomplish? Are you trying to generate a PDF from a landmark transaction result set?
The short answer is yes. We're MT and using IDM document templates and then making a web call to create the PDF in IDM. So technically IDM is creating the PDF, but we are using IPA for the whole process (creating our project invoices).
MT. Trying to create a report from results within the IPA and email those in a PDF format. They could use a csv file but the question was brought up and I didn't have the answer so thought I'd ask my Infor Community Family . I would need to get more information on the exact layout and data to be displayed but wanted to ask before saying yes/no. I'm not familiar with IDM so if anyone has an example or documentation on getting started to create a sample file, that would be greatly appreciated.
The documentation for using APIs within IDM is all in there. If you open IDM and then click on the nut icon in the upper right for the settings, that will let you access the documentation and samples under development. We had set up IDM as a backend service in Infor ION API to get the credentials needed for IPA. Then we make a call to 'login' and then a POST call to post the data (the post string would be in the IDM documentation).
We setup templates in IDM. Then we pull the data we need in the IPA flow and create the XML data. Then we encode the XML data for the API call, put the call together and make it via the WebRun node. This creates the file in IDM. You can then access it from there or email it out. IDM file types can be secured by role in the ACL in IDM.
I hope that is helpful!
Did you use the /templates/item endpoint to add the file to IDM? I'm testing out your method and having a little trouble with the "item" parameter in the IPA web run activity. Works fine with the item and data parameter file uploads in the swagger doc test, but the web call in IPA isn't recognizing the "item" parameter:<message>The template could not be populated or the document could not be added.</message><detail>The parameter 'item' must be provided when adding an item.</detail> I've got the boundary set in the multipart/form-data Content-Type header, and the Content-Disposition form data in the Post string text box, but doesn't seem to be parsing the parameter. Any thoughts?