Enable or Disable Rating¶
The star rating is enabled by default. You can disable the star rating by configuring the userTheme.json file.
The defaultTheme.js file has all the parameters defining the look and feel of the developer portal. To learn more about defaultTheme.js refer here.
- Open the
<API-M_HOME>/repository/deployment/server/webapps/devportal/site/public/theme/userTheme.jsonfile in a text editor and set thecustom.social.showRatingattribute tofalseif you want to disable the star rating.
{
"custom": {
"social": {
"showRating": false
}
}
}
- Refresh the Developer Portal to view the changes.