Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
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

 

  • Diana Birkelbach Profile Picture
    3,072 Most Valuable Professional on at
    Re: Using the Xrm.Page inside a PCF

    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.

  • a33ik Profile Picture
    3,304 Most Valuable Professional on at
    Re: Using the Xrm.Page inside a PCF

    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.

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 87 Most Valuable Professional

#2
mmbr1606 Profile Picture

mmbr1606 71 Super User 2025 Season 1

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 67 Super User 2025 Season 1

Overall leaderboard