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 ?
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
WarrenBelz
87
Most Valuable Professional
mmbr1606
71
Super User 2025 Season 1
Michael E. Gernaey
65
Super User 2025 Season 1