ERROR - Can't create a Page In custom site | Community
Skip to main content
Level 2
October 2, 2023
Solved

ERROR - Can't create a Page In custom site

  • October 2, 2023
  • 3 replies
  • 1422 views

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

 

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 sherinregi-1

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

 

 

Hope it helps

3 replies

Mahedi_Sabuj
Community Advisor
Community Advisor
October 2, 2023

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.

Mahedi Sabuj
Level 2
October 3, 2023

Yes both templates that i created are enabled

Mahedi_Sabuj
Community Advisor
Community Advisor
October 3, 2023

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

Mahedi Sabuj
sherinregi-1
Community Advisor
sherinregi-1Community AdvisorAccepted solution
Community Advisor
October 3, 2023

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

 

 

Hope it helps

Level 2
October 5, 2023

hi @sherinregi-1 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

kautuk_sahni
Community Manager
Community Manager
October 4, 2023

@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