Today we are making available an updated version of PCF tooling and are excited to announce that this new version (02.856.1) is offering support for dataset controls in the local control harness as well as a number of other enhancements like:
Please make sure to update your Microsoft PowerApps CLI to the latest version 02.856.1 and take advantage of all the latest capabilities by following the upgrade instructions.
If you have any questions please don’t hesitate to respond to this post.
Solved! Go to Solution.
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.
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
I can render the control. I was hoping that I could pass in a table for testing. Thanks for the clairfication.