Skip to main content

I need to generate multiple PDFs from values taken from multiselect control.

For example: I have multiselect control having values..1;2;3 which I have selected.

Now my requirement is to generate PDF for each value and then attach them in email sent via workflow.

Please let me know if this is possible in K2 

Hello  @PM1, 


 


To do something like this, you should be able to pass that delimited list into a workflow to create PDF's. In the workflow you could loop over the list and generate a PDF for each using one of the methods form the PDF Converter SmartObject and create another list of the ID values for the PDF's that were created. Then once the loop is complete, you could use the new list of PDF ID values in an email step using the Load method from the PDF File SmartObject to attach the PDF files. Note that this setup will only allow for a set maximum number of selections as you will need to use inline functions to break apart the list of PDF ID values and feed them into SmartObject calls. 


 


Regards, 


Samuel 


Reply