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

Allow Components for Static template in AEM 6.5


Level 3

Hi, I have a requirement to allow particular component inside Parsys for Static Template. How can we achieve this?

Whenever we create a page based on that template, it should allow to add that particular component in Parsys in edit mode.

7 Replies


Level 3

Hello @Jagadeesh_Prakash, Thanks for replying. The article you mentioned is more focused on editable template and it does not tell about adding policy to add particular component from parsys.


Level 5

Hi @Shivam153 ,

You should be able to allow components in static template. Just make sure you give the proper resource type path for the component that is being allowed.
So basically, in the apps folder where you have created your static template you should follow the type of structure.



<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="" xmlns:cq="" xmlns:jcr=""
    jcr:description="Template with allowed components."
    jcr:title="Static template"
    allowedPaths="[/content/. *]"
        sling:resourceType="<your structure component path>">


So in the above allowed components are added inside the "jcr:content" . These are the dummy data you can replace it with your actual data.
Hope this helps!


Level 3

@TarunKumar  Thanks for replying. For a single component to add, it will work, but I want to add a parsys and then need to restrict that particular component.


Community Advisor

Hi @Shivam153 


Please check my answer here:


You can add the components in design mode and get the code from /etc.


Hope it helps!

Kiran Vedantam.


Level 4

go on design mode of page, this will allow you to add/remove components for any parsys. design mode can be selected from authoring page and changing it from top right corner


Level 3

Hi All, Thanks for all the response. I have found the solution for it.

Inside design folder, we can define following properties to get component in our responsive grid, By doing that, we don't have to manually add our component in design mode.