On Agent BUI Not able to set Incident Primary contact using extensible framework
Content
Hi Everyone,
We are trying to Change Incident primary contact based on logic from Script. we are able to do this through Javascript API and Addins in Agent Desktop. But in Agent BUI using agent extension framework we are not able to set this field. Could you guys please help me on this issue.
function IncidentFunc(ContactID){
//alert(ContactID);
ORACLE_SERVICE_CLOUD.extension_loader.load("CUSTOM_APP_ID" , "1")
.then(function(extensionProvider)
{
extensionProvider.registerWorkspaceExtension(function(WorkspaceRecord)
{
/*
WorkspaceRecord.getFieldValues(['Incident.Subject','Incident.Contact.CId']).then(function(IFieldDetails)
{
alert(WorkspaceRecord);
alert(IFieldDetails.getField('Incident.Contact.CId').getValue());
});
*/
//WorkspaceRecord.updateField("Incident.Subject", "Hi Lage");
0