BUI Get Contact name in Incident workspace
Content
Hi All,
In BUI extension i am trying to get contact first and last name in incident workspace but it throws null even if my contact name are entered. Below is my code
ORACLE_SERVICE_CLOUD.extension_loader.load("CUSTOM_APP_ID" , "1")
.then(function(extensionProvider)
{
extensionProvider.registerWorkspaceExtension(function(IWorkspaceRecord)
{
IWorkspaceRecord.getFieldValues(['Incident.PrimaryContact.Name.First']).then(function(IFieldDetails)
{
conval=IFieldDetails.getField('Incident.PrimaryContact.Name.First').getLabel();
});
});
});
0