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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Granite Render condition on the basis of path


Level 7



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 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 untill and unless i refresh the page my render condition servelt doesnt work

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 .

3 Replies