Calendar comment_preview__c not changing after save

  • 1
  • Problem
  • Updated 2 years ago
  • In Progress
I am using the calendar control and I have a situation where the comment_preview__c is not changing after save.  It keeps saying "New Event".

I am using this value in a snippet to figure out if its a new record or not...

Is this something I have to change programatically when saving?

Please advice.  If I refresh the whole page then it works.

Thanks.
Photo of Sofware Developer Guy

Sofware Developer Guy

  • 1,354 Points 1k badge 2x thumb

Posted 2 years ago

  • 1
Photo of Christine Jessen

Christine Jessen

  • 670 Points 500 badge 2x thumb
Hi! 

Thanks for your question, hitting "save" commits the changes to the database, but in order to see the updated change on the UI, you need to refresh your data component (calendar in this case).  Even though your calendar interface may not show the updated field change, programmatically, you should be able to retrieve the new value after the save without having to refresh.  

Hope this helps!
Christine