You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Update Custom contact field from incident workspace

Received Response
35
Views
3
Comments
edited Aug 14, 2019 5:05AM in UI Extensibility 3 comments

Summary

Update Custom contact field from incident workspace in BUI

Content

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

18B

Code 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.
                });
            });

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!