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

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (55,539)