function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
vinothvinoth 

Trigger on document object.

Is there any possibility to write a trigger on document object?



Best Answer chosen by Admin (Salesforce Developers) 
Navatar_DbSupNavatar_DbSup

Hi,

It is not possible to write trigger on document object.

 

Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved. 

All Answers

Navatar_DbSupNavatar_DbSup

Hi,

It is not possible to write trigger on document object.

 

Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved. 

This was selected as the best answer
Gunners_23Gunners_23

Its not possible to write a trigger on document object, but you can use 'E-Library' tab and write a trigger on "ContentVersion"

 

object to achieve the same functionality