Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Service Calendar Appearance Configuration

[Applies to: Microsoft Dynamics CRM 2011]

You can control the appearance and behavior of the Service Calendar in the following ways:

To edit these settings you must export the ISV.Config by adding as part of a solution, edit the <IsvConfig> element within the customizations.xml, then re-import and publish the solution. See Export the ISV.Config for information on exporting the ISV.Config.

Set Time Block Appearance

You can control the appearance of the rendered blocks in the service calendar. You can control the color used to render the given entity type and status code.

Create a CSS Web resource with a display name of “AppointmentBookConfig”. Within the CSS Web Resource define CSS classes using the following naming convention:

[div.ganttBlock<entityname>Status<statuscode>]

For example, the set the CSS class to apply to a Service Activity entity status of Reserved, the CSS class could be define like the following example:

div.ganttBlockServiceAppointmentStatus4
{
border: 1px solid #848284;
FILTER: progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#CEC7BD,endColorStr=#848284);
}

Set Smooth Scroll Limit

Specifies the limit when smooth scrolling is used based on the number of blocks rendered in the service calendar.

When the service calendar renders more blocks than indicated in the SmoothScrollLimit element, the behavior changes from scrolling to simply jumping to the first appointment. The service calendar auto scrolls to the first appointment when it is first displayed and when a row is selected.

To set this value you must export the ISV.Config as part of a solution and locate the <SmoothScrollLimit> element at:/ImportExportXml/IsvConfig/configuration/ServiceManagement/AppointmentBook/SmoothScrollLimit.

The default value is 2000. You must edit the value and re-import then publish the solution before the change will take effect.

Set Validation Chunk Size

Specifies the number of appointments or service activities that are passed to the server at a time to check for scheduling errors in the service calendar.

To set this value you must export the ISV.Config as part of a solution and locate the <ValidationChunkSize> element at :/ImportExportXml/IsvConfig/configuration/ServiceManagement/AppointmentBook/ValidationChunkSize. This element is not included in the ISV.Config by default so you must add it as a child of the <AppointmentBook> element.

Export the ISV.Config

When you export a solution the Export Solution dialog box provides the Export System Settings (Advanced) option page. Select ISV Config as an option. The <IsvConfig> element will be included as a child of the <ImportExportXml> node.

See Also

Microsoft Dynamics CRM 2011
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.