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

  • PRANAV

    Member
    April 17, 2018 at 12:03 pm

    Hi Harsh,

    Please elaborate your query properly, so that your issue can be resolved.

  • 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

  • PRANAV

    Member
    April 18, 2018 at 3:23 pm

    Hi Harsh,

    I think you are having some issues with your code, so could you please share your code.

  • shariq

    Member
    September 20, 2018 at 6:50 pm

    Hi,

    Could you explain your requirement.

    Thanks.

  • Parul

    Member
    September 20, 2018 at 6:53 pm

    Adding some point;

    The trigger will fire Only when an insertion or updation or deletion or undeletion happens. If the particular event expires the particular record has to be again updated if it is then u can write the trigger for sure.

    But here what happens is if the event is expired then the record will be updated at time ur are logging in so u can write a trigger but it will be fired when u login into your Salesforce account.

    Hope this will help u

    Thanks

  • shariq

    Member
    September 20, 2018 at 6:55 pm

    Hi,

    Could you share your code so I can give some solution regarding it.

    Hope this helps.

Log In to reply.

Popular Salesforce Blogs