cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PowerApps Staff Craig-MSFT
PowerApps Staff

Re: New PCF Tooling version now available!

Bill,

You may still be on the older version of our npm modules. When you run 'pac install latest', this upgrades your CLI version so that you are using the latest, but the version of npm module that you use is governed by the package.json file in your PCF projects.

One change that we announced with this update is that you should change the related devDependencies lines in the package.json file of your PCF projects.

From:

"devDependencies": {
"pcf-scripts": "~0",
"pcf-start": "~0"
}

To:

"devDependencies": {
"pcf-scripts": "^0",
"pcf-start": "^0"
}

Now, while in the directory of your project, you can run 'npm update' to get the latest npm modules. To verify, open up the node_modules directory, scan down to 'pcf-start' and open the package.json file in that module's directory. If you have the current version, you will see:

"_id": "pcf-start@0.2.59",

Regards,

cl.

 

alchin
Level: Powered On

Re: New PCF Tooling version now available!

Hi Bill,

 

A brand new PCF control using the dataset template will by default not have anything to render in the control harness.  To visualize a dataset control in the harness you can refer to one of the sample dataset controls that have been published with the public preview.

 

Thanks,

Alex

Highlighted
BillOwens
Level: Powered On

Re: New PCF Tooling version now available!

I can render the control. I was hoping that I could pass in a table for testing. Thanks for the clairfication.