Expand my Community achievements bar.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

Restrict component in parsys AEM 6.4

Avatar

Level 3

Hi Everybody,

I have a component that I need configure in your htl file a parsys.

I was using this code bellow in htl file.

<sly data-sly-resource="${ @ resourceType='wcm/foundation/components/parsys'}"></sly>

So I want that in the parsys the user can only add specific components.

Anyone can help me how can I do?

Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 10

To restrict component use in AEM 6.4 - you should be using policies on the Layout Container of an editable template. This will control which components that an author can use in a given AEM web page.

This reflects best practice

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

To restrict component use in AEM 6.4 - you should be using policies on the Layout Container of an editable template. This will control which components that an author can use in a given AEM web page.

This reflects best practice