Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Failing to customize AEM Site design templates for XML documentation

Avatar

Avatar
Validate 1
Level 2
kendalls5216292
Level 2

Likes

0 likes

Total Posts

23 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back 3
Give Back
View profile

Avatar
Validate 1
Level 2
kendalls5216292
Level 2

Likes

0 likes

Total Posts

23 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back 3
Give Back
View profile
kendalls5216292
Level 2

09-06-2020

I am slowly understanding more things about sling, but so far I have not been able to apply the knowledge to customize AEM site templates, for the XML documentation addon.

 

There is a path to the template that has properties for other templates that transform content to different pages and areas of the page, like this:

 

/libs/fmdita/config/templates/default

jcr:primaryType=nt:unstructured

topicPageTemplate=/libs/fmdita/templates/default/cqtemplates/topicpage

topicNode=jcr:content/contentnode

 

/libs/fmdita/templates/default/cqtemplates/topicpage

jcr:primaryType=cq:Template

/libs/fmdita/templates/default/cqtemplates/topicpage/jcr:content

jcr:primaryType=cq:PageContent

sling:resourceType=fmdita/components/siteoutput/default/topicpage

/libs/fmdita/templates/default/cqtemplates/topicpage/jcr:content/contentnode

sling:resourceType=foundation/components/parsys

 

/libs/fmdita/components/siteoutput/default/topicpage

jcr:primaryType=cq:Component

sling:resourceSuperType=foundation/components/page

/libs/fmdita/components/siteoutput/default/topicpage/body.jsp

 

I've tried recreating the same structure of nodes in /apps/kendall and making a slight modification to body.jsp and this makes no difference. I've tried modifying other nodes in a copy of the structure and there is no change. Do you have any suggestions?

 

There is a template for the landing page. I was able to customize that.

 

Replies

Avatar

Avatar
Validate 1
Level 2
kendalls5216292
Level 2

Likes

0 likes

Total Posts

23 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back 3
Give Back
View profile

Avatar
Validate 1
Level 2
kendalls5216292
Level 2

Likes

0 likes

Total Posts

23 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back 3
Give Back
View profile
kendalls5216292
Level 2

11-06-2020

Hmm... change I make to the topic components now are reflected in the output. I wish I could delete this question

Avatar

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,127 likes

Total Posts

6,116 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,127 likes

Total Posts

6,116 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile
kautuk_sahni
Community Manager

12-06-2020

Were there some extra pointers to keep in mind for someone else facing this problem in future? Please share your comment as separate reply (not as an comment) so that I can mark it as a correct for posterity.

Avatar

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,127 likes

Total Posts

6,116 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,127 likes

Total Posts

6,116 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile
kautuk_sahni
Community Manager

12-06-2020

Were there some extra pointers to keep in mind for someone else facing this problem in future? Please share your comment as separate reply (not as an comment) so that I can mark it as a correct for posterity.

Avatar

Avatar
Validate 1
Level 2
kendalls5216292
Level 2

Likes

0 likes

Total Posts

23 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back 3
Give Back
View profile

Avatar
Validate 1
Level 2
kendalls5216292
Level 2

Likes

0 likes

Total Posts

23 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back 3
Give Back
View profile
kendalls5216292
Level 2

14-06-2020

I think the difference was that I copied the entire tree of nodes from libs to apps within my app and then modified them.

 

I read that Sling Resource Merger can only be used with Granite. So, maybe the AEM Site output preset in the XML Documentation package doesn't use granite and that is the explanation.

Avatar

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,127 likes

Total Posts

6,116 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,127 likes

Total Posts

6,116 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile
kautuk_sahni
Community Manager

15-06-2020

The issue got self resolved. 

@kendalls5216292 mentioned, 

I think the difference was that I copied the entire tree of nodes from libs to apps within my app and then modified them.

 

I read that Sling Resource Merger can only be used with Granite. So, maybe the AEM Site output preset in the XML Documentation package doesn't use granite and that is the explanation.