Exclude News Links from News WebPart in SharePoint Online
SharePoint Online offers the useful feature of news links to avoid duplication of news articles and promote existing posts across different sites. This is especially beneficial when news creation is enabled for various departments or directorates, allowing them to share significant news organization-wide.
However, the News WebPart might display both the news links and the original articles, resulting in duplicated content.
To manage this, you can utilize the OriginalSourceUrl
column, which stores the link to the source news article.
All SharePoint columns are indexed, and the managed property for the OriginalSourceUrl column is OriginalSourceUrIOWSTEXT.
To exclude news links from the News WebPart, follow these steps:
- Edit the News WebPart.
- Select the managed property OriginalSourceUrIOWSTEXT.
- Set the field to Doesn’t contain and specify the domain name (e.g., contoso).
This will filter out the news links from the News WebPart, ensuring only the original news articles are displayed.