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
- Hema_29Mar 01, 2022Copper Contributor
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
- 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
- kmktnnMar 11, 2021Iron Contributor
Since SPFeatureCommander.zip is not available, you can...
Connect-SPOService -Url https://Tenant-admin.sharepoint.com -Credential you@Tenant.onmicrosoft.com
Connect-PnPOnline -url https://Tenant.sharepoint.com/sites/CommunicationSite
Enable-PnPFeature –identity 915c240e-a6cc-49b8-8b2c-0bff8b553ed3 -Scope site
- menitinApr 07, 2020Copper Contributor
Dave Heffernan Hi Dave - I am facing an error in activating this feature .
Can you please help on this ?
Error is :
An error occurred activating Feature: 915c240e-a6cc-49b8-8b2c-0bff8b553ed3
Error detail: You cannot call a method on a null-valued expression.- Dave HeffernanApr 22, 2020Copper ContributorHi, afraid it's not something I've seen before. I'd raise it with Microsoft if you can, the solution was initially supplied in a response to a service request.
Best of luck!
- sharepointguruFeb 10, 2020Copper ContributorHi,
I ran the script and the feature got activated and also I have enabled Ratings setting. But Still I don't see Like button on the Discussions. Does it takes time to get the Like button reflected on discussions and replies?
Thanks- Dave HeffernanFeb 13, 2020Brass ContributorHi,
Afraid I've never tried it on Discussions lists so not sure if they support it.
Dave
- NuttychickJul 19, 2019Copper ContributorGreat skills Dave, this worked a treat
- Filip WuytsDec 13, 2018Brass Contributor
Thanks for this! I was facing the same problem. Management has asked me to set up an ideation platform in SharePoint. I'm setting up a POC based on MS Forms, MS Flow and a SharePoint communication site (the end-user facing front-end) with a few lists. I wanted to present users a list with ideas suggested by others, with the option to like them, so that I can introduce some kind of ranking into the list and to make it more "social".
The rating feature is indeed available only on team sites and not on communication sites, but this procedure worked perfectly to add it. It just saved me half a day of work (setting up the site, configuring the flows), as I was afraid I would have to do it all over again on an team site.
Cheers!
Filip
- Lluis BuenoJul 13, 2018Copper Contributor
Hi, Dave.
My I have that SPFeatureCommander.zip file? The link you provided is not working now.
Thank you!
- Dave HeffernanJul 17, 2018Brass Contributor
Here you go :)
- mohamed_basithMar 13, 2019Copper Contributor
Dave Heffernan Thanks for the file. I am able to activate Rating Feature in communication site and able to rate it . Will this be reliable as i m going to use in it PRD . Is this microsoft recommended?