Related News Widget
Purpose
Displays Related News articles based on the article you are currently looking at.
Features
-
- Allows for an configurable number of news items to display
- Selection of the news item to display is determined by tags from the news article you are currently on
- Mobile-ready via Responsive Web Design
Details
-
- Widget Name: RelatedNewsWidget
- Available With: Release 4.5 and above
- Content App Type: Author
- Content Type: N/A
- Content App Name: N/A
- List Name: FoundationNews_AK
- Recommended Images Sizes: Thumbnails – 352 px wide x 250 px tall; Main – 736 px wide x 488 px tall
- Dependencies: SharePoint, 5.5 Hive requires Search API and News Widget
Content
N/A
Properties
List Name | Name of the SharePoint list that contains the data to be displayed for this widget instance. |
Selected List columns | Columns in the SharePoint list that the widget is utilizing.
OOTB: ID,Created,Image,FriendlyUrl,Start_x0020_Date,AnnouncementTitle,Body,Editor,Modified,HubNewsCategory |
# of Items to Display | Number of news items to be displayed on the page. |
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 |
Function to call before binding the UI | OOTB -Blank (used for widget expansion): Name of the function called after the UI has been rendered to the screen |
isasynccallback | True if the callbackmethod should be run asynchronously |
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. |
Site Collection URL | Site collection URL where the SharePoint list defined in “List Name” can be found. |
News Category Field | OOTB – Blank will use HubNewsCategory column field for related news. Name of the column in the list used to specify the metadata tag for related news category. |
Views
View Name: Related News
View Description: Card views of related news with image, tag, published date, and title
View Preview:
View Name: Related News – Modern
View Description: An updated version of the RelatedNews view