Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Show or hide an entire page using Scripting

Avatar

Not applicable
Hi All,

I am new to the life cycle designer.

Can any one tell me how to show or hide and entire page using the scripting. I want some pages to appear or disappear based on their selections on the form.



Thanks,

Vikram.
5 Replies

Avatar

Level 10
Set the page presence property to hidden. The form must be dynamic for this to work

Avatar

Not applicable
Hi Paul,

Thanks for the response.

it works i was trying to do it with master pages and could not find the hidden answer. it works now.



Thanks,

Vikram

Avatar

Not applicable
Is there an example on how to do this somewhere?

Avatar

Not applicable
Paul,



A similar question, is there a way to have a total of 5 pages, on the first page you simply have a header (master page) and (4) possible selections - if you choose selection #1, only page one is shown, if you select #1 and #2, then pages one and two show, and so forth? Can this be done with some scripting as well? If so, can I get a suggestion on how to do this?



keith.reim@chlsystems.com

Avatar

Level 10
Yes .....simply set the presence property of the page to hidden or visible to hide and show the appropriate page. All objects below the page level will adopt the property of its parent.

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now