Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

Make AEM template available under Campaigns folder in siteadmin(Classic UI) or localhost:4502/sites.html

Avatar

Level 3

Hello everyone, 

 

I have a project in /apps and there are a couple of templates created under that. Now, I am trying to use those templates in Sites under Campaigns folder. 

 

I have set the allowed path property for the template as /content/campaigns/folder_name(./*)?

 

Can someone please provide pointers here. 

 

6 Replies

Avatar

Community Advisor

@Tanmay137 Is this a campaign specific template ? I was checking how the we-retail has setup campaigns and I could see they are using the same from out of the box. There template is /libs/cq/personalization/templates/campaign and which is allowed only under /libs/cq/personalization/templates/ambit . May be you can check this for any guidance. 

Avatar

Level 3

Hi Veena,

 

Thank you for responding. Yes, we are trying to deliver the that via. campaign. I was able to modify the jcr: content property of Campaigns folder under /content/campaigns to make my template available to use. However, I run into one new issue which is:

 

While create a page under Campaigns using my template. The page is appearing it to be blank(no parsys where I can drag and drop components), even though the template has parsys already in it. Campaign folder issue.png

Avatar

Community Advisor
I am not sure if we can create normal pages under campaigns. Will it be possible for you to create a sample project replicating the same issue and share it with me so that I can debug and try to solve it ?