Department News List Widget - Akumina Community

Department News List Widget

 

Department News List Widget

Purpose

Displays a specified number of the most recent news articles from a department site.

Features

    • Provides a summary list of the items in the news list
    • Displays and Orders the items based on their Start Date
    • Does not display items that have reached their Expiration Date
    • Includes a link to the full news listing page

Details

    • Widget Name: DepartmentNewsListWidget
    • Available With:  Release 4.1 and Above
    • Content App Type: N/A
    • Content Type: AkuminaNews
    • Content App Name: N/A 
    • List Name: DeptNews_AK
    • Recommended Images Sizes: N/A
    • Dependencies:  Generic List Widget

Content

N/A

Properties

 

List is on Root Site 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.

Selected List Columns Columns in the SharePoint list that the widget is utilizing
Enable Paging If false, the widget will not display paging controls

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

Items/Page Sets the number of items to display on each page IF paging is enabled.
List Name Name of the SharePoint list that contains the data to be displayed for this widget instance
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.
isasynccallback True if the callbackmethod should be run asynchronously
View XML The viewxml contains any special manipulation of the data that needs to be done by the widget BEFORE it gets render by the specified view.  In this case, the viewxml is set to the following string:

<View><Query><OrderBy><FieldRef Name=’Start_x0020_Date’ Ascending=’FALSE’></FieldRef></OrderBy><Where><And><Leq><FieldRef Name=’Start_x0020_Date’></FieldRef><Value IncludeTimeValue=’TRUE’ Type=’DateTime’><Today ></Today></Value></Leq><Or><Geq><FieldRef Name=’Expires’ ></FieldRef><Value IncludeTimeValue=’TRUE’ Type=’DateTime’><Today ></Today></Value></Geq><IsNull><FieldRef Name=’Expires’ ></FieldRef></IsNull></Or></And></Where></Query><RowLimit>4</RowLimit></View>

Callback Type Type of callback method that the widget uses
dataloadproperties
Cache Interval Sets the time, in seconds, 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 specific time, in minutes

Order By N/A
Order Direction Order (ascending, descending) that the items display
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
Site Collection URL
Site collection URL where the SharePoint list defined in “List Name” can be found.
dependencies Widget that this widget depends on, in this case the GenericListWidget

Views

View Name:  Subsite News Details Side Content

View Description:  A stacked list of department news articles with image and title

 

View Preview:

Views: 175
//]]>