Expand my Community achievements bar.

SOLVED

Very simple template and a component

Avatar

Level 8

Hi All,

 

I created a very simple template and a component.

 

1. When I am creating a page selecting this template, screen becomes blank. Kindly examine the attached package once and suggest. 

 

2. Also, I set allowedPaths of template to /content(/.*)?.

This template is available only at http://localhost:4502/sites.html/content.

How to make it available in this path and also all sites underneath it like "We Retail" and "WKND" ?

 

Highly appreciate all your replies.

 

Thanks,

Rama.

1 Accepted Solution

Avatar

Correct answer by
Level 8

Got resolution to my problem.

 

I deleted "/" before sling:resourceSuperType property of component and sling:resourceType property of template and it worked.

 

This question could be closed.

 

Thanks,

RK.

View solution in original post

6 Replies

Avatar

Level 4

Hi @nsvsrk ,

By the way, i don't see any attachment.

 

Thanks,

Raju.

Avatar

Level 8

Hi,

 

Nothing in error.log.

 

PFA the package.

 

I attached it first time also, but it was lost somehow.

 

It is the simplest of the packages with just one template, one component to display "Hello World".

 

Thanks,

RK.

 

Avatar

Community Advisor

@nsvsrk 

 

We are unable to access the package. Please share the logs

 


Aanchal Sikka

Avatar

Level 8

Hi,

 

Attaching package again and also logs zip.

Not sure you will be able to see them.

 

While creating the page, after selecting the Page Template, next screen is blank, as opposed to asking details of page like label,

 

Hi @kautuksa and all admins, I am attaching documents but they are not seen by others.

Kindly suggest ASAP.

 

Thanks,

RK.

Avatar

Level 8

Hi,

 

Attaching package again.

 

But it says:

Correct the highlighted errors and try again.

  • The attachment's new pkg.zip content type (application/x-zip-compressed) does not match its file extension and has been removed.

 

Thanks,

RK.

Avatar

Correct answer by
Level 8

Got resolution to my problem.

 

I deleted "/" before sling:resourceSuperType property of component and sling:resourceType property of template and it worked.

 

This question could be closed.

 

Thanks,

RK.