Hello,
i have created a virtual react pcf control that is added to a custom page which is embedded in a model driven app.
The control has a button that updates an account record on button click.
This is working while being online but not when triggering the event in the Power Apps mobile App with offline mode enabled.
Is the webapi offline supported for this scenario?
Thanks!
HI @Tekina ,
I don't think it's a PCF issue, They work offline, including the WebAPI, as you tested on the form.
But the CustomPages are not available offline for now. That's listed in the limitations of the Custom Pages: https://learn.microsoft.com/en-us/power-apps/maker/model-driven-apps/model-app-page-issues#:~:text=Native%20player%20support%20is%20available%20for%20iOS%2C%20Android%2C%20and%20Windows%20in%20online%2Donly%20mode.%20Offline%20support%20currently%20isn%27t%20supported.
Hi a33ik,
I've added the control directly to a field on a form and it is working in offline mode.
So the issue is probably related to the PCF control being added as custom code component to the custom page.
Please see sample code below:
Hello,
Not sure in regards to the combination of Custom Page + PCF control but PCF Control by itself should work fine. There are some specifics around the usage of WebApi working in Offline mode. Can you please provide the code that performs the update?
WarrenBelz
85
Most Valuable Professional
Michael E. Gernaey
65
Super User 2025 Season 1
mmbr1606
55
Super User 2025 Season 1