To move the calendars from one environment to another using Data Transporter in XrmToolbox, you can use the following filter:
<filter type="and">
<condition attribute="type" operator="in">
<value>1</value>
<value>2</value>
</condition>
</filter>
1 = Service Calendar
2 = Holiday Calendar
Full fetch xml to view calendar entries is as following:
<fetch distinct="false" mapping="logical" output-format="xml-platform" version="1.0" >
<entity name="calendar" >
<attribute name="name" />
<attribute name="typename" />
<attribute name="type" />
<attribute name="primaryuserid" />
<attribute name="isshared" />
<attribute name="holidayschedulecalendaridname" />
<attribute name="holidayschedulecalendarid" />
<attribute name="description" />
<attribute name="businessunitid" />
<order descending="true" attribute="type" />
<filter type="and">
<condition attribute="type" operator="in">
<value>1</value>
<value>2</value>
</condition>
</filter>
</entity>
</fetch>
Other useful links:
https://365lyf.com/migration-of-slas-in-dynamics-365/
https://alexanderdevelopment.net/post/2016/03/04/moving-dynamics-crm-calendar-records-with-the-configuration-data-mover/
https://blog.magnetismsolutions.com/blog/isaacnichols/2020/06/22/retrieving-a-holiday-calendar-in-a-dynamics-365-plugin
No comments:
Post a Comment