I have to show and hide few fields of the component dialog based on the template in which page is created.
for this im triggering clientlibs and making show and hide fields using js (show and hide works fine) but how to get template details to the js to make it work as per my condition?