These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Initial View

HLF
Registered: Jan 6 2008
Posts: 21
Answered

How can I change the Initial View of a page in LifeCycle Designer?

My Product Information:
LiveCycle Designer, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
It's true, Acrobat doesn't allow the Initial View properties to be set for a LiveCycle form. At least you can't do it from the User Interface. That's because what constitutes pages in Dynamic LiveCycle forms is fluid. Pages are built on the fly so things like navigation and views are problematic. This doesn't explain why you can't do it for static forms, but there you go.

However, the PDF initial view parameters can set, and will work. But you'd have to write your own plug-in to do it. A much easier way to get the same affect is to use Acrobat JavaScript, which has properties for setting a documents view.

Use any of either of the "Initialize", "FormReady", or "DocReady" events for the top level Form object. Set the initial view using any of the Acrobat JavaScript properties for zoom, zoomType, layout, or the mysterious "viewState".

For Example:

event.target.zoomType = "FitPage";

Sets the initail view to "FitPage"

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

HLF
Registered: Jan 6 2008
Posts: 21
What a marvelous resource. I am very grateful to Thom and others who are so generous with their time.