Site Feed Web Part in SharePoint

A site feed web part is not visible in the list of web parts when provisioning the web part on pages of sub sites even though the Site Feed feature is activated on the web.

Hello All,

We have the requirement to add a Site Feed web part on a sub site of our publishing portal. But when we attemted to add a Site Feed web part manually on a sub site we couldn't find it.

Web Parts available

Figure 1: Web Parts available to provision on the page

Actually a Site Feed web part should be available in the Social Collaboration group.

Our initial thought was that the web level feature “Site Feed” was not activated and so we activated that. But even after activating the feature also we couldn't find the Site Feed web part, we got the same result. This is really surprising. Ideally after activating the “Site Feed” feature the web part should be available in the web part list, ready to provision on the page.

Then we took a look at the feature definition of the “Site Feed” feature and the Feature.xml file looks such as follows:

Site Feed

Figure 2: Feature.xml file for “Site Feed” feature

The preceding feature has two manifest files and the “webpartdwpfiles.xml” file has the module that provision this web part in the web part galleries as shown in the following figure.

galleries

The actual problem lies in the preceding Module definition. The Module has the attribute that says RootWebOnly=”TRUE”. So we need to activate this feature on the root web also and then on the sub site where we require the Site Feed feature.

After activating “Site Feed” feature on the root web, we can add the web part on sub sites also.

Thanks!
Enjoy SharePoint.
Please feel free to submit any queries and/or feedback.

Up Next
    Ebook Download
    View all
    Learn
    View all