Skip to main content

Notifications

Community site session details

Community site session details

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

Including custom component within a larger solution

(0) ShareShare
ReportReport
Posted on by

Hey all,

I've got a custom component built with Power Apps component framework which I need to include into a larger, pre-existing solution. Is there any documentation on how to go about doing that? I've got it building into its own solution currently, but we're trying to avoid needing to distribute one big solution with all the entities and reports and such, then a dozen little solutions each with their own custom component.

  • Diana Birkelbach Profile Picture
    3,072 Most Valuable Professional on at
    Re: Including custom component within a larger solution

    Hi @Anonymous ,

     

    There are a few ways to accomplish that.

     

    1. The manual way:

     - you create a cdsproj Project for the PCFs (

         - "pac solution init",

        - "pac solution add-reference").

    Using it you can create an unmanaged solution for the PCFs, which you can import in your environment. (Take care to generate the release unmanaged version, as I described in my blog)

    - Then you can include the components in the target solution using the customizations (since the PCFs are unmanaged, you can include components in a solution, like any other customizing)

     

    2. Manual way 2:

    @a33ik just posted a new blog with 2 tips. In the second tip, he describes a way to upload  PCF in release version using "pac pcf push" (not absolutely sure if that's supported, but I suppose it works just fine, and you don't have a separate project for the solution). Here is his blog.

     

    3. Clone the target solution in a cdsproj

    - You can use "pac solution clone"  to export and extract the customizations of your target solution in an "cdsproj".

    - Then  use "pac solution add-reference" to add your PCF to the cdsproj you cloned

     - Using "msbuild /p:configuration=Release" you will get a zip for the target solution including the last build of the PCFs (at this step, you don't need an environment for the generation)

     

    4. Way (3.) using the DevOps Pipeline

    You can use DevOps Pipelines when you have a project created with "pac solution clone", as I've wrote in this blog.

     

    Hope it helps,

    Diana

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

🌸 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…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 81 Most Valuable Professional

#2
mmbr1606 Profile Picture

mmbr1606 53 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 48

Overall leaderboard