In Lightning I am trying to write a trigger when user click "Upload New version" and try to upload. But i couldnt find tiggers to place some code before insert. In Salesforce classic, i used triggers in content version. please refer the screen shot. Any suggestion please how to fire triggers on "upload New Version" in Salesforce Lightning or how can we get the control to write some logic when user click on "Upload New version button"?
Thanks in Advance