Announcements
I am working on a PowerApps application where I use the Patch
function to update a record in my Dataverse Offline table. After the Patch
, I want to get the ID of Bill same as the code below for next screen.
When I test the app in a web browser, everything works perfectly — the data syncs immediately after the Patch
, and I can see the updated record. However, when I public and use the app on a mobile device, the data doesn't refresh instantly after the Patch
, leading to delays in showing the updated data and the id not showing on the next screen
Is there any way to resolve this issue and ensure that the data syncs properly and immediately after Patch
when the app runs on mobile? What steps should I take to fix this?
This is a code in OnSelect property of patch Button
ClearCollect(
NewBill,
Patch(
Bills,
Defaults(Bills),
{'Status Invoices': "Draft"}
)
);
Set(
_idBill,
First(NewBill).ID
);
_idbill
for the Patch
function of the Done button, so it can save the gallery data to the correct ID BillNavigate
command to a new screen, but the record hasn't updated yet, so the ID doesn't show on the next screen.Set(_idBill,
Patch(
Bills,
Defaults(Bills),
{'Status Invoices': "Draft"}
).ID)
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.