Hi,
I'm trying to get a list of days within a Holiday Schedule.
As said here, there are no messages that directly operate on CalendarRule, and you can access this entity by using the messages on the Calendar entity.
So with this I thought I could access the effectiveintervalend which is a field of calendarrules with a QueryExpression on Calendar but I get Calendar' entity doesn't contain attribute with Name = 'effectiveintervalend
I've been trying to use this query from here EntityCollection calendarRules = (EntityCollection)calendar.Attributes["calendarrules"] but The given key was not present in the dictionary
Any guidance on this please?
*This post is locked for comments
Thanks, GetAttributeValue<EntityCollection>("calendarrules").Entities did the trick
Hello,
Did you check: salimadamoncrm.com/.../retrieving-business-closure-dates-from-dynamics-crm it will give you some reference
Hi,
For effectiveintervalend and calendarrules issue, calendar entity doesn't have these fields. Please see a list of available field via below links.
Calendar Entity
- docs.microsoft.com/.../calendar
Calendar Rule entity
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156