No Template coming when clicking on create page | Community
Skip to main content
ranadyutis95334
Level 3
December 23, 2015
Solved

No Template coming when clicking on create page

  • December 23, 2015
  • 4 replies
  • 1133 views

Hi Have created a bundle using

https://helpx.adobe.com/experience-manager/using/developing-aem-osgi-bundles-jackrabbit.html

 

everythign is fine, but at last step when i try to create a page and choose template. No templates are being shown.

I can see templates section as grayed out. Please help.

I have attached screenshot.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by edubey

Make sure you have set allowedPaths in template with value /content(/.*)?

As mentioned in point 5 of create a template section, in the above link you pointed.

Documentation

4 replies

GK-007
Level 9
December 23, 2015

Are you seeing any error in the error.log and also make sure you are referring correct component path and allowed path value on template node.

Thanks,

Kishore

kautuk_sahni
Community Manager
Community Manager
December 24, 2015

This article is for  Adobe CQ 5.5 and Adobe CQ 5.6. Please check you the AEM version. 

For AEM 6+

Use this article for reference :- https://helpx.adobe.com/experience-manager/using/using-query-builder-servlet.html (QueryBuilder API)

I hope this would help you.

Thanks and Regards

Kautuk Sahni

Kautuk Sahni
edubey
edubeyAccepted solution
Level 10
December 24, 2015

Make sure you have set allowedPaths in template with value /content(/.*)?

As mentioned in point 5 of create a template section, in the above link you pointed.

Documentation

au4liferz
Level 4
December 25, 2015

Most of the time when I've had that issue, I have to go back and check every step ensuring that I don't have a typo, or that I've misspelled a property that I was supposed to add etc. One extra space, or a missing period in a regex, and the template won't show. If you've verified that you're using the correct version, and go back over it carefully, you'll probably catch the mistake. Another thing you may have to do is to get another helpx article that involves creating a template and page, (which most of them do), and follow the steps in it. Sometimes, specific helpx articles leave out CRITICAL steps, (e.g. adding a dialog so that sidekick will show up etc.), and if you only use one helpx article, you could spend days trouble-shooting. I've found it useful to just use another source to find out how to do the same thing you're trying to accomplish, and it will sometimes have the missing step included there, (sort of super-setting the instructions).

If all else fails and none of the prior suggestions work, take a working version of a template from another component that you've built, copy and paste it below the new component, and then go and change all of the names and properties etc. to match the article.