Activity Forums Salesforce® Discussions How to Salesforce Trigger on Event Object? Reply To: How to Salesforce Trigger on Event Object?

  • Harsh

    Member
    April 17, 2018 at 12:12 pm

    On Event object their is no rich text area, so user wanted to have the rich text area, i have created the visual force page and add in the page layout of event.
    I have also add the trigger on event object so when user make any changes in that visual force page than it will save in the attachment as a file text or a image jpg .
    The issue is whenever user make any changes in the rich text area. than every time it is creating the new file and attached in the section, but this need to be stop and only one time it should added and next time they need to update than attachment.
    Hint-
    1. Either my removing the file
    2. Deleting the file