Highlighted

Granite Render condition on the basis of path

AdobeID24

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