function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Prathamesh RPrathamesh R 

Display custom opportunity fields (Date and DateTime) on Calender as an Event/Task

Hello Everyone,

I have created two custom Date type fields and two DateTime type fields on Opportunity object. I want to display those fields on the calendar. It would be great if everyone in the organization can view the same calendar.

My initial solution to this problem:
1. Create a task/event for each field using workflow/Process builder.
2. Assign that task to a public group.
3. Show task on a calendar where everyone can see it.

Now here comes the complex (for me) part:
I want to update event/task in the calendar every time the relevant opportunity is updated/changed.

I am an admin and started development very recently. The detailed code will help a lot.

Thank you in advance.
- Prathamesh