ERROR - Can't create a Page In custom site | Community
Skip to main content
Level 2
Oct 2, 2023 6:58 PM UTC
Solved

ERROR - Can't create a Page In custom site

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.
sherinregi-1
sherinregi-1Accepted solution
New Participant
Oct 3, 2023 4:00 AM UTC

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

7 replies

kautuk_sahni
Employee
Oct 4, 2023 7:42 AM UTC

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

Translate
Kautuk Sahni
sherinregi-1
sherinregi-1Accepted solution
New Participant
Oct 3, 2023 4:00 AM UTC

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

Translate
Level 2
Oct 5, 2023 12:48 PM UTC

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

Translate
Mahedi_Sabuj
New Participant
Oct 2, 2023 8:51 PM UTC

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.

Translate
Mahedi Sabuj
Level 2
Oct 3, 2023 2:46 AM UTC

Yes both templates that i created are enabled

Translate
Mahedi_Sabuj
New Participant
Oct 3, 2023 4:20 AM UTC

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

Translate
Mahedi Sabuj