powerappspowerapps-canvasazure-analysis-servicespowerapps-formulapowerapps-modeldriven

How Can we update variable or text in Power Apps


I am trying to update variable or text in Power App canvas using same Power app.

When user click on Power App button it should show state of azure analysis service either Running or Paused state in Power App itself, want to show state of service in same screen.

I have a power app canvas which is having Button and calling flows by clicking Power App button.

Flow will call some API and get some data stored in JSON and finally storing required value in some variable.

So I want to update that same value back to Power App canvas where I have text field.

Please help how can I achieve this ?

Below is Power App Canvas:

enter image description here

Below is flow calling in Power App Button:

enter image description here

So How Can I update the values which are coming from http --> Json --> Variable value into Power App Text field.


Solution

  • you can user set or updatecontext operation to return data from your flow

    Take a look at this MS Docs

    Additional article for help