Skip to main content

Notifications

Dynamics 365 Community / Forums / Field Service forum / work hours not synced ...
Field Service forum

work hours not synced to schedule board.

Posted on by Microsoft Employee

Hi,

I have created calendar rule i.e (work hours) for Bookable Resource via code. But the problem is the schedule board for the resource is not updated as per the work hour? Can you please help me how can we sync Work hours to schedule board.

Thanks

Aashish Baral

Categories:
  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: work hours not synced to schedule board.

    Thanks Thomas.

    It resolved my issue.

  • Verified answer
    Thomas David Dayman Profile Picture
    Thomas David Dayman 11,323 on at
    RE: work hours not synced to schedule board.

    Think you might have to add this line of code:

    userCalendarEntity.Attributes["type"] = new OptionSetValue(-1);

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,902 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,297 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans