Change color of service calendar timeblock appearance in CRM 2013
The project I was working needs the service calendar feature in CRM 2013 and the business needs to customise the color of appointment based on the status. Looked into the CRM 2013 SDK help file and discovered the way to achieve this, but the content was probably hasn't been updated for CRM 2013 due to UI change to flat style. So, here is how to do it: 1. Create a new webresource of CSS type. 2. Set the Display Name to 'AppointmentBookConfig'. 3. Open the Text Editor and place the new CSS style in the content text box. Use the following format to define the new color. div.ganttBlock[entityname] Status[statuscode] { background-color: #FFC251; } For example, for Appointment with Free status: div.ganttBlockappointment Status1 { background-color: #FFC251; } 4. Publish and refresh the Service Calendar screen. You should now see the updated color of appointment timeblock. Another tip, the CSS class is case-sensitive and must match the c...