Recent News Widget
Purpose
Displays the most recent news from the FoundationNews_AK list based on user profile data.
Features
-
- Displays most recent news articles with image, category tag, title and publish date
- Display has three categories:
- All – shows all items
- Departments – shows items based on the current user’s department
- Local – shows items based on the current user’s city
- News items are ordered in descending order with latest news items shown first
- Item is hyperlinked using the FriendlyURL to the dynamic display page for the content
- Mobile-ready via Responsive Web Design
Details
-
- Widget Name: RecentNewsWidget
- Available With: Release 4.5 and Above
- Content App Type: Company News
- Content Type: Author
- Content App Name: News-Company News
- List Name: FoundationNews_AK
- Recommended Images Sizes: N/A
- Dependencies: SharePoint
Content
Title | Title that will display in the Content App list |
Body | Rich text that will makeup the body of the News article |
Expires | Date and time when the news article will become inactive and no longer display |
Start Date | Date that the article will |
AnnouncementTitle | Title that will be displayed for the news Item |
Summary | Summary of the news item |
StaticUrl | url that will be used for the news detail page |
Image | Image that will be used for the new item |
featured | Checkbox to set it item is featured or not |
HubNewsCategory | Managed Metadata for tagging |
PublishedBy | User who is attributed to the article |
Job Title | Job title of user who is attributed to the article |
Add Attchment | Attached file associated with the news article |
Properties
Selected list columns | Columns in the SharePoint list that the widget is utilizing | |
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 |
|
List Name | Name of the SharePoint list that contains the data to be displayed for this widget instance. | |
Hide Department | Hide the department tab | |
Hide Local | Hide the local tab | |
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 | |
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 |
|
|
User Context Token | Token that can be used to target the data to the logged in user |
Views
View Name: recentnews.html
View Description: Displays a stacked list view of recent news with tabs for viewing other news categories
View Preview: