I have a model driven app, dataverse, and Custom Page.
In my model driven app entity form, I bring up a custom page dialog with a RadioGroup that reads items off a dataverse table. When this dialog submits, it changes its own data source, and return contorl to the entity form.
From my form and if I bring up my dialog again, the items in the radiogroup stay the same, even though the previous submit should have change some condition in the backend.
Is there some sort of caching issue going on? How do I explicitly refresh the databinding on the screen?
Note that, after the first submit, if I hit F5 refresh from my web browser, then reload the entity form then bring up the dialog, the radio buttons do show correctly.
that did it. thank you!
I actually tried that and it didn't work. I have in my formula 2 data sources, and I refreshed only 1 of them which didn't work. I put in 2 refresh statement and it worked. I might have refreshed at the wrong event (app.OnStart) also. screen.OnVisible is the right event.
Hi,
You can use Refresh([DATASOURCE]) on the custom page Screen's OnVisible property, this will force PowerApps to update the data
Regards,
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional