Displays a specified number of the most recent news articles from a department site.
N/A
| 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 |
|
|
| dependencies | Widget that this widget depends on, in this case the GenericListWidget |
View Name: Department News List - Modern
View Description: A stacked list of department news articles with image and title
View Preview: