8
Views
2
Comments
Solved
How to get the input parameter (Html2PdfConverter)?

I have a button "Download PDF" in the espace "BO". When the user clicks in this link I have a server action "GetPDF" that calls the "GeneratePDF" server action of the "PDF" espace. The link passes a parameter "ID" to pass an ID to the espace "PDF".

In this GeneratePDF server action of the "PDF" espace I have a server action "GenerateFirstPage". This "GenerateFirstPage" has an input parameter "ID" and this action has this flow:

Start
GeneratePDF (HtmlToPdfConverter action)
URL "https://localhost/BO/GenerateFirstPage.aspx"
Timeout 20
Assign
ResultOk = True
ErrorMessage = ""
PDFFile = GeneratePDF.PDFBinary

END


Do you how to get the ID input parameter in the GenerateFirstPage web screen?

Thanks!

Solution

Hi Jake,

I believe that as follows, in the URL -> "https://localhost/BO/GenerateFirstPage.aspx?ID="+InputId 

Regards