Configuring UGC on JSP Web site
The cd_ugc_conf.xml file is the configuration file for UGC.
Procedure
- Access the SDL Tridion installation media.
- Navigate to the Content Delivery\resources\configurations\ folder and copy cd_ugc_conf.xml to the WEB-INF/classes/ directory of your Web site.
- Open cd_ugc_conf.xml in a plain-text or XML editor.
- Configure UGC by editing the following elements:
ODataEndPoint-
Set the
URLattribute of this tag to the URL of the Content Delivery Web service that JSP tags must post submitted ratings and comments to. Security-
Set the attributes of this optional element, used for Web service authentication, as follows:
Attribute Value EndpointSet to the URL of the Access Token Server. ClientIdSet to the client ID (user name) to authenticate. ClientSecretSet to the client secret (that is, password) to authenticate. You specified these parameters when you implemented authentication for the Content Delivery Web service. Refer to the SDL Tridion documentation for details.
- Save and close cd_ugc_conf.xml.