Exclude a component from page publication | Community
Skip to main content
New Participant
December 6, 2017
Solved

Exclude a component from page publication

  • December 6, 2017
  • 1 reply
  • 1436 views

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.
Best answer by kautuk_sahni

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

1 reply

kautuk_sahni
kautuk_sahniAccepted solution
Employee
December 6, 2017

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