Update a Search / Report Field in workspace BUI extension
Hello, could you help me whit this question
I'm trying to create a BUI extension, which updates some fields in the workspace
Currently I'm able to update, plain text, dates, yes or no fields.
But I cannot update a "Search" field, this field is attached to a report field
This is the code that I'm using:
ORACLE_SERVICE_CLOUD.extension_loader.load(
myAppId,
extensibilityApiVersion
).then(
function(extensionProvider){
extensionProvider.registerWorkspaceExtension(
function(workspaceRecord){
workspaceRecord.createWorkspaceRecord('Incident').then(
function(incidentWorkspaceRecord){
incidentWorkspaceRecord.updateFieldByLabel(
'Incident.QG$RelatedIncident',
'220323-000000'
); } ); } ); } );
I used the UpdateField function as well:
ORACLE_SERVICE_CLOUD.extension_loader.load(
myAppId,
extensibilityApiVersion