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 Platform Community / Forums / Power Apps / Including custom compo...
Power Apps
Unanswered

Including custom component within a larger solution

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 405 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 368

#3
WarrenBelz Profile Picture

WarrenBelz 244 Most Valuable Professional

Last 30 days Overall leaderboard