0

can we create trigger on contentdocumentlink that fires on insert and checks if it's on account then mark a checkbox as checked?

4
  • 2
    we are not writing your trigger. Please at least share what you have tried so far.
    – Basti
    Nov 3 '17 at 19:55
  • 2
    i am asking is there a way to write trigger on contentlinkdoc
    – roni
    Nov 3 '17 at 19:59
  • sorry, but that's not how it works. If you have a new question, create a new question instead of replacing the old question. Please revert your changes and create a new question here
    – Basti
    Nov 5 '17 at 19:21
  • Why so many downvotes? guy was just asking whether it is possible or not.
    – Sven
    Dec 7 '18 at 7:00
2

So if your question is, if it is possible, the answer is Yes. Seems like others have done this already: example 1, example 2

To create it, you can use the Developer Console, or you could use an IDE like Force.com IDE in Eclipse

2
  • sure, glad I could help you!
    – Basti
    Nov 3 '17 at 20:11
  • how should i verify a contentdocumentlink is created in account from ui ??
    – roni
    Nov 5 '17 at 16:50

Not the answer you're looking for? Browse other questions tagged or ask your own question.