You need to sign in to do that
Don't have an account?
micwa
Trigger after insert an Attachment
I have a problem: we should fire a trigger after a file was attached to a custom
object. Unfortunately the “after insert” and the “before insert” event on the Attachment object doesn’t
get fired (but the after delete event does but we don't need that).
Does anybody has an idea why? It can't be the code, it's just debugoutput. Or any workaroung?
All Answers
Message Edited by dkorba2k5 on 04-17-2008 05:11 PM
I inadvertantly added a duplicate to this: http://community.salesforce.com/sforce/board/message?board.id=apex&message.id=16075&jump=true#M16075
That's because I didn't look far enough back! I'm shocked to find this is a known bug for over a year.
Come on SF this can't be hard to fix, can it?
Hi Guys,
Kindly tell me where can i write a trigger for attachment.
For account i can goto customize-->Account-->Trigger.
For attachment how can i do that?
Kindly let me know this.
Thanks.
An Insert Trigger on an Attachment does seem to be working now!
Mike
For Attachments, Notes, Tasks, Events and other objects of this type you have to use the Force.com IDE to create Triggers.
Mike
Hi Mike,
Could you please provide the code for this.....
Don't know if you need this or not, but Merry Christmas: