web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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

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.

I have the same question (0)
  • 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard