Displays the enabled media images and videos.
| Name | File name (.jpg name) |
| Tags | Tags associated with the item |
| Title | Title that displays on the site, and in the content app list |
| Date Time | The date and time that the item was uploaded |
| Comments | Contributors comments |
| Keywords | Keywords selected to be tagged on item |
| Image | Image that displays |
| Description | Optional description of item |
| Publisher | Name of Publisher |
| Widget Framework | Determines the type of framework the widget provides. Value = react |
| Query | Determines the filter options to display on the media page.
Defines the search data filter options to be displayed in JSON format. The title is the token name to be displayed. Example:
Customize your query: If you want to return all media items that have been tagged with “book”, you would use the following for the “Query” widget property value:
The important things to note are the parentheses around the “OR” statement (so it reads “is content type X OR Y as well as tagged with Z”) and the backslashes in front of the quotes for the tag (this “escapes” the character so it remains valid what is called JSON). If you wanted to query for multiple tags, inside the second set of parentheses you would add AND followed by another owstaxidmetadataalltagsinfo:\”tagname\”. |
| Search Across Sites | Determines to search for news across sites or news from this site only.
When checked, searches for news across all sites. If not checked, searches this site only. |
| # of Items to Display | Determines the number of media items to be displayed on the page. OOTB default set to 9 media items. |
| Selected list columns | Determines the columns to be retrieved from the SharePoint list.
Example: OriginalPath,Title,Filename,FileType,PictureThumbnailURL,DefaultEncodingURL,LastModifiedTime, MediaServiceMetadata,ListId,ListItemId,ViewsLifeTime,UniqueId,PublisherOWSUSER,FileType,Size, PictureWidth,PictureHeight,Description,Created,owstaxidmetadataalltagsinfo,ContentTypeId,SitePath |
| Refiners | Defines the term store values to be displayed for the search properties in JSON format.
Name - the name of the alias in search schema Display name - name to display in the drop down for field refinement Id - corresponding term id Example: {"termStoreId":"e4a2c259-351b-41b2-b033-c1fd666dc73f","termSetName":"Category","terms":} |
| Sort By | Defines the managed metadata to be displayed for the search sort properties in JSON format.
Example: |
| Function to call before binding the UI events | OOTB -Blank (used for widget expansion): Name of the function called after the UI has been rendered to the screen |
| Function to call after fetching data | OOTB -Blank (used for widget expansion): Name of the function called after data has been fetched by the widget. |
| Cache Interval | Sets the time, in minutes, that the data should be saved in the local browser cache of the current user.
· 0 = Do not cache the data for this widget · -1 = Use the default caching strategy set via Site Creator Whole Number = Cache for specific time, in minutes |
View Name: Media View Description: Displays the enabled media images and videos. View Preview: