Q:

Upload New Version (Files Tab) - trigger in Lightning

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

A:

The object underlying the lightning experience and the classic is same content version .
Looks like at this point the UI link to write triggers on content version is missing in lightning experience but that does not mean triggers wont work .
You can still code the triggers as needed using developer console or an IDE and everything should work in lightning experience .

