vb/helpers/rest does not work in AppUi
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').
Tagged:
0