Enabling Rating Settings in Lists or Libraries Without Using the Publishing Infrastructure Feature in SharePoint Online
Hello friends, today I will tell you about a nice method that you can use in sharepoint online environments. As you know, when we activate the rating settings in sharepoint lists and libraries, we can use the rating or liking feature for each item.
This feature is only available when we activate the publishing infrastructure feature, that is, publishing infrastructure feture, on sites created as publishing sites or other sites.
With SharePoint Online, modern design has entered our lives and we may not use the publishing features in this structure. But in this case, when we go to the settings of the list or libraries, you will see that it is not in the rating setting.
You want to use this feature but do not want to activate the publishing feature. There is a feature that allows you to activate only this, but this is not a feature you can see on the front. You can use the powershell code below for this.
$SiteURL = "https://yunusemrearac.sharepoint.com/"
Enable-PnPFeature –identity 915c240e-a6cc-49b8-8b2c-0bff8b553ed3 -Scope site
Instead of “https://yunusemrearac.sharepoint.com" in the powershell code above, it will be enough to run the “SharePoint Online Management Shell” open as an administrator by typing the address of the site you want to activate the feature.
If you follow the above steps without any problems and your powershell code is completed without any errors, when you come back to the settings section of your list, you will see that it comes in the “Rating settings” option under the “General Settings” heading.
As you can see above, our feature has been activated and we can use it in all lists on the site where we define it. If you want to use this feature on other sites, you will need to make this setting again for each site.