Latest Media Widget - Akumina Community

Latest Media Widget

Estimated reading time: 1 min

 

Main Features

  • Provides a listing of videos or images which have been enabled for display in the Gallery using the Image Gallery or Video Gallery App
  • Clicking on an image/video will launch a modal window viewer for that item
  • Supports lazy load of videos/images as the user scrolls the browser window to optimize performance
  • Provides both a summary view of featured items, and a gallery view which can display all items

Uses Content Type: (click to view content type definition)

AkuminaImageGallery, AkuminaVideoGallery

Widget Properties Example Instance

 

Property Details
isroot If false, the list which contains the data for this instance is on the current site.

If true, the list which contains the data is on the root of the Site Collection.

selectfields The data fields (columns) from the SharePoint list that the widget should retrieve for use in this instance.

Values for each of the uses of the LatestMediaWidget:

 

HomePage Photos

ID,_ModerationStatus,Image

Home Page Videos

ID,Visible,Title,MediaThumbnail,VideoId,ChannelId

Media Gallery Photos

ID,_ModerationStatus,Image

Media Gallery Videos

ID,Visible,Title,MediaThumbnail,VideoId,ChannelId

listname Name of the SharePoint list that contains the data to be displayed for this instance.

 

Values for each of the uses of the LatestMediaWidget:

 

HomePage Photos

ImageGallery_AK

Home Page Videos

VideoGallery_AK

Media Gallery Photos

ImageGallery_AK

Media Gallery Videos

VideoGallery_AK

callbackmethod Values for each of the uses of the LatestMediaWidget:

 

HomePage Photos

ShowFeaturedPhotoItems

Home Page Videos

ShowFeaturedVideoItems

Media Gallery Photos

ShowMediaGalleryPhotoItems

Media Gallery Videos

ShowMediaGalleryVideoItems

viewxml N/A for this use
cache interval Sets the time (in secs) 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 in the Digital Workplace configuration

[whole number] = cache for specified time (secs)

ispaging If false, the widget will not display paging controls

If true, the widget will display paging controls (if implemented by developer in widget)

pagesize Sets the number of items to display on each page IF paging is enabled.
media Values for each of the uses of the LatestMediaWidget:

 

HomePage Photos

Photo

Home Page Videos

Video

Media Gallery Photos

Photo

Media Gallery Videos

Video

VIEW View Name = HomePage-Photos

View Template URL =

/Style%20Library/DigitalWorkPlace/Content/Templates/LatestMediaWidget/FeaturedPhotos.html

 

View Name = HomePage-Videos

View Template URL =

/Style%20Library/DigitalWorkPlace/Content/Templates/LatestMediaWidget/FeaturedVideos.html

 

View Name = MediaGallery-Photos

View Template URL =

/Style%20Library/DigitalWorkPlace/Content/Templates/LatestMediaWidget/MediaGalleryPhotoList.html

 

View Name = MediaGallery-Videos

View Template URL =

/Style%20Library/DigitalWorkPlace/Content/Templates/LatestMediaWidget/MediaGalleryVideoList.html

Was this article helpful?
Dislike 0
Views: 71
//]]>