Department News Widget - Akumina Community

Department News Widget

Department News Widget

Purpose

Displays the four most recent news articles from the current site (can be used on the parent or subsites)

Features

    • Highlight the 4 most recent department news articles to a department site of your choice.

Details

    • Widget Name: DepartmentNewsWidget
    • Abailable With:  Release 4.1 and Above
    • Content App Type: Author
    • Content Type: AkuminaNews
    • Content App Name: Department News 
    • List Name: DeptNews_AK
    • Recommended Images Sizes: 900 x 500 px
    • Dependencies: SharePoint

Content

Title Title that displays on the site, and in the content app list
Body Content that will display when the item is clicked into
Expires Date and time when the special announcement will expire and no longer display
Start Date The date that the article will start displaying
Announcement Title Title that displays on the site on top of the image
Summary Summary that will display on the ‘View All News’ page
Image Image that displays in the widget and in the article
Friendly URL URL that displays after the article is published, will reflect the Title

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.

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.
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>

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 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 Specifies the site collection URL for a central and delivery site
dependencies Widgets that this widget depends on, in this case the GenericListWidget

Views

View Name:  Foundation Subsite Home Department News

View Description:  A responsive news content layout, that highlights one item and lets you scroll through up to 3 additional items.

View Preview:

 

View Name:  Subsite Home Department News

View Description:  A responsive news content layout, that highlights one item and displays 3 additional items below it.

View Preview:

Views: 293
//]]>