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 / Updated PCF Tooling ve...
Power Apps
Unanswered

Updated PCF Tooling version is now available (August 2019)!

(6) ShareShare
ReportReport
Posted on by Microsoft Employee

The updated version of PCF tooling (PowerApps CLI) is now available! Today we released new capabilities for several of our most popular feature requests in the PowerApps CLI. We are now providing PowerApps component framework developers the ability to not only see changes in the test harness as they are made but to also push components directly into an org using the CLI. These innovations will greatly speed up the development inner loop!

 

The push capability will make you more efficient because it bypasses the custom component versioning requirements and does not require you to build your solution in order to import into your development environment. The watch capability removes the need to reload your test harness after every change is made.

If you have not yet updated your PowerApps CLI to the latest version, this release is definitely the time to do it!  To get all the latest capabilities, please install the latest MSI by following the tooling documentation .

Once you have the latest version of the CLI you can always refer to the tooling documentation or get quickly started using the steps outlined below.

Enable Watch Mode in the Test Harness

The test harness can be set up to watch and recompile the source code of your PowerApps Component Framework projects. To enable watch mode, start the test harness using the command “npm start watch” from the command prompt. The watch capability will detect changes in index.ts, ControlManifest.Input.xml, other bundled .ts files, and all resources declared in the manifest, then rebuild your component and automatically update the test harness without having to restart it.

Push Component to your Org

To start pushing your custom component directly into an environment, there is a quick but essential step of setting up your authentication profile in the CLI. This setup is a one-time effort where your profile can be saved for future connections. Here is how to do it:

To start with, please create your authentication profile using the command:

"pac auth create --url"

Now that you have an authentication profile, you can start pushing your updated component by following two simple steps:

1. In your VS command prompt, go to the root directory of your custom component project
2. Run the command "pac pcf push --publisher-prefix"

Let us know what you think!

We hope you enjoy the newly added features and are excited to hear what you thinks about them. If you have questions or other feedback, please let us know on the PowerApps component framework forum. We look forward to hearing from you!

  • Kristoffer88 Profile Picture
    87 on at

    Nice work!

    Looking forward to take a look at this tomorrow at work. 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Nice work team, can’t wait to try this out. Very slick improvements there.

     

    Edit:   Tested the Push deploy function.... can confirm works great in my instance!

  • AKhaing Profile Picture
    45 on at

    Thanks for the update. Push component is a time saver!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at
  • RajYRaman Profile Picture
    270 on at

    This is a great productivity booster. Thank you this update.

     

    On a side note, the issue with updating the CLI when the path contains spaces has not still be fixed. So, I end up using

    nuget install Microsoft.PowerApps.CLI -OutputDirectory "%LOCALAPPDATA%\Microsoft\PowerAppsCLI" instead of pac install latest.

     

     

  • Craig-MSFT Profile Picture
    Microsoft Employee on at

    rajyraman,

     

    Have you run the latest MSI?

     

    As background, there are two parts to the CLI. First, there is the CLI launcher and second, there is the CLI itself. The MSI installs the CLI Launcher and this is the tool that lets you install and pin versions of the CLI on your machine. 

     

    The space issue you referenced seems like one that was fixed in the CLI Launcher and to get this you will need to re-run the MSI (see link below). You can do this over the top, no need to uninstall. If you look in %LOCALAPPDATA%\Microsoft\PowerAppsCli the version of pac.launcher.exe should 0.4.2 (or higher).

     

    Regards,

    cl.

     

    Link: https://aka.ms/PowerAppsCLI

     

    P.S. Everyone should run the new MSI to ensure that you have the latest launcher.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hey guys,

     

    I can get the push deployment working, but struggling to get Watch harness running (comes up with invalid sub-command "watch").

     

    PS C:\PCF_Controls\_PCF\ABNACNSearch\mycontrol> npm start watch
    
    > pcf-project@1.0.0 start C:\PCF_Controls\_PCF\mycontrol
    > pcf-scripts start "watch"
    
    [pcf-1041] [Error] Not a valid sub-command 'watch'.

    Cheers

     

    Andrew

     

  • peterv333 Profile Picture
    Microsoft Employee on at

    Hi Andrew,

     

    Can you please validate that all the latest npm modules are pulled down for your project by running npm install? What version of node are you running? 

  • RajYRaman Profile Picture
    270 on at

    100% correct. Installed the new msi and the update works fine. Thank you @Craig-MSFT 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @peterv333 wrote:

    Hi Andrew,

     

    Can you please validate that all the latest npm modules are pulled down for your project by running npm install? What version of node are you running? 


    Hi Peter thanks for coming back to me, version info below:

     

    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community>npm version
    { npm: '6.10.2',
     ares: '1.15.0',
     cldr: '33.1',
     http_parser: '2.8.0',
     icu: '62.1',
     modules: '64',
     napi: '3',
     nghttp2: '1.34.0',
     node: '10.15.3',
     openssl: '1.1.0j',
     tz: '2018e',
     unicode: '11.0',
     uv: '1.23.2',
     v8: '6.8.275.32-node.51',
     zlib: '1.2.11' }
    
    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community>pac install latest
    Feeds used:
     https://api.nuget.org/v3/index.json
     C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\
    
    Installing package 'Microsoft.PowerApps.CLI' to 'C:\Users\aly3\AppData\Local\Microsoft\PowerAppsCLI'.
     GET https://api.nuget.org/v3/registration3-gz-semver2/microsoft.powerapps.cli/index.json
     OK https://api.nuget.org/v3/registration3-gz-semver2/microsoft.powerapps.cli/index.json 414ms
    Package "Microsoft.PowerApps.CLI.0.4.3" is already installed.
    
    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community>

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 381 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard