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

vb/helpers/rest does not work in AppUi

Accepted answer
151
Views
2
Comments

Summary:


Content (required):

We have a custom component which triggers one of the API defined in Service connection using the vb/helpers/rest utility. Similar to this blog : https://blogs.oracle.com/groundside/post/web-component-techniques-integrating-components-with-vbcs-service-endpoints

While this works fine in VBCS the same does not work in AppUi extension.

When i tried using the same utility from direct JS (instead of from custom component) then also it did not work.

Generally we do RestHelper.get('serviceId/endpointId') to get the service definition. That does not work.

So i added the Extension id (attribute from vb-extension.json) i.eRestHelper.get('extesnionId:serviceId/endpointId'). 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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