cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
hortigas
Frequent Visitor

wait for process data - custom component

Hi, I am new to power apps component framework and typescript. I made a component that receive a string and give a output based on that string, the problem is, Power Apps isn't waiting for the output to update. ex:


Set(varComponentInput, "data");
Set(varOutput, component.Output)

varOutput is blank

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @hortigas  - this is because the calls are event driven - rather than synchronous. We have just got events for custom canvas component - so I expect custom events for PCF will follow - but until now you will need to add logic to the 'OnChange' event of your PCF component.

View solution in original post

1 REPLY 1

Hi @hortigas  - this is because the calls are event driven - rather than synchronous. We have just got events for custom canvas component - so I expect custom events for PCF will follow - but until now you will need to add logic to the 'OnChange' event of your PCF component.

View solution in original post

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

secondImage

Power Apps Community Call

Please join us on Wednesday, October 20th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,479)