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
FilikinFilikin 

Link custom objects to a calendar

Hi, I am wondering if the following is possible:

 

I have a custom bus object  that has a status of "Available"

I want the bus to be linked to a calendar and be available if today is not a holiday.

I am thinking of having a few calendars (one for school holidays, one for public holidays etc) and allowing the user select the calendar he wants to be linked to the particular bus.

 

the way I was thinking of doing this, is to have a number of public calendars, have a field in the bus object that links to a specific calendar and putting a formula field that works out if there is an event scheduled for today.

 

Is there an API to the public calendar objects?

Best Answer chosen by Admin (Salesforce Developers) 
Devendra@SFDCDevendra@SFDC

 

Hi Filikin,

 

You can not able to link custom object data with salesforce standard calendar.

 

Salesforce standard calendar works only with Standard Event object.

 

You can build custom calendar and then link custom object with custom calendar.

 

Hope it helps.

 

Regards,

Devendra S

All Answers

Devendra@SFDCDevendra@SFDC

 

Hi Filikin,

 

You can not able to link custom object data with salesforce standard calendar.

 

Salesforce standard calendar works only with Standard Event object.

 

You can build custom calendar and then link custom object with custom calendar.

 

Hope it helps.

 

Regards,

Devendra S

This was selected as the best answer
FilikinFilikin

I was afraid that was going to be the answer.

thanks

Yves Asselin 3Yves Asselin 3
I believe this issue has been solved
https://releasenotes.docs.salesforce.com/en-us/summer16/release-notes/rn_sales_activities_calendar_create.htm                    
https://help.salesforce.com/articleView?id=calendar_create.htm&type=5        
https://help.salesforce.com/articleView?id=calendar_create_examples.htm&type=5