Split pages of a PDF document

This example pipeline demonstrates how to split pages of a single PDF document into a new PDF document that has only the pages specified.

  1. Configure the File Reader Snap to read a PDF document.

    On validation, the Snap displays the data.

    File Reader Snap Configuration File Reader Snap Output

    File Reader Snap Configuration


    File Reader Snap Output

  2. Configure the PDF Splitter Snap to split the input document as specified in the Snap Settings.
    Note:

    This example will take the following pages and create four separate PDF documents from them: 2, 5-7, 11, 15-17

    On validation, the Snap displays the unlocked PDF document.

    PDF Splitter Snap Configuration PDF Splitter Snap Output

    PDF Splitter Snap Configuration


    PDF Splitter Snap Output

  3. Configure the File Writer Snap to write the PDF document, MySplitFile.pdf

    On validation, the Snap displays the output.

    File Writer Snap Configuration File Writer Snap Output

    File Writer Snap Configuration


    File Writer Snap Output

To successfully reuse pipelines:
  1. Download and import the pipeline into SnapLogic.
  2. Configure Snap accounts as applicable.
  3. Provide pipeline parameters as applicable.