Context Service FAQ
- What is Context Service?
- How do I delete objects?
- Why does my object update fail?
- Can I use Context Service with an external data?
- Can I run the management connector and the client connector on the same JVM?
- Where can I find Context Service sample code?
What is Context Service?
Context Service allows you to follow a customer's journey across diverse applications by connecting interaction data together and storing it in the cloud. Context Service is available as an out-of-the-box integration with Cisco Customer Care products, and provides APIs for third-party integrations.
How do I delete objects?
You can only delete objects when you are in Lab mode. Use Lab mode to test, develop, and debug your application. Use production mode when you are ready to deploy your application. You cannot access or move data across different modes. Define the mode using the `ConnectorConfiguration` object. For more information on Lab mode, see the [Context Service SDK Guide](cs-sdk-guide/publish/_connecting.md#client-connector).
Delete a specific object in Lab mode by passing the object URL to ContextServiceClient().delete()
. You can also use the flush()
method in Lab mode to delete all customer, request, activity, or detail data. For more information on deleting objects, see the Context Service SDK Guide.
Why does my object update fail?
To successfully update an object you must:
- Get the object to ensure that you have the most recent
lastUpdated
value using ContextServiceClient.getContextObject()
.
- Update the object.
- Use
ContextServiceClient.update()
to send the updated object values.
For more information, see the Context Service SDK Guide.
Can I use Context Service with an external data store/CRM?
You can use the Context Service Java SDK to import data into Context Service. For more information, see the [Import/Export sample](https://github.com/CiscoDevNet/context-service-sample-code/tree/master/Import_Export_Sample_Code) on the [Context Service sample code GitHub](https://github.com/CiscoDevNet/context-service-sample-code).
Can I run the management connector and the client connector on the same JVM?
You cannot create a management connection and a client connection on the same Java virtual machine.
Where can I find Context Service sample code?
You can find Context Service sample code on the [Context Service sample code GitHub](https://github.com/CiscoDevNet/context-service-sample-code).