News Archive

The SharePoint list that hosts the news published in the SharePoint intranet, sorted by publication date and filterable by category.

What is News Archive

This web part facilitates access to all the intranet's news articles, thoughtfully sorted by publication date and filterable by category. This functionality allows users to effortlessly navigate through the archive, ensuring a straightforward and tailored approach to information retrieval. Customize and configure filters according to your preferences to enhance your intranet browsing experience.

Explore the advantages of Intranet.ai News and Communications by clicking here to learn more.


Add the News Archive web part to a SharePoint page

  • If your page is not already in edit mode, click Edit at the top right of the page.

  • Click on it and, in the web part search box, enter News Archive to quickly find and select the IAI-NewsArchive web part.


Configuration

News source settings

These settings allow you to specify the data sources to be linked to the web part. In this section, you can also configure filters to improve user search.

  • If you're not in edit mode already, click Edit at the top right of the page.

Complete the section as follows:

  • Select sites: select the sites from which to take the news to be shown in the archive. You can enter the URL of each site and click the corresponding checkbox.

  • Use the hub site?: if you enable this option, the hub site will be used as source for the news.

  • Insert list of favorite news: insert the URL of the favorite news list (stored in the Site contents of the intranet) to allow users to flag their favorite news.

  • Configure filters: in this window, you can configure the various filters to be applied to your news.

  • In the first column, write: owstaxId + the name of the column used to assign metadata to the news.

  • In the second column, copy-paste the id of the term set. To do this, go to the Term store and find the id of the term set.

To access the Term store, take the following steps:

  1. Click on the Settings icon at the top right of the page, then click on Site information.

  1. Click on View all site settings.

  1. Under Site Administration, click on Term store management.

  1. You will land on the Term store, which is the area where you can create term sets and terms, i.e. tags to categorize your content. Here you need to copy the unique identifier of the taxonomy, which is a code composed of numbers, letters and hyphens.

  • The third column refers to the title of the filter you wish to display in the web part. The title can be exactly the same as the term set name, or you can give it a different one.

  • You can then choose whether or not to display the filter, the tag attached to the news and the search bar (which is useful if there are many filters).

  • As regards the Stop reordering field, by default the tags in the filter drop-down menu are ordered alphabetically. If you flag this box, the tags will keep the same order they have in the term set.

  • Finally, you can decide whether the filter drop-down menu will be open or close by default.

If you want to discover more about filters and the Term store management, click here.

The following settings allow you to pre-filter results, which means that you can show only specific types of news instead of the whole news archive. To do so, you need to configure the fields below.

  • Enter the field name: enter the name of the column used to assign metadata to the news.

  • Enter the unique id of the term set: copy and paste the id of the desired term set (which you can find in the Term store).

  • Then, select the tag(s) you want to appear in the news archive.

  • Finally, choose whether to use the id or the label for filters.

  • Here, you can choose to filter news by audience. If you enable this option, news will be visible only to the groups they are targeted to.

  • You can choose the number of news items to load in the web part.

  • You can then choose to sort news by author name (in this case, write "author"), or by title (in this case, write "title"). If you leave the field empty, news will be sorted by publication date.

  • You can also choose to sort results in ascending or descending order.

  • You also have the possibility of disabling the favorites functionality.

  • On translated pages, by default the web part also shows news that hasn't been translated. The Hide untranslated news option allows you to display only the news articles that have been translated into the language of the page.

If you create a translation and save it as draft, it won't be visible until it's published.

General settings

In this section, you can choose the layout of the news archive and decide whether to show specific information on the news.

  • If you're not in edit mode already, click Edit at the top right of the page.

First of all, you can choose the archive display mode: Default, Compact, or Summary. The screenshots below provide examples of the three options:

General settings: Default and Compact layouts

  • Select where to open the news: you can choose whether the news item will be opened on a new page or on the same page.

  • Show creation date?: you can choose to display or hide the creation date of the news article.

  • Show author?: you can choose to display or hide the author of the news article.

  • Show the source site?: you can choose to display or hide the name of the news source site.

  • Select which icon to use for likes in the default and compact views: you can either use a thumbs up icon or a heart icon to identify likes.

  • Show likes?: you can choose to display or hide the number of likes.

  • Show comments?: you can choose to display or hide the number of comments.

  • Show views?: you can choose to display or hide the number of views.

