Primary Content The Primary Content page is default category. You need to configure one or more elements in this page to get started using this web part. Primary Content contains the following: Table 1. Primary Content Element Description Title Allows you to add a title to the web part. Viewed Lists For more information, see Viewed Lists Display Fields For more information, see Display Fields. Enable AJAX Allows you to enable AJAX. AJAX enables the Media View to carry out some operations within the frame without refreshing the whole page. For example, when you change the page by clicking the pager, the Media View only refreshes the data in the grid without causing the whole page to post back. However, there are times when AJAX causes some issues. In this case, you must disable the AJAX capability of the Media View. The following are some known situations where you need to disable AJAX: • In Internet Explorer 6, the data frame will fail to carry out the AJAX operation. If your user base reports this issue, you can disable the AJAX to fix it. • If you use javascript's document.write() method in the Results Body property of the Custom Display, the text that is generated using document.write() will not be rendered after the AJAX operation.This is true even if you do not call the document.write() directly within the Results Body but rather through another javascript function that calls document.write(). Skin Name Allows you to specify the skin name for the frame in the Media View. The skin name is associated with a folder under the following directory in the web server: C:\Program Files\Common Files\Microsoft Shared\Web ServerExtensions\14\TEMPLATE\LAYOUTS\QuestSoftware\DevExpress\9.3\Themes The skin folder will contain the CSS file and images needed to control the visual appearance of the grid. If none of the provided skins satisfy your need, you can copy one of the existing skins and modify it. You must follow the CSS class name convention in the CSS file, which is class name followed by the skin name; for example, dxtlControl_Office2003Blue. Viewed Lists The Viewed Lists section defines the lists whose data is viewed in the Media View. To aggregate information from multiple lists, define the lists one by one using this property. The following are the elements for the Viewed List attribute. Table 2. Viewed Lists Element Description Advanced Mode Turn on if you want to edit Viewed Lists in XML format. For example: <Lists> <List SiteUrl="." ListName="MyPicLib" /> <List SiteUrl="./TeamBlog" ListName="Photos" /> </Lists> Site URL Allows you to set the URL to the site that contains the list to be searched. The URL can be absolute (http://...) or relative to the current page URL. This attribute is mandatory. When using a relative URL, you can use a single dot (.) to denote the current path, a double dot (..) to denote the previous path, and a slash (/) to denote the root path. List Name Allows you to set the name of the SharePoint list that is edited or displayed. The list name is case sensitive. If the list name contains spaces, include the spaces here as well. To denote the current list, you can use a single dot (.) as the list name. NOTE: This only works if the qMediaView is contained in the AllItems.aspx. For example, if you are replacing the Microsoft Media View in the AllItems.aspx of the Tasks list and you use a single dot as the ListName attribute, the ListName attribute of the qMediaView is set to Tasks. If you want to save the list as a template and then add it somewhere else, the name of the new list might not be Tasks and using this relative list name will automatically pick up the new list name for the view. List Type Indicates the type of the list selected. This is a read-only field and displays for all available list templates. Display Fields This property defines the fields that should be displayed in the Media View. The Display Field contains the following elements: Table 3. Display Fields Element Description Advanced Mode Turn on if you want to edit Display Fields in XML format: <Fields> <Field Name="Name" InternalName="FileLeafRef" /> <Field Name="Type" InternalName="DocIcon" /> <Field Name="Copy Source" InternalName="_CopySource" /> <Field Name="File Size" InternalName="FileSizeDisplay" /> <Field Name="Preview" InternalName="PreviewOnForm" /> <Field Name="Picture Width" InternalName="ImageWidth" /> <Field Name="Description" InternalName="Description" /> </Fields> Field Name If specified, indicates a cross-site lookup field. It contains the name of the field in the cross-site list that contains the value to be displayed. The field name is case sensitive. A cross-site lookup field enables you to lookup a list that resides in another site, another site collection, or another web application as long as it is in the same configuration database. You need the qListForm web part to create a cross-site lookup field. Field Type Indicates the type of the field selected. This is a read-only field and displays for all available list templates. Title Indicates the title of the field. This is useful if the real field name is too long and you want to abbreviate the title in the field header, or if you simply want to display a different title in the field header. If this attribute is not specified, the value specified in the Name attribute is used in the field header. For example: <Field Name="Created By" Title="Author" /> Width Indicates the width of the field. You can specify the value in pixels (Width="20px") or percentage (Width="20%"). We recommend leaving at least one field where you do not specify this property. That field will take up the remaining width of the page. For example: <Field Name="Subject" Width="100px" /> Align Indicates the horizontal alignment for the field. The values is one of the following: left, right, or center. For example: <Field Name="Created" Align="right" />