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

Announcements

News and Announcements icon
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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 431

#2
WarrenBelz Profile Picture

WarrenBelz 360 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 280 Super User 2026 Season 1

Last 30 days Overall leaderboard