Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

custom holiday dates in Dynamics on-premise

(0) ShareShare
ReportReport
Posted on by 197

Hello,

I was wondering if it's possible to add the custom holidays in CRM, so that if I have a rollup field which counts the difference between two date fields will take the holidays into the consideration ? 

If no what are the alternatives? 

Plugin development is also an option, but I don't know when to register it or even an action.

I have the v9 version of CRM.

Thanks

  • Verified answer
    magical Khachapuri Profile Picture
    197 on at
    custom holiday dates in Dynamics on-premise
    I created a plugin, on record update, it works as expected.
  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at
    RE: custom holiday dates in Dynamics on-premise

    Hello,

    I don't think you will be able to use calculated or rollup fields to achieve your goals.

    You will have to develop plugins.

    I build something similar in my toolkit, you might use this as a base for your code - github.com/.../AddBusinessDays.cs

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 225 Super User 2025 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 106

#3
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 82 Super User 2025 Season 1

Overall leaderboard

Product updates

Dynamics 365 release plans