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

Granite Render condition on the basis of path

Avatar

Avatar
Contributor 2
Level 4
AdobeID24
Level 4

Likes

54 likes

Total Posts

153 posts

Correct Reply

1 solution
Top badges earned
Contributor 2
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile

Avatar
Contributor 2
Level 4
AdobeID24
Level 4

Likes

54 likes

Total Posts

153 posts

Correct Reply

1 solution
Top badges earned
Contributor 2
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
AdobeID24
Level 4

21-07-2020

https://adobe-consulting-services.github.io/acs-aem-commons/features/ui-widgets/path-rendercondition...

 

 

page load is required to work this ?

 

my requiremnet is like that : if am at /content/dam/we-retail ...should be able to see the button whcih i added on the top menu of aem .....and if i am at /content/dam/anyotherfolder ...should not be able to see the button ...

 

I Tried render condition granite:rendercondition with servelt resourceType ...it worked but my servlet get triggerd only on page load ....

 

On navigating in aem ..from conetent to dam to we -retail there is no page load ...so untill and unless i refresh the page my render condition servelt doesnt work 

 

https://adobe-consulting-services.github.io/acs-aem-commons/features/ui-widgets/path-rendercondition...

This link i found bt this alos didnt work but this suggests similar thing which is my requirement and i saw the git hub for the below link didnt understand they are considering page load or not ,,please suggest .

Replies

Avatar

Avatar
Boost 250
MVP
ChitraMadan
MVP

Likes

271 likes

Total Posts

165 posts

Correct Reply

67 solutions
Top badges earned
Boost 250
Establish
Ignite 1
Give Back 5
Give Back 3
View profile

Avatar
Boost 250
MVP
ChitraMadan
MVP

Likes

271 likes

Total Posts

165 posts

Correct Reply

67 solutions
Top badges earned
Boost 250
Establish
Ignite 1
Give Back 5
Give Back 3
View profile
ChitraMadan
MVP

21-07-2020

Avatar

Avatar
Contributor 2
Level 4
AdobeID24
Level 4

Likes

54 likes

Total Posts

153 posts

Correct Reply

1 solution
Top badges earned
Contributor 2
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile

Avatar
Contributor 2
Level 4
AdobeID24
Level 4

Likes

54 likes

Total Posts

153 posts

Correct Reply

1 solution
Top badges earned
Contributor 2
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
AdobeID24
Level 4

21-07-2020

@ChitraMadan tahnks for the reply ...but this is other button i have to make changes on shell header action on top menu ..

Avatar

Avatar
Contributor 2
Level 4
AdobeID24
Level 4

Likes

54 likes

Total Posts

153 posts

Correct Reply

1 solution
Top badges earned
Contributor 2
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile

Avatar
Contributor 2
Level 4
AdobeID24
Level 4

Likes

54 likes

Total Posts

153 posts

Correct Reply

1 solution
Top badges earned
Contributor 2
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
AdobeID24
Level 4

23-07-2020

Got The solution ...just used granite:id and used show() and hide() function