I am getting the following error when using the webAPI in a pcf control when offline: UciError: API can be accessed only when offline is enabled.
I am making a call to retrieveMultipleRecords as follows:
this._context.webAPI.retrieveMultipleRecords
Is there something that I need to enable to get webAPI to work in a pcf control when offline?
Because--offline profiles.
In any case, it does work. Had an issue with the profile loading which was causing the error.
How--on earth--would you expect a retrievemultiple from the server to work when you aren't online?
WarrenBelz
85
Most Valuable Professional
Michael E. Gernaey
57
Super User 2025 Season 1
mmbr1606
55
Super User 2025 Season 1