General settings: Summary layout

  • Select where to open the news: you can choose whether the news item will be opened on a new page or on the same page.

  • Show creation date?: you can choose to display or hide the creation date.

  • Do you want to show tags?: you can choose to display or hide the tags applied to news.

  • Show likes?: you can choose to display or hide the number of likes.

  • Show comments?: you can choose to display or hide the number of comments.

  • Show views?: you can choose to display or hide the number of views.

Summary display settings

These settings are specifically related to the Summary view mode.

  • If you're not in edit mode already, click Edit at the top right of the page.

  • Enter the URL which will be opened by clicking below: this field corresponds to the See all news button at the bottom of the web part. You can choose what page the user will land on by clicking on this button. This could be another news archive page with all the news of the site, or a system page.

  • Enter the application title: here you can choose to customize the web part title. If this field is not filled in, the "News archive" title will appear by default.

  • Enter the "All news" button label: this field allows you to customize the title of the All news button in the upper right corner of the web part. If this field is not filled in, the "All news" title will appear by default.

  • Enter the "Popular news" button label: this field allows you to customize the title of the Popular news button in the upper right corner of the web part. If this field is not filled in, the "Popular news" title will appear by default. The Popular news section highlights news with the highest number of views. Therefore, if you click on this button you'll see the news articles which have obtained the most views. To go back to the previous view, you just need to click on the All news button.

  • Enter the "See all news" link label: this field allows you to customize the title of the See all news button at the bottom of the web part. If this field is not filled in, the "See all news" title will appear by default.

  • Do you want to choose the height of the application?: if you want to choose the height of the web part, select Yes and enter the height of the application in the field below. If you select No, the web part will adapt to the number of news items you have chosen to display.

  • Do you want to view pinned news?: choose whether to include a section of pinned news (i.e., highlighted news) at the top of the web part.

  • Enter the manage property field for the pinned news: if you have decided to show a section of pinned news, here you need to enter the name of the column used to pin news. Then, use the field below to decide the number of highlighted news you want to show.

Please refer to our guide "Create a column for pinned news" to learn how to set up a column for managing pinned news.

  • Filter popular news based on publication day?: if you want to set a time frame for popular news, activate this option and select the number of days in the field below.

For example, you can decide to show the most popular news of the month.

  • Select which icon to use for likes in the summary view: you can either use a thumbs up icon or a heart icon to identify likes.

  • Do you want to disable the popular news section?: if you want to deactivate the Popular news functionality, select Yes. The All news and Popular news buttons will disappear.


Create a column for pinned news

This step will allow you you to set up a column within the backend of your intranet for configuring pinned news.

  • To enter your intranet backend, simply click on Site Contents.

  • Scroll down to Sites Pages and click on Settings.

  • Under the Columns section, click on Create column.

  • Name the column “IAIPinnedNews”.

  • Select the column type: Yes/No (check box).

  • In the Default value field, select No.

  • Click on Ok to save your updates.

  • Once you've created the column, you need to go back to the Site Pages to select the news you want to highlight (pin).

  • Scroll down and select the Pinned field.

  • Repeat this step for the other news you wish to highlight.

  • Go back to the page with the News Archive web part and, in the Summary display settings, insert the manage property field in the required field. The manage property needs to start by ows + the name of the column type Yes/No you created before: IAIPinnedNews.

  • If the pinned news doesn't show up at the top of the list, please be patient as the changes load.

It may be necessary to force the creation of the manage property, in this case you need to access to the admin center of your intranet (it is not always accessible to everyone). Please contact the contact person if you can't access this area.

When you are done, don't forget to publish your edits by clicking on Republish at the top right of the page.


Configure the News archive favorites list

The News archive favorites list requires a specific configuration so that users can interact with the list and mark news items as favorites. To learn how to configure this list, read the dedicated guide. In particular, please refer to the First type of configuration section.

Last updated