[Calendar Plugin] Update Calendar event

[Calendar Plugin] Update Calendar event

  
Forge Component
(1)
Published on 26 Sep by OutSystems R&D
1 vote
Published on 26 Sep by OutSystems R&D

Hi all,

     I know that there are client actions to create and delete an event in the native calendar using the calendar plugin. But is there a client action in the calendar plugin to update an event in the native mobile calendar?


Thanks,

Gowtham

Hi Gowtham,

Currently there is no client action to update an event in the native calendar, but you can overcome that by doing a workaround. 

If you want to update an event, you will need to delete the original event and create a new one with the new info provided. It's not an elegant solution, but it does the trick. 

However, you should note that you shouldn't have events with the same name (or with the same name prefix) within the same timeframe, otherwise you could end up deleting more events than the one you want to delete. Furthermore, in order to delete the event, you should do another "trick" due to a peculiarity (or an issue, from my point of view) that the delete event client action has - check this discussion topic for further information.


Best regards,

André Dinis