Update Custom contact field from incident workspace
Summary
Update Custom contact field from incident workspace in BUIContent
Hi all,
I have a workspace where contact fields are also added. I am not able to set the value of contact custom fields from incident workspace using updatefield method or workspace record.
Thanks,
Bishnu
Version
18BCode Snippet
ORACLE_SERVICE_CLOUD.extension_loader.load("USI", "1.0") .then(function(extensionProvider) { extensionProvider.registerWorkspaceExtension(function(WorkspaceRecord) { alert(WorkspaceRecord.getWorkspaceRecordType()); //returns Incident WorkspaceRecord.updateField(field, value); //where field in a contact field. This will obviously not work as the WorkspaceRecord is Incident. }); });
Tagged:
0