Skip to main content


 

Symptoms

 


I have a form that is being converted to a PDF via the Save as PDF control. I would like users to be able to see this PDF in a subview after the PDF is created.
 

 

Diagnoses

 


This can be done by passing the ID returned by the Save as PDF control into the subview.
 

 

Resolution 

 - Add the Save as PDF control to the smartform and create a button to Create the PDF using the

 

   Save as PDF's Save PDF method.

 

 - Create a view from the smartobject that is holding all of the PDFs.

 

 - Call the Open a subview and execute a method rule. Execute the Load method for this view as well.

 

   We need to pass the ID of the PDF into here.

 

- Simply drag the Save as PDF control under controls for the Form into the input mappings.

 

 

 

This will pass the ID of the newly created PDF into the subview and load up the newly created PDF.

 

 

 

 



 

This will only load the record information about the PDF stored in the DB though, or am I missing something? how is the opening of the actual PDF file achieved?


Reply