Skip to main content
New Participant
January 18, 2019
Answered

Is it possible to hide pages in an existing pdf document?

  • January 18, 2019
  • 3 replies
  • 55950 views

From Indesign I would like to generate a pdf-file to be distributed to a group of representative (they will be using the pdf file for presentations).
Now I would like my users to be able to hide selected (individual) pages in the file - without having Acrobat Pro to organise pages. Like in powerpoint where you can choose to hide a page and then un-hide it later on for a different purpose.
Is this possible in the pdf format (and preferably from Acrobat Reader)?

Correct answer gkaiseril

With recent versions of Reader and a properly set up PDF.

One needs to create hidden PDF templates from a PDF page using Acrobat and then provide some trigger like a button or bookmark to run JavaScript code to spawn the page or create a visible copy of the hidden template and then to hide one needs to provide a button or bookmark to delete the spawned page. This is not a beginners project.

3 replies

jane-e
Community Expert
Community Expert
March 26, 2020

Hi

Here is a second option, in case it works for you. While Reader can't hide or show Pages, it can hide and show Layers.

To do this:

  • In your InDesign file, create a new layer for each page and move the objects to that layer
    (Will this work for your file?)
  • Export to PDF using Acrobat 6 or later. Enable the Use Layers checkbox.
  • The Layer tab will show up automatically in Reader and Layers can be hidden/shown
  • Further functionality can be set up in Acrobat Pro, such as which Layers are visible on opening. Hiding a layer does not make it hidden on open — setting it to hidden in the Options menu will do this.
  • In Acrobat Pro, you can also create buttons to show/hide Layer visibilty

 

If step 1 works for you and you need more info on any of the steps, then ask again. If step 1 won't work for your document, then the other steps don't need detailed instructions, so let us know.

 

~ Jane

 

sarahm23500858
Participating Frequently
January 29, 2020

Can you explain how to do this? I have a situation that I need to use this functionality.

try67
Community Expert
Community Expert
January 29, 2020

This is a bit complicated to explain, but basically pages in a PDF file can be converted to something called a Template.

Templates can be made hidden or visible, and can be used to spawn pages. However, Reader can't do the former, only the latter. So the way to make pages appear or disappear in Reader is to create a Template object, hide it and set up a button (or something similar) to spawn pages from it when you want to show them, and then delete them when you want to hide them. All of the above requires using Acrobat Pro and some scripting know-how.

Inspiring
March 26, 2020

try67, you helped me today on an earlier question, and here you are on another relevant discussion to my situation. I have created a document that has template pages with a button to spawn them and a button to delete spawned pages. It all works fine in my tests in Acrobat and I'm real pleased (thank you again for your help).  

 

I outputted a copy that is Reader-enabled, and when I tested it in Reader, I cannot spawn pages. I did hide the template pages in the back so only the "originals" are showing.

 

Your above comment says that it does work in Reader. Everything you said above is what I did and it works fine in Acrobat, but not in Reader. Is there a setting other than the Save as Other >  Reader Extended PDF > Enable More Tools....  option that is needed. You answered a couple months ago so I know you're dealing with the latest versions of the apps.

try67
Community Expert
Community Expert
January 18, 2019

Reader can't show or hide pages. The closest to it that it can do is spawn or delete pages from a Template object.

New Participant
January 18, 2019

Thank you try67,

I'm not sure I understand you completely. Can you elaborate? Is this functions within Adobe Reader?

gkaiserilCorrect answer
Inspiring
January 19, 2019

With recent versions of Reader and a properly set up PDF.

One needs to create hidden PDF templates from a PDF page using Acrobat and then provide some trigger like a button or bookmark to run JavaScript code to spawn the page or create a visible copy of the hidden template and then to hide one needs to provide a button or bookmark to delete the spawned page. This is not a beginners project.