Hello Experts,
Are there any alternative approaches to replace Xrm.Page within PCF Control, it's a deprecated feature.
Thanks
-Sri
Hi @DynamicsHulk ,
Nothing from the Xrm.* object is supporte inside the PCFs,: https://learn.microsoft.com/en-us/power-apps/developer/component-framework/reference/?WT.mc_id=BA-MVP-5004107.
If you want to work with attributes on the form, you can define more parameters for your PCF (bound parameters). The platform will provide the values for you, even if they change.
Hello,
The idea of the PCF controls is to be self-contained and not be dependent on the running environment and communicate with running environment using bound/output properties. So usage of Xrm.Page is not only deprecated but it's unsupported.
Can you please explain what scenario you're trying to implement? There might be alternate approaches.
WarrenBelz
87
Most Valuable Professional
mmbr1606
71
Super User 2025 Season 1
Michael E. Gernaey
67
Super User 2025 Season 1