Register today for Oracle CloudWorld. October 17th - 20th, Las Vegas

Register now

Hillel Cooperman, Senior VP of User Experience Design, has a message for you on Oracle CloudWorld

Watch now
Update a Search / Report Field in workspace BUI extension — Cloud Customer Connect
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 a Search / Report Field in workspace BUI extension

Accepted answer
1
Views
2
Comments
edited Jun 13, 2022 4:13AM in General Technical Discussions 2 comments

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       

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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