qMediaView. Quest Software v6.2
Anuncio
Anuncio
qMediaView
•
Overview
•
qMediaView Tabs
•
qMediaView Procedures
15
Quick Apps for SharePoint
Overview
qMediaView provides support for the SharePoint Picture and Asset Libraries. The
Picture Library provides the ability to upload and share pictures in SharePoint.
The Asset Library provides the same ability but with all your digital assets such as images, audio, video, and other content from many applications.
Playing audio and video files requires Microsoft Silverlight. To download, go to http://www.microsoft.com/getsilverlight/Get-Started/Install/Default.aspx. Make sure the status of Microsoft Silverlight is enabled in Internet Explorer’s Add-ons Manager.
To enable Silverlight in Internet Explorer Add-ons Manager
1. Click
Tools | Manage Add-ons
.
2. Select
All add-ons
.
3. Select
Enabled
for Microsoft Silverlight in the Add-on list. qMediaView allows you to:
• provides the ability to manage multiple media type resources in
SharePoint
• aggregate media from multiple picture libraries and asset libraries from various SharePoint sites
• select one or more audio or video files and play them consecutively in a playlist fashion
• view the media in several different ways: List, Metadata, Slide Show,
Image Gallery
• navigate the folder structures using breadcrumb navigation. The breadcrumb is displayed in between the ribbon button and the picture library view. The breadcrumb navigation bar is displayed as All >>
Site/Picture Library Name >> Folder Name >> Subfolder Name.
When there are multiple libraries defined in Viewed List property, the
Root node "All" is displayed allowing you to navigate to the aggregated view of the all picture libraries' root folder structure.
• divide the data into multiple pages to limit their size and render pages faster, known as Paging
• define the dynamic filter or search criteria using the Filter panel, and supports the List Searcher mode in the Media View
274
qMediaView
qMediaView Tabs
You can configure this web part through its tabs that are accessible through ezEdit. qMediaView contains the following tabs:
•
•
•
•
•
•
•
Information for the Appearance Tab, Layout Tab, Advanced Tab, and Ribbon Appearance
Tab can be found in
Display Tab
When you open ezEdit in qMediaView, the Display tab opens by default. The
Default tab contains the following:
ELEMENT
Viewed Lists
Display Fields
Searched Fields
DESCRIPTION
Allows you to set the URL to the site that contains the list. 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.
Allows you to set the name of the list. The name is case sensitive. If the name of the list contains spaces, include the spaces in the List Name.
Allows you to set the identifier to locate the help URL in the list.
Note:
We recommend that you define a convention for the Context ID value that will make it easy for you to identify where the help URL is used. For example, use the page URL, remove the host name from the
URL, and replace all / (slash) with . (dot). Therefore, if the page URL is http://hostname/sites/mysite/default.aspx, the Context ID is sites.mysite.default.aspx
275
Quick Apps for SharePoint
ELEMENT
Enable AJAX
Skin Name
Expand Filter panel on
Load
Turn on Media Search
Mode
Show Search All Fields
Control in Search Panel
DESCRIPTION
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().
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\12\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.
Allows you to automatically open the Filter panel by default so that the user can perform a search quickly. When set to true, the Filter panel opens when the web part is loaded for the very first time.
Allows you to perform a search before the Media View displays any data.
Allows you to determine whether the Filter panel should display the control to search all fields in the list. When set to true, the following control is shown in the Filter panel:
The Search All Fields Control allows you to do the following:
• Combine the search all fields functionality with other search criteria that has been entered for specific fields.
• When the search all fields criteria is entered, the Filter panel will construct a filter expression with the "Contain" operator for the following fields in the list: Single line of text, Multiple lines of text,
Choice, Lookup, Person or Group and Hyperlink or Picture. The
Filter panel will use the entire keywords as the value to be searched. Therefore, if you enter "High Priority" in the search all fields control and perform the search, it will find the following sentence:
‘This is a high priority task’
However, it will not find the following sentence:
‘The priority is not always high’.
276
qMediaView
ELEMENT
Filter panel Button
Location
DESCRIPTION
Allows you to set the location of the Go, Reset and Close buttons in the
Filter panel. This property also determines the location of the Go and
Close buttons in the replace panel.
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 property is an XML string in this format:
<Lists>
<List SiteUrl="." ListName="MyPicLib" />
<List SiteUrl="./TeamBlog" ListName="Photos" />
</Lists>
The following are the elements for the Viewed List attribute.
ELEMENT
Site URL
List Name
DESCRIPTION
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.
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.
Display Fields
This property defines the fields that should be displayed in the Media View.
This property is an XML string in the following format:
277
Quick Apps for SharePoint
<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>
The Fields element can contain multiple field elements.The following are the elements for the Display Fields.
ELEMENT
Name
Title
Width
Align
DESCRIPTION
Specifies the name of the field. The field name is case sensitive. If the field name contains spaces, include the spaces in the name as well.
If you only specify the Name attribute, the field is displayed as it does in the Microsoft List View.
Allows you to set the title in the field header. 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
Allows you to set 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.
Allows you to set the horizontal alignment for the field.
Searched Fields
This property defines which fields is displayed in the Filter panel. If defined, the
Media View displays the Filter menu items under the Actions tab. To disable the
Filter feature, leave this property blank.
This property is an XML string in the following format:
<Fields>
<Field Name="Name" InternalName="FileLeafRef" />
<Field Name="Title" InternalName="Title" />
<Field Name="File Type" InternalName="FileType" />
<Field Name="Site Name" InternalName="Site Name" />
</Fields>
278
qMediaView
The Fields element can contain multiple Field elements.The following are the elements for the Searched Fields.
ELEMENT
Name
Title
Width
DESCRIPTION
Specifies the name of the field. The field name is case sensitive. If the field name contains spaces, include the spaces in the name as well.
Allows you to set the displayed title for the field. The value can be a plain string or an encoded HTML string.
Allows you to set description that is displayed under the field value.
This is useful if you want to give a short instruction or explanation about the field.
View Appearance Tab
The View Appearance tab contains the following:
ELEMENT
Media View Type
Page Size
Paging Mode
DESCRIPTION
Allows you to view the media in the following ways:
• For a picture library: List, Metadata, Slide Show, or Image Gallery.
• For an asset library: All Assets and Thumbnails.
The mode that is used by the web part when the page is first loaded can be set using this property. The user can change the viewing mode on the fly as well using the View tab of the qMediaView Web Part.
Allows you to set the maximum number of items that are displayed in one page. If the number of items is larger than the Page Size, the data is divided into several pages. The user can navigate the pages using the
Pager displayed at the bottom of the page.
Allows you to set the type of pager that is displayed at the bottom of the page if the items must be divided into multiple pages. A numeric pager is more user-friendly because you are not bound to only next or previous pages. However, the numeric pager consumes a lot more resources to generate, especially when the list contains a large number of items. The next previous pager is more efficient when the following conditions are fulfilled:
• When the Display Fields property does not contain grouped fields.
• When the Viewed Lists property only contain one list.
279
Quick Apps for SharePoint
Slide Show Appearance Tab
The Slide Show Appearance Tab contains the following:
ELEMENT
Slide Show Style
Scroll Duration (milliseconds)
Frame Duration (milliseconds)
Wrap Frames
Slide Animation Type
Slide Animation Duration
(milliseconds)
Item Width (px)
Item Height (px)
DESCRIPTION
Allows you to specify the different styles for the slide show. You can change the style on the fly as well using the View tab of qMediaView. The options are as follows:
• AutomaticAdvance — Media items are scrolled automatically at the specified speed.
• ButtonsOver — Media items are scrolled by hovering over the control buttons for each scroll direction.
• Buttons — Media items are scrolled by clicking the control buttons for each scroll direction.
• SlideShow — Media items are automatically advanced with an optional transition effect (for example fade) instead of scrolling.
• SlideShowButtons — Media items are displayed by clicking the control buttons for each sliding direction.
• Carousel — Media items are automatically displayed in carousel style.
• CarouselButtons — Media items are displayed in carousel style by clicking the control buttons for each scroll direction.
• CoverFlow — Media items are automatically displayed in cover flow style.
• CoverFlowButtons — Media items are automatically displayed in cover flow style by clicking the control buttons for each flow direction.
Allows you to specify, in milliseconds, the speed for the scrolling frames. The default is 500.
Allows you to specify, in milliseconds, the speed each frame will display. The default is 500. This property is ignored in the
Buttons and SlideShowButtons modes.
Allows you to set the frame to scroll from the beginning again once it reaches the last frame.
Allows you to specify the skin name for the grid in the listview.
Specifies the type of the animation. The options are Fade, Pulse and CrossFade.
Allows you to specify the slide show animation duration in milliseconds. The default is 3000.This property is only applicable when the Slide Show Style is set to 'SlideShow' or
'SlideShowButtons'.
Allows you to specify the rotator item's width in pixels. The default is 550. This property is only applicable when the Slide
Show Style is set to 'SlideShow' or 'SlideShowButtons'.
Allows you to specify the rotator item's height in pixels. The default is 410. This property is only applicable when the Slide
Show Style is set to 'SlideShow' or 'SlideShowButtons'.
280
qMediaView
ELEMENT
Rotator Width (px)
Rotator Height (px)
Enable Ribbon Bar
Scroll Duration
DESCRIPTION
Allows you to specify the rotator width in pixels. The default is
550. This property is only applicable when the Slide Show Style is set to 'SlideShow' or 'SlideShowButtons'.
Allows you to specify the rotator height in pixels. The default is
410. This property is only applicable when the Slide Show Style is set to 'SlideShow' or 'SlideShowButtons'.
Allows you to specify if the Ribbon Bar is visible or hidden. The default is Visible. This property is only applicable when the
Slide Show Style is set to 'SlideShow' or 'SlideShowButtons'.
Allows you to specify possible directions for the scrolling frames. The options are Horizontal and Vertical. This property is only applicable when the Slide Show Style is set to a 'Button' type style.
qMediaView Procedures
You can perform the following procedures using qMediaView:
•
Configuring qMediaView
1.
Add qMediaView to your page.
2.
Open
ezEdit
.
The Display tab opens by default.
3.
Configure each element as needed and click
OK
.
4.
If needed, configure the elements in the other tabs.
5.
When done configuring each tab, click
OK
.
281
Quick Apps for SharePoint
282
Descargar
Anuncio