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

How to make path brower field to limit the navigation till 2 level after jcr:content

Avatar

Avatar
Validate 1
Level 1
malaya_ranjand4
Level 1

Likes

2 likes

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 1
View profile

Avatar
Validate 1
Level 1
malaya_ranjand4
Level 1

Likes

2 likes

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 1
View profile
malaya_ranjand4
Level 1

25-06-2020

Hi All,

Hope you are doing well 🙂

 

I just wanted to navigate till after 2 level after jcr:content even though there is a long hierarchy. 

 

malaya_ranjand4_0-1593067916021.png

As per requirement navigation should be limited upto test1 (Above attached screenshot) even though its having one hierarchy followed by bladepar1 and so on.

 

In dialog level I have added below properties 

malaya_ranjand4_1-1593068095735.png

The above property allow me to navigate till end of hierarchy , so how can we restrict the navigation till 2nd depth after jcr:content.

 

Please help me on that....

 

@kautuk_sahni @Arun_Patidar @Vish_dhaliwal @Andrew_Khoury @Briankasingli @antoniom5495929 @khamat_bn @sunjot16 @Varun_Shakya 

 

 

 

 

AEM aem6.5 components JCR JCR SQL2

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Ignite 1
MVP
Varun_Shakya
MVP

Likes

105 likes

Total Posts

82 posts

Correct Reply

20 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back
Boost 50
View profile

Avatar
Ignite 1
MVP
Varun_Shakya
MVP

Likes

105 likes

Total Posts

82 posts

Correct Reply

20 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back
Boost 50
View profile
Varun_Shakya
MVP

25-06-2020

One solution could be you provide regular expression instead of "/content" which serves your purpose something like restrict the selection up to level Two.(Not sure about this)

 

Another one can be you let author select content path up to any level, but while saving it you reduce path up to level 2. This can be done by writing a script or listener for path browser field.

Answers (1)

Answers (1)

Avatar

Avatar
Springboard
MVP
Suraj_Kamdi
MVP

Likes

142 likes

Total Posts

155 posts

Correct Reply

41 solutions
Top badges earned
Springboard
Validate 1
Establish
Contributor
Ignite 3
View profile

Avatar
Springboard
MVP
Suraj_Kamdi
MVP

Likes

142 likes

Total Posts

155 posts

Correct Reply

41 solutions
Top badges earned
Springboard
Validate 1
Establish
Contributor
Ignite 3
View profile
Suraj_Kamdi
MVP

25-06-2020

@malaya_ranjand4 

Can you please elaborate by adding more details?

By the way , What is your requirement?