How can we include holidays and weekends in skuid calendar ?

  • 1
  • Question
  • Updated 1 year ago
  • Answered
As we can set up the holiday settings for our organization in Salesforce (
Setup > Company Profile > Holidays > Add). The same, I want to include holidays in skuid calendar components so that user can't be able to create event or appointment in holidays.
Please do let me know if you need more details.

Thanks
Photo of sumit

sumit

  • 428 Points 250 badge 2x thumb

Posted 1 year ago

  • 1
Photo of Michael Primessnig

Michael Primessnig

  • 252 Points 250 badge 2x thumb
Hi sumit

Weekends are easy to include in calendar. Just check/uncheck "Hide Weekends" in your specific view ( Week / Month ). For Holidays you need the Source of the specific Object (Holidays) and would have to reformat the StartDate/EndDate via a FormulaField as StartDateTime/EndDateTime.
But to disable a day which is marked as a holiday from been editable or scheduled on will need some pretty complex custom code.
(Edited)
Photo of sumit

sumit

  • 428 Points 250 badge 2x thumb
Thanks for your information.
We can easily hide weekends in calendar components by checking hide weekend checkbox. But Question is, how can we hide holidays ? as in sales force we can set holidays so that events could not be created in holiday.