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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / [BUG] - getResource re...
Power Apps
Answered

[BUG] - getResource returns undefined when used in local development

(0) ShareShare
ReportReport
Posted on by 3,498 Most Valuable Professional

Hi all,

When I am trying to get images in local development using getResource function I am getting undefined instead of base64 string of an image. When I upload control to dynamics everything works just fine. Code that I use to get images I take from this sample component

I have the same question (0)
  • Hemant Gaur Profile Picture
    Microsoft Employee on at
    This should work, might be some recent regression, we re reviewing.
    Additional we are adding default implementations for PCF APIs like Device API pickFile in this sample, so harness would be more closer to actual powerApps.

    Hemant
  • Verified answer
    sgpchenchang Profile Picture
    Microsoft Employee on at

    @OOlashyn, getResource method is not yet supported in the test harness. We are hoping to include this support in one of the coming releases.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,045

#2
Valantis Profile Picture

Valantis 675

#3
11manish Profile Picture

11manish 592

Last 30 days Overall leaderboard