Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
maxLevel3

Enabling user reviews

Follow the steps below to enable adding user reviews, if you have set a port offset in your G-Reg server, or if you have hosted WSO2 G-Reg in another server other than localhost.

If you did not start the G-Reg server before:

  1. Navigate to the <G-REG_HOME>/repository/deployment/server/jaggeryapps/store/config/store-tenant.json file.
  2. Change the host and/or port accordingly in the value of the socialAppUrl property as shown in the example below (i.e. when you have set a port offset of 1).

    Code Block
    languagejava
     "features": {
            "social": {
                "enabled": true,
                "keys": {
                    "socialScriptSource": "%https.host%/social/export-js/social.js",
                    "socialScriptType": "text/javascript",
                    "socialAppUrl": "%https.local%/social"
                }
            },

If you started the G-Reg server at least once:

  1. Log in to the Management Console of WSO2 G-Reg using the following uRl and admin/admin credentials: http://<G-REG_HOST>:<G-REG_PORT>/carbon
  2. Click Main, and then click Browse in the Resources menu as shown below.
    select registry browse option
  3. Select the /_system/config/store/configs/store.json file as shown below.
    select the file
  4. Click the Edit as text option in the Content section.
  5. Change the host and/or port accordingly in the value of the socialAppUrl property as shown in the following example (i.e. when you have set a port offset of 1): "socialAppUrl":"https://localhost:9444/social"

Adding a user review 

Follow the steps below to add a user review in the G-Reg Store.

...