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
21
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!