Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

[SharePoint Online] Issue with ReputationModel.Reputation.setRating

$
0
0

We deployed a custom made application a few weeks ago where we used reputation.js for a custom rating functionality in SharePoint. Early this morning we started encountering issues with this functionality. After investigating I'm getting this error:

TypeError: this.get_pendingRequest(...).$2b_0 is not a function
at SP.ClientRuntimeContext.addQueryIdAndResultObject (sp.runtime.js:2)
at Function.Microsoft.Office.Server.ReputationModel.Reputation.setRating (Reputation.js:1)

This happens whenever I call this specific code block:

rating = Microsoft.Office.Server.ReputationModel.Reputation.setRating(ctx, listId, id , star);

It was working a few days back but suddenly stopped working without us changing anything. Were there any changes recently deployed to SharePoint Online that might have affected this?


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>