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

add new folder issue

Avatar

Avatar
Ignite 1
Level 2
josieqqiu
Level 2

Likes

12 likes

Total Posts

26 posts

Correct Reply

0 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile

Avatar
Ignite 1
Level 2
josieqqiu
Level 2

Likes

12 likes

Total Posts

26 posts

Correct Reply

0 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
josieqqiu
Level 2

15-03-2021

hi @Jörg_Hoh 

we have a project added a new folder, and make a new package to install at new server, but we find after finish install we just can see the path structure, but every path cannot render content.  meanwhile if we copy the content to any new path that create by author server (http://localhost:4503/siteadmin#/content), every path can render at author server! 

so we unzip the package find the .content.xml under the new path in the content install package  is 


<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
jcr:primaryType="cq:Page">
<xxx/>
</jcr:root>

 

seems miss something, usually cq:Page may have a jcr:content node ,but this file have not, may I know  must add jcr:content node when  jcr:primaryType="cq:Page"?

 

in fact when we add a content node to that file, and install it , every path can render at author server . but we just confuse why no content node every page under xxx cannot render?

 

thanks!!

View Entire Topic

Avatar

Avatar
Validate 1
Level 7
KiranVedantam1992
Level 7

Likes

159 likes

Total Posts

159 posts

Correct Reply

47 solutions
Top badges earned
Validate 1
Establish
Give Back 3
Give Back
Boost 50
View profile

Avatar
Validate 1
Level 7
KiranVedantam1992
Level 7

Likes

159 likes

Total Posts

159 posts

Correct Reply

47 solutions
Top badges earned
Validate 1
Establish
Give Back 3
Give Back
Boost 50
View profile
KiranVedantam1992
Level 7

16-03-2021

Hi @josieqqiu,

 

If my understanding is correct, you have created a new folder [for adding the content pages] and once it is installed, you do not see any content under it, am I right?

 

For this, you need to check and update the filter.xml file in the below path

  • project\ui.apps\src\main\content\META-INF\vault\filter.xml

The path will vary depending upon the location of your folder.

Add a root like this:

  1. <filter root="folder-path"/>

If this does not help,

  1. add the same page in another path that is working [as you have already mentioned that you have tried it, and is working] and install the code
  2. Create a package of the content using the package manager and download it
  3.  Extract it and find the appropriate filter.xml with the correct filter code 

 

Hope this helps.

 

Thanks,

Kiran Vedantam.