web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Using the Xrm.Page ins...
Power Apps
Unanswered

Using the Xrm.Page inside a PCF

(0) ShareShare
ReportReport
Posted on by 42

Hello Experts,

 

Are there any alternative approaches to replace Xrm.Page within PCF Control, it's a deprecated feature.  

 

DynamicsHulk_0-1670530962874.png

 

Thanks

-Sri

 

I have the same question (0)
  • a33ik Profile Picture
    3,306 Most Valuable Professional on at

    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.

  • Diana Birkelbach Profile Picture
    3,072 Most Valuable Professional on at

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard