Create the configuration setting

You create a custom configuration setting in Oracle Service Cloud for communicating with Oracle Social Cloud.

Before you begin

You can use the CUSTOM_CFG_Accel_Ext_Integrations file as a template; it is in the /social/cx/imports/sample_config folder that you downloaded.

Procedure

  1. In Oracle Service Cloud, click the Configuration button on the navigation pane.
  2. Under Site Configuration, double-click Configuration Settings.
    The Configuration Settings editor appears, with the search window open.
  3. Click Cancel to close the search window.
  4. Click New in the ribbon, then select Text.
  5. Fill in the following fields:
    Field Value
    Key CUSTOM_CFG_Accel_Ext_Integrations
    Type Interface
    Required Yes
    Default
    {
    "AdminProfileID":ID_number,
    "hosts": [
    	{
    	"rnt_host": "your_site_interface",
    	"integration": 
    		{
    		"server_type": "Oracle Social Cloud",
    		"ext_base_url": "http://Oracle_Social_Cloud_server_base_url/",
    		"log_type": "SCLog",
    		"log_level": "Debug",
    		"max_SRM_rows_fetch": 200,
    		"channel_constraints": [
    			{
    			"channel": "twitter",
    			"constraints": [
    				{
    				"reply_mode": "public",
    				"char_limit": 140,
    				"include_social_handle": true
    				},
    				{
    				"reply_mode": "private",
    				"include_social_handle": false
    				}]
    			},
    			{
    			"channel": "facebook",
    			"constraints": [
    				{
    				"reply_mode": "public",
    				"char_limit": 20,
    				"include_social_handle": false
    				},
    				{
    				"reply_mode": "private",
    				"char_limit": 30
    				}]
    			}],
    		"ext_services":
    			{
    			"conversation": 
    				{
    				"update":
    					{
    					"relative_path": "engage/v1/conversations/{0}/external_references/{1}?
    					bundleId={2}"
    					}
    				},
    			"conversation_reply": 
    				{
    				"list":
    					{
    					"relative_path": "engage/v1/conversations/{0}/contributions?
    					bundleId={1}&limit={2}&flatten=true&category=original,private"
    					},
    				"create":
    					{
    					"relative_path": "engage/v1/conversations/{0}/contributions?bundleId={1}"
    					}
    				}
    			}
    		}
    	}
      ]
    }

    where:

    ID_number is the profile ID of the site administrator, for example, “AdminProfileID”:2

    your_site_interface is the name of your Oracle Service Cloud site, for example, mysite.example.com

    Oracle_Social_Cloud_server_base_url is the base URL of the Oracle Social Cloud server, for example, SocialCloud-api.example.com

    Maximum Length 300000
  6. Click Save.

Results

CUSTOM_CFG_Accel_Ext_Integrations is listed in the Configuration Settings editor when you search for settings in the Custom folder.