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
Dustin MayfieldDustin Mayfield 

Create a visual force calendar using Time off Requests object

I am fairly new with VF pages but am really interested in creating a company calendar that will display when people have planned to take time off. We use a custom object in SF called "Time Off Requests" which essentially asks for Name, Start Date, End Date, and Hours Taken and then goes to a manager via flow for approval (they set the field "Status" to "Approved"). I'd love it if we could take advantage of this data and create a calendar that we can display using VF. To be honest i'm not certain to get started and I feel like this has been done in some fashion before. I don't want to reinvent the wheel so are there any examples I can pull from and customize myself to get me started? Anything would help and would be much appreciated!
Khan AnasKhan Anas (Salesforce Developers) 
Hi Dustin,

Greetings to you!

I haven't tried it but I suggest please refer to the below links which might help you further with the above requirement.

http://cloudyworlds.blogspot.com/2015/04/responsive-bootstrap-calendar-in.html

https://force201.wordpress.com/2012/10/04/fullcalendar-quick-start/

https://salesforce.stackexchange.com/questions/79524/how-to-display-calendar-on-visualforce-page

http://php-salesforce.blogspot.com/2012/06/calandar-in-visualforce-page.html

https://blog.cloudconsulting24.com/blog/projecting-custom-objects-in-salesforce-calendar

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