Allowed Paths for Templates In AEM_6.3 | Community
Skip to main content
Level 2
Jul 16, 2017 8:12 PM UTC
Solved

Allowed Paths for Templates In AEM_6.3

I have a folder structure inside the content as content/folderlevel1/folderlevel2/...........

I want to allow templates only under folderlevel2, it means user can create pages under folderlevel2.

So I gave allowedpaths for my template as /content/folderlevel1/folderlevel2(/.*)? 

I am able to create a page when I use coral button primary (Create), and if I see the url it is http://localhost:2468/sites.html/content/folderlevel1/folderlevel2 ,I am inside the Folderlevel2 so I am good to create page  and I have no problem with this.

The issue is when I selected folderlevel2, and click on create button (+Create) I am not able to create a page  and if i see the url it is http://localhost:2468/sites.html/content/folderlevel1 , although I selected folderlevel2, i am not inside the folderlevel2. I want to know why this is happening?

Please see the attached pictures for better understanding.

Thanks.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Techaspect_Solu
Techaspect_SoluAccepted solution
Level 7
Jul 18, 2017 10:19 AM UTC

Hi Kishore,

I agree with your statement and able to replicate the issue which you are getting.

Possibly you can raise a daycare ticket and report the issue.

Thanks,

Techaspect Solutions.

5 replies

CT1012
Level 4
Sep 18, 2018 6:59 PM UTC

Has this question been answered? Can i create a page using editable templates directly under content, if yes how to configure it?

Translate
viveksachdeva
New Participant
Jul 27, 2017 8:34 AM UTC

Just an observation.. it happens only level2 is a folder. If I have a page at level 2, then I can created under that hierarchy from both the options mentioned above..

Translate
Techaspect_Solu
Techaspect_SoluAccepted solution
Level 7
Jul 18, 2017 10:19 AM UTC

Hi Kishore,

I agree with your statement and able to replicate the issue which you are getting.

Possibly you can raise a daycare ticket and report the issue.

Thanks,

Techaspect Solutions.

Translate
Level 2
Jul 17, 2017 2:35 PM UTC

Thanks for your Response.

I am not even able to see the option (Page) in drop down when I selected folderlevel2, please have a look at the picture.

Can you please conform there are no templates allowed after content, I mean no template should have allowed path as /content(/.*)?

Why I am saying this is because if you have at least one template allowed after content (/content(/.*)?), then that create page option is getting activated. So please check all of your templates and reply me.

Translate
Techaspect_Solu
Level 7
Jul 17, 2017 11:14 AM UTC

Hi Kishore,

I am able to create a page after selecting the folder using create button (+Create)as you mentioned.

Though the URL is not changing from 'folderlevel1' to 'folderlevel2', the functionality is working as expected and page is getting created with the given allowed path properties at my end.

I think it might be an aem bug as url is not changing even after selecting the folder.

Thanks,

Techaspect Solutions.

Translate