web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : 9acR8ueLM6BxVJgoqyIhLy
Power Apps - Power Apps Pro Dev & ISV
Answered

pcf control using webapi offline

Like (0) ShareShare
ReportReport
Posted on 17 Aug 2021 03:09:29 by 9

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?

  • Verified answer
    dasch Profile Picture
    9 on 17 Aug 2021 at 22:54:43
    Re: pcf control using webapi offline

    Because--offline profiles.

    In any case, it does work. Had an issue with the profile loading which was causing the error.

  • cchannon Profile Picture
    4,702 Moderator on 17 Aug 2021 at 12:43:10
    Re: pcf control using webapi offline

    How--on earth--would you expect a retrievemultiple from the server to work when you aren't online?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2