Have Questions?  Need Expert Answers?  JOIN LUNCH N' LEARNS!

Add Links to PDF

Prev Next

Step Details

Introduced in Version9.20
Modified in Version---
LocationData > PDF 


The Add Links to PDF step allows a user to add a list of bookmarks to a PDF file.


Properties

Inputs

PropertyDescriptionData Type
LinksA list of a composite object to allow the user to specify a list of links to add to a PDF. This object is comprised of Link Page Number (Int32), X/Y Coordinate (Single), Width/Height(Single), and Target Page Number(Int32).DecisionsFramework.Design.Flow.CoreSteps.PDF.PdfLink(List)
Pdf DocumentPDF file to add the Links toFileData


Outputs

PropertyDescriptionData Type
Done


Pdf Document ResultThe modified PDF FileFile Data



Example

 The following example adds an image to a PDF file using the Add Background to PDF step.

  1. Create a new Flow.
  2. Expand the Data > PDF steps and select the Add Links to PDF step to the workspace.
  3. With the step selected. In the Inputs panel, define the PDF Document and the links you want added to the document.
    For this example, these inputs are set to constant values.
  4. Create and add a Form step.
  5. In the Form Designers Toolbox tab, search for the File Download control. 
  6. In the Properties panel for the control, under the InputType header, select the File Data.
  7. Name the input field using Data Name in the Properties panel. MyPDF is used for the Data Name input.
  8. Add a Button to the Form and close the Form Designer.
  9. Map the Pdf Document Result to the MyPDF field on the Form. 
  10. Connect the Form to the End step.
  11. Debug the Flow. The links that have been added will be applied to the PDF files when viewed the PDF Document
Link View Limitations
The links that you are adding to your PDF document will not be viewable inside of Chrome or Microsoft Edge. To view/use this link you will need to use a different PDF viewer.




Related Information

Forum Posts:
Add A Image To A PDF Within A Flow
Merge Multiple PDFs
How To Turn A Form Into A PDF?