Exclude a component from page publication | Community
Skip to main content
Level 4
Dec 6, 2017 7:46 AM UTC
Solved

Exclude a component from page publication

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!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
kautuk_sahni
kautuk_sahniAccepted solution
Employee
Dec 6, 2017 9:46 AM UTC

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

Kautuk Sahni

1 reply

kautuk_sahni
kautuk_sahniAccepted solution
Employee
Dec 6, 2017 9:46 AM UTC

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

Translate
Kautuk Sahni