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
Ravi sastriRavi sastri 

calendar sharing based on role or profile

Hello Admins and Developers,

I have a requirement where the calendars should be shared based on role/profiles. For eg: I have a profile named Marketing. This Marketing profile user's calendar should be shared with Sales Manager Profile. Sales Manager Profile users can see Marketing profile user's Calendar.. I know I can do this using public calendars from  setup but I cannot find any button or option regarding this in Lightning. 

In Lightning view, a calendar can be shared with a user but I need a calendar sharing in profile level. I have also gone through Salesfoce's PDF document but didn't find it helpful.
Can anyone help me solving this in detail. 

Thank you in advance.
Sastri.
Best Answer chosen by Ravi sastri
Khan AnasKhan Anas (Salesforce Developers) 
Hi Sastri,

Greetings to you!

You will get this feature in Spring 19 release. According to Salesforce doc (https://releasenotes.docs.salesforce.com/en-us/spring19/release-notes/rn_sales_productivity_calendar_public.htm),

Use public calendars to keep team members in the loop and everyone’s projects on track more easily. Everyone who shares a public calendar can view, schedule, and update events without switching to Salesforce Classic. Previously, you could enable public calendars, but reps couldn’t access them from Lightning Experience.

Where: This change applies to Lightning Experience and all versions of the Salesforce app in Enterprise, Performance, Unlimited, and Developer editions.

Why: Under Other Calendars in the side panel, sales reps can add and hide public calendars from their calendar view.

How: In Setup, enter Public Calendars and Resources in the Quick Find box and then click Public Calendars and Resources. Under Public Calendars, select New.

Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas