1

I am working on an enterprise wiki site collection inside SharePoint 2013 , I have enabled page rating, but I find a problem, as follow:-

  1. User create/edit a wiki page.

  2. While on edit mode the user Rate the page (by clicking on the rating starts)

  3. Save the page

The problem is that the user will receive the following error:-

enter image description here

So can anyone advice what is the recommended approach to overcome this issue ? is disable rating on edit mode an approach that can be achieved ? Thanks

1

I don't think there would be a way around. Because it seems that they have intentionally kept this feature and hence provided the Save Conflict popup to deal with the situation.

Update :

Using Page Layout you can hide it as follows.

Wrap

<b>
                    <SharePoint:EncodedLiteral runat="server" text="<%$Resources:cms,enterwiki_pagerating%>" EncodeMethod="HtmlEncode"/></b>
                    <div>
                        <SharePointPortalControls:AverageRatingFieldControl FieldName="5a14d1ab-1513-48c7-97b3-657a5ba6c742" runat="server"/></div>

within following

<PublishingWebControls:EditModePanel class="ewiki-margin" PageDisplayMode="Display" runat="server">

</PublishingWebControls:EditModePanel>
  • but can i hide the rating section in edit mode from the page layout ? – john Gu Dec 2 '14 at 23:50
  • 1
    I haven't tried this but since you can always modify the Page Layout using SharePoint Designer 2013. It seems possible (at least theoretically). – Amit Tyagi Dec 3 '14 at 17:00
  • seems i can not add "ControlMode:Display" for the <SharePoint:EncodedLiteral runat="server" text="<%$Resources:cms,enterwiki_pagerating%>" EncodeMethod="HtmlEncode"/></b> – john Gu Dec 3 '14 at 20:59
  • 1
    Check out my update. It worked for me. – Amit Tyagi Dec 3 '14 at 21:44
  • 1
    I was having Page Rating and Categories. And, i didn't needed both :-). Hence, i wrapped it completely. – Amit Tyagi Dec 4 '14 at 0:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.