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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / context.resource.getst...
Power Apps
Unanswered

context.resource.getstring not working

(0) ShareShare
ReportReport
Posted on by 2

Hi,

 

We are creating sample PCF control using ReactJs.In that we have 5-6 reactJS component.We pass the PCF context to that component .Using the context.resource.getstring('test') to get text for labels,but we are not getting value for key 'test' at start . it take time to get value from that context.because of that control is not working.same thing work in index.ts file.

 

how we can handle this thing.

 

Thanks

 

I have the same question (0)
  • a33ik Profile Picture
    3,306 Most Valuable Professional on at

    Hello,

    What if you read all the strings in index.ts and pass it to your react components through properties?

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 321 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 289 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 200 Super User 2026 Season 1

Last 30 days Overall leaderboard