Skip to main content
Community site session details

Community site session details

Session Id : yIXYQT9yJq396JqIiHHTxG
Power Apps - Power Apps Pro Dev & ISV
Unanswered

More than one control development in PCF Solution

Like (0) ShareShare
ReportReport
Posted on 15 Dec 2020 12:02:00 by

Is it possible to have more than one different control in PCF solution?

 

I am planing to have a similiar folder structure for my Power Apps PCF components.

My package.json is like that;

 

  "scripts": {
    "build""pcf-scripts build",
    "clean""pcf-scripts clean",
    "rebuild""pcf-scripts rebuild",
    "start""pcf-scripts start"
  },
 

How can I give a specific control as parameter to pcf-scripts?

 

  • ControlLibrary
    • ControlFolder#1
      • index.ts
      • manifest.xml
    • ControlFolder#2
      • index.ts
      • manifest.xml
    • SolutionFolder
    • *.pcfproj
    • psconfig.js
    • package.json
    • ...
  • magesoe Profile Picture
    80 on 15 Dec 2020 at 12:49:17
    Re: More than one control development in PCF Solution

    You would have to write something yourself that calls pac PCF push if you want to do it for all projects at the same time. Otherwise you could just call it individually in each controls folder.

     

    Microsoft's preferred way of bundling PCFs is by using the add reference command

     

    pac solution add-reference --path c:\downloads\mysamplecomponent

     

    And then calling msbuild to get a solution with all referenced controls.

    https://docs.microsoft.com/en-us/powerapps/developer/component-framework/import-custom-controls

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

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

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1

Loading complete