Calendar The Calendar page contains the following: Table 19. Calendar Element Description Skin Name Allows you to enter the skin name for the calendar view. Calendar Width Allows you to enter the width of the calendar view in pixels. The default is 700. Calendar Width Unit Allows you to enter unit of measure for the calendar width. Calendar Height Allows you to enter the height of the calendar view in pixels. The default is 500. Row Height Allows you to specify the row height for each day/week view and the appointment for the month view in pixels. Month View Visible Appointments Per Day Allows you to enter the number of appointments visible per day when in the month view. The default is 3. Overflow Behavior Allows you to o scroll or expand the page when the calendar view is not large enough to display all the data. Default Calendar View Allows you to set the default view for the Calendar web part. This can be either Day, Week or Month. Enable Day View Allows you to switch to view one day at a time in the Calendar web part Enable Week View Allows you to switch to view one week at a time in the Calendar web part. Enable Month View Allows you to switch to view one month at a time in the Calendar web part. First Day of Week Allows you to determine the first day that is displayed in the week view and month view. The default value is Sunday. Last Day of Week Allows you to determine the last day that is displayed in the week view and month view. The default value is Saturday. Allow Delete Allows you to determine whether or not the delete button should be shown on every appointment in the calendar. The delete button appears when you hover your mouse over the appointment. If you set this property to false, the delete button is not shown during the mouse over. By default, Allow Delete is set to true. Appearance Field Name Allows you to determine the name of the field whose values is used to determine the color of the appointment. This allows appointments to be displayed in different colors based on the value in this predefined field. For example, to display all appointments in conference room 5 with red and all appointments in conference room 6 with blue, the Appearance Field Name would be "Location". There are 2 additional fields that you can use as Appearance Field Name. These fields are not part of the list but used internally by the Calendar View: • Workspace URL — this is the URL of the site that contains the containing list. When using the Workspace URL in the Appearance Field Name, you need to specify the absolute URL of the site in the FieldValue attribute in the Color Appearance property, for example: http://www.mysite.com/site1 • List Name — this is the name of the list that contains the appointment. When using the List Name in the Appearance Field Name, you need to specify the name of the list in the FieldValue attribute in the Color Appearance property, for example: Project Calendar Color Appearance Allows you to determine the color of the appointment for a certain value in the field specified by the Appearance Field Name. Turn on Advanced Mode if you want to edit Color Appearance in XML: <Appearance> <AppointmentAppearance FieldValue="fieldValue" BackgroundColor="color" FontColor="color" /> <AppointmentAppearance FieldValueRange="number-number" BackgroundColor="color" FontColor="color" /> </Appearance> For example: <Appearance> <AppointmentAppearance FieldValue="Conference Room 5" BackgroundColor="Red" FontColor="Black" /> <AppointmentAppearance FieldValue="Conference Room 6" BackgroundColor="Blue" FontColor="Orange" /> </Appearance> The following are the attributes of the Color Appearance property: • FieldValue — specifies the value for the field. • BackgroundColor — is optional and it specifies the background color of the appointment for the specified value in the FieldValue attribute. The color can be specified as a well-known color such as white, black, cyan, lightGray, as a RGB value such as 255, 255,255, or you can specify it as #FFFFFF, #CCDDEE. • FontColor — is optional and it specifies the font color of the appointment for the specified value in the FieldValue attribute. The color can be specified as a well-known color such as white, black, cyan, lightGray, as a RGB value such as 255, 255,255, or you can specify it as #FFFFFF, #CCDDEE. The FontColor attribute is ignored if you specify a URL in the Link To property or set the Link To Source or Link To Target URL properties to true. • FieldValueRange — Instead of using the FieldValue attribute, you can also use this attribute to determine a range of value, such as 0-100, 101-200. FieldValueRange can only be used if you specify the name of a Number or Currency field in the Appearance Field Name property.