Search Results for

    Show / Hide Table of Contents

    Class ListRatingExtensions

    Enables: Ratings / Likes functionality on list in publishing web.

    Inheritance
    System.Object
    ListRatingExtensions
    Namespace: Microsoft.SharePoint.Client
    Assembly: PnP.Framework.dll
    Syntax
    public static class ListRatingExtensions : object

    Methods

    SetRating(List, VotingExperience)

    Enable Social Settings Likes/Ratings on list. Note: 1. Requires Publishing feature enabled on the web. 2. Defaults enable Ratings Experience on the List 3. When experience set to None, fields are not removed from the list since CSOM does not support removing hidden fields

    Declaration
    public static void SetRating(this List list, VotingExperience experience)
    Parameters
    List list

    Current List

    VotingExperience experience

    Likes/Ratings

    Back to top PnP Framework
    Generated by DocFX with Material UI
    spacer