Collated Department News Widget - Akumina Community

Collated Department News Widget

Collated Department News Widget

Purpose

Display a number of news items from specified department sites

Features

    • Displays content that exists in one or more subsites
    • Aggregates news from multiple departments
    • Simple configuration
    • Each subsite should contain a list with the same name

Details

    • Widget Name: CollatedDepartmentNewsWidget
    • Available With:  Release 4.1 and Above
    • Content App Type: N/A
    • Content Type: N/A
    • Content App Name: N/A
    • List Name: N/A
    • Recommended Images Sizes: N/A
    • Dependencies:  Generic list widget

Content

N/A

Properties

List Name Name of the SharePoint list that contains the data to be displayed for this widget instance
Viewxml 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>

Siteslist List of subsites to be used
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

Order By Field that the items are ordered by
Order Direction Order (ascending, descending) that the widget displays
uicallbackmethod Name of the function called after the UI has been rendered to the screen

Views

View Name:  HomePage-DeptNews

View Description:  Displays one main featured news item with  a number secondary news items below it.

View Preview:

 

Views: 252
//]]>