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

How to update custom field in BUI

Accepted answer
36
Views
5
Comments
edited Jun 18, 2019 9:21PM in UI Extensibility 5 comments

Content

In incident object, we have a custom field Essence ( Objects >> Incident >> CustomFields  >> CustAttrib  >> Essence). This is of type RightNow\Connect\v1_3\CO\Essence.

How do I update this using WorkspaceRecord.updateField() method

Something is wrong in mapping field name. "Incident.C$Essence"

Code Snippet

WorkspaceRecord.updateField('Incident.C$Essence', myCustomImplementation);

<script>
ORACLE_SERVICE_CLOUD.extension_loader.load("CUSTOM_APP_ID" , "1")
.then(function(extensionProvider)
	{
	IExtensionProvider.registerWorkspaceExtension(function(WorkspaceRecord)
		{
		WorkspaceRecord.updateField('Incident.C$Essence', myCustomImplementation); 
		}
	);
	}
);
</script>

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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