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 Apps
Unanswered

PCF Code splitting

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

As the pcf component grows in size, is there a way to split the code resources and use them dynamically during runtime ?

since pcf does not allow more than 1 code resources in the control, the only option remains is to create and refer to a webresource, and use it in the pcf project. What is the recommended way to achieve this ? and how to refer a webresource from pcf control, via rest or is there any Xrm Api ?

I have the same question (0)
  • Hemant Gaur Profile Picture
    Microsoft Employee on at

    PCF should not refer to the web resource directly.  Currently the control can only be packaged as one unit. We will release support for shared library type of control in future. 

    For production controls use the release mode build which is much less size. 

     

     

    hemant 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard