Forum Discussion
Communication Site Document Library Rating Settings?
The ratings features can be activated using PowerShell. I got the following instructions from Microsoft.
1) The client machine needs to have the SharePoint Online Management Shell components installed ( http://www.microsoft.com/en-us/download/details.aspx?id=35588 )
2) #1 will not install if PowerShell 3.0 is not installed, install from: http://www.microsoft.com/en-us/download/details.aspx?id=34595 (this will require a reboot)
3) Open SharePoint Online Management shell installed in Step #1 Need to Allow PS script SPFeatureCommander.ps1 to run from an elevated PS window, run: Get-ExecutionPolicy to get current setting, then run: Set-ExecutionPolicy Unrestricted to set it to unrestricted.
(think you may need client SDK as well?, http://www.microsoft.com/en-us/download/details.aspx?id=42038.
After those 3 items, extract items from SPFeatureCommander.zip to a folder. In SharePoint Online Management shell navigate to that folder and perform following:
Download SPFeatureCommander.zip from the link https://franktech365-my.sharepoint.com/personal/admin_franktech365_onmicrosoft_com/_layouts/15/guestaccess.aspx?docid=03401ffbb392d4c52889c57c16f8f2865&authkey=AS7wGLQBYMFGNv-u2jRNPFc&e=7b38cfd0c8114685827410d62d39c234
4) Run .\SPFeatureCommander.ps1 from shell. A GUI should open called CSOM SPFeature Commander. Alternatively you can right click on the SPFeatureCommander.ps1 file and select run with PowerShell.
5) Enter their Site URL - https://%3cname%3e.sharepoint.com/ (Please replace the communication site URL)
6) Enter an user name (account must have Admin privileges) and enter the password.
7) In the Feature GUID box, enter following feature GUID value: 915c240e-a6cc-49b8-8b2c-0bff8b553ed3
8) You should see a message in Last Command Output that Feature Activated.
You may refer the below link for other feature GUID's in SharePoint :
https://social.technet.microsoft.com/wiki/contents/articles/18729.sharepoint-2013-list-of-features-id-displayname-compatibilitylevel-and-scopes.aspx
I am getting sign-in error though i have entered correct Microsoft online credentials.
What access we should have to run this script?
- Dave HeffernanApr 27, 2022Brass ContributorHi, I'd expect it to work with site collection admin permission but haven't tested.
- Keith-365Jul 13, 2022Brass Contributor
Dave Heffernan ComputerChic kmktnn
We ran the PnP PowerShell command on the Comms site we need to add Ratings to. The commands ran ok (signed in as an Admin) but the Ratings option is still not available in Library Settings? Any advice/help?
(also, come on MS!!! why make these design decisions. Let the actual paying public decide maybe?)Connect-SPOService -Url https://[TENANT]-admin.sharepoint.com Connect-PnPOnline -url https://[TENANT].sharepoint.com/sites/[COMMS_SITE] -interactive Enable-PnPFeature -Identity 915c240e-a6cc-49b8-8b2c-0bff8b553ed3 -Scope Site -force
- Dave HeffernanJul 13, 2022Brass Contributor
Hi Keith-365, possibly need to raise it with MS. Haven't used the command myself in a while but agree the feature should just be available :0/
Best of luck,
Dave
- ComputerChicApr 27, 2022Copper ContributorI finally got the feature installed on a Communication Site, but just an FYI, the only way to like/vote is to use a list view. I raised the question up to Microsoft to make the Gallery view allow likes and they asked that people vote on the following feedbacks. Please vote:
https://feedbackportal.microsoft.com/feedback/idea/32034521-9cb1-ec11-a81c-000d3a7ce453
https://feedbackportal.microsoft.com/feedback/idea/a8d85c9d-dd1c-ec11-b6e7-0022481f8046
https://feedbackportal.microsoft.com/feedback/idea/8b8eccfe-dd1c-ec11-b6e7-0022481f8914