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
SOLVED

Exclude a component from page publication

Avatar

Level 4

Hi,

do you know if it's possible for an Author to exclude a component from page publication? The use case is the following: an author is working on a page, but he has not yet finished the editing of a certain component, while the rest of the page is ready to be published. In this case, the author wants to mark the unfinished component so when the page is published, that component is not published.

Thanks!

1 Accepted Solution

Avatar

Correct answer by
Administrator

There is not OOTB option available for this but there are many ways to achieve this:

1. [workaround] Removing the value for resourceType property of that component from JCR should work

2. Good solution would be, to do it at component development phase. Where we can provide a Checkbox and based on it we can hide the component using CSS/JS code.

~kautuk

View solution in original post

1 Reply

Avatar

Correct answer by
Administrator

There is not OOTB option available for this but there are many ways to achieve this:

1. [workaround] Removing the value for resourceType property of that component from JCR should work

2. Good solution would be, to do it at component development phase. Where we can provide a Checkbox and based on it we can hide the component using CSS/JS code.

~kautuk