More in this section
Blogs RSS feed

Quick and easy way to extend the News module by making use of the Sitefinity provider model

by User Not Found

In this blog post I will share with you a specific Sitefinity use case and how to go about it.

User story

“As a website administrators I want to have 3 different News modules just like the built-in Sitefinity News module because we have 3 different news authors who should have access to manage only their own news section.”


Make use of the Sitefinity provider model to create a total of 3 providers for the News module and set permissions for each news provider respectively.


News module providers can be created entirely through the Sitefinity admin interface in just 5 steps:

Step 1

Login to Sitefinity CMS and go to Administration -> Settings -> Advanced settings

Step 2

Locate News in the left panel and go to News -> Providers, then click on the Create new button in the right panel and fill the new provider properties

sample values:

Name: CommunityNews

Title: Community News

Description: News about our user community.

Provider type: Telerik.Sitefinity.Modules.News.Data.OpenAccessNewsProvider

Make sure you check the Enable checkbox before saving the changes.


Step 3

Select the newly created provider from the left panel and add an application name parameter for it

Sample values:

Key: applicationName

Value: /CommunityNews


Step 4

Repeat the steps to add one more provider with a different name (e.g. ProductNews) and different value for its applicationName parameter (e.g. /ProductNews)

Step 5

Restart the website from the IIS web server for the changes to take effect. That's it!

You now have 3 different News providers that store news data in the same Sitefinity database and it is possible to assign permissions for each provider. The news data can also be manipulated through the API.

Let’s go to Content Types -> News to see our providers and create one news article under the CommunityNews provider.


Only users who have access to the CommunityNews provider will be able to manage this newly created article. You can set permissions for your issues by going to the Permissions link in the right panel of the screen above and selecting the respective provider to set its permissions.

Display news from a provider

News articles for different News providers can be displayed on Sitefinity pages utilizing the built-in News widget and all its features. To display our community news article on a page, you should add the News widget onto that page, click Edit and go to its advanced properties (bottom right corner of the edit dialog) and then go to the ControlDefinition button to update the ProviderName property of the widget with the name of the desired News provider.


The news widget will then display only news articles from the specified News module data provider. You can also leverage all its features such classification filters, sorting, paging, custom widget templates, and much more.


If you create custom fields for the News content type in general, these custom fields will be applied across all providers. But if all custom fields are the same for all news providers then this approach is perfect for our user story. In case you want to have different custom fields for the 3 different news sections, then you should develop a new content type for the two additional News module.


The provider approach is a very quick and easy way to separate and delegate News management to different stakeholders of the website. You don’t need to write a single line of code to do it.

What do you think about this approach? How do you find its use?


Leave a comment
  1. Betty Jan 17, 2013

    Does this approach work with multisite edition? The news sources don't seem to show up in the list.  Also is there a way of aggregating multiple news sources in a news list? or better yet creating a news source that is an aggregate of other ones?

  2. Anton Jan 18, 2013
    Every site in the  Multisite Edition creates its own News module provider and you can share providers between sites through the interface. Also, things have changed in Sitefinity for the better since this blog post and now the Module Builder should be everyone's ultimate tool for create custom content types that can also be shared across sites in Multisite Edition. At present the built-in news widget can display news from one selected provider only. The team is working on architecting a solution for displaying articles from multiple providers while having performance in mind because when you have sorting and filtering of thousands of articles coming from different providers that are selected on the fly by a user is very likely that there might be a hit on performance, if it is not implement right.
  3. Divya Feb 06, 2014
    I have followed same which u have given in the article.But after refreshing i am not able to see the the  tabs(Community News and Product News.)I have checked the enable check box.I ma using sitefinity trial version.Please help me to fix this issue.
  4. Anton Feb 06, 2014
    Diviya, based on the information you've provided I'm not sure what exactly your issue is but you can also review another article about the benefits of the provider model in Sitefinity that also contains a video. Also, note that your 30-day trial comes with support and you can submit a support ticket from your account providing more details about the project.
  5. Saad Sep 21, 2015
    Hi, how can I do the same with Dynamic Modules. I tried it and I don't see any option to do it for specific dynamic modules only? It applies to all of my dynamic modules. Any help?

    Leave a comment