Volodymyr
Volodymyr

Reputation: 57

Component may be added only to a specific page(in specific parsys)

I have homepage(has parsys) and contentpage(has parsys). I have a SimpleTextComponent component. I want to this component be used only in page contentpage(only in contentpage parsys). How can I do that? (It is also advisable not to show a component in the Sidekick for other pages, only contentpage.)

Upvotes: 0

Views: 350

Answers (1)

Shawn
Shawn

Reputation: 9402

You can set this in Design Mode. When you edit the template that is used for your contentpage, you can change the parsys on that template to allow the use of your SimpleTextComponent. You govern which components are available on a template-by-template basis, so as long as other pages use different templates you will be able to configure those templates differently.

This article outlines how to use Design mode to set which components are available. This page has a tutorial.

Also see Restrict the components in AEM 5.6.1.

Upvotes: 2

Related Questions