Adobe Global Community

How to show/hide Metadata Schema Field based on Asset Path

Published on by Ahmed Musallam on
If you have not read my post on How to show/hide page properties based on template in AEM 6.4 go ahead and read that before this one. Especially the “Granite Render Condition” section as it will be the basis for this post. Now onto the good stuff! Banner Photo by Glenn Carstens-Peters on Unsplash The Use Case I want to show/hide an Asset Metadata Schema field based on the asset location. In my specific case, I want to show certain fields for assets under /content/dam/community and hide those fields for all other assets.


comments powered by Disqus

Get Insights from the AGC!

Related Posts