@parag_dalal What I can think of is, create a servlet which will get content path(/content/..../current-component) as parameter, you can get resourceType from the node. In the servlet you can write the logic. Hit the servlet using Ajax "dialog-success" by passing the path.Javascript: Ajax call...