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.
SOLVED

ERROR - Can't create a Page In custom site

Avatar

Level 3

I created a custom site but i am not able to create a page from this site, unless i create ir by crxlite, but i am not able to see components in those pages. Can anyone guide me what should i do

 

Captura de pantalla de 2023-10-02 15-58-32.pngCaptura de pantalla de 2023-10-02 15-58-24.pngCaptura de pantalla de 2023-10-02 15-58-12.pngCaptura de pantalla de 2023-10-02 15-57-56.png

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @agustinafernandez 

I can see a trailing comma probably due to which its not picking the allowed templates config . We don't have to explicitly add comma separators.

 

Could you please remove the same and try

 

sherinregi_0-1696305562835.png

 

Hope it helps

View solution in original post

7 Replies

Avatar

Community Advisor

Hello again @agustinafernandez,

Could you please verify if any templates are enabled by accessing this URL?
http://localhost:4502/libs/wcm/core/content/sites/templates.html/conf/imp

Please ensure that at least 1 template is in the "Enabled" status.

Screenshot 2023-10-03 at 2.46.19 AM.png

Avatar

Community Advisor

You may need to add a new property "sling:configRef" with the value "/conf/imp" to the /content/improntus/jcr:content node.

Avatar

Correct answer by
Community Advisor

Hi @agustinafernandez 

I can see a trailing comma probably due to which its not picking the allowed templates config . We don't have to explicitly add comma separators.

 

Could you please remove the same and try

 

sherinregi_0-1696305562835.png

 

Hope it helps

Avatar

Level 3

hi @sherinregi is what you mentioned, but i ad to delete the line of cq:allowedTemplates that i created in the "admin" and create a new one in the crxlite

Avatar

Level 3

the only problem now that i have is that i can't add components in my page or edit them, but i was able to create the page

Avatar

Administrator

@agustinafernandez Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.



Kautuk Sahni