This page was last edited on March 2, 2018, at 17:56.
Comments or questions about this documentation? Contact us for support!
External Co-browse resources, such as localization files or custom chat templates, must be served via JSONP. Genesys Co-browse provides a simple way to serve resources using JSONP.
To serve a resource, put the resource into the "static" Jetty webapp directory (server/webapps/static in Co-browse deployment) of every Co-browse node in your cluster. You can then reference the resource as http://<COBROWSE_SERVER_URL>/static/your-resource.extension.
Supported extensions are *.json, *.html, *.xml.
Suppose you wanted to override one key in the localization files so that the title of all UI dialogs would be "My Company" instead of "Co-browse". You could accomplish this by doing the following:
{
"modalTitle": "My Company"
}
<script>
var _genesys = {
cobrowse: {
localization: 'http:<COBROWSE_URL>/static/my-localization.json'
}
};
</script>