Canvas app code component error "Couldn't import components"
If you are developing code components (PCF) for canvas apps you'll be used to using the 'Get more components' panel. When adding the code-component to the canvas app, occasionally you will receive the...
View ArticleSwap out old code-components with new using the Power Platform CLI
If you have canvas apps that use code components then you will be used to the hard link between the namespace of the code component and the canvas apps that use it. Also, if you have your canvas apps...
View ArticleError Handling Update/Patch in CommandBar Power Fx buttons
As you know, I'm 'super excited'* about the new Power Fx low-code Command Bar buttons (First Look Video) (Ribbon Workbench compared to Power Fx) - especially the ease at which you can update multiple...
View ArticleModernized Business Units - perhaps finishing off something that was always...
You might have seen the announcement about Modernized Business Units in Microsoft Dataverse.I made a video on it as well to show you the opportunities that it opens up when designing Microsoft...
View Article'ComponentFramework' is not defined - eslint with pac pcf init
At some point, over the last few months, a change was introduced to the Power Platform CLI such that if you have the ESLint VS Code add-in installed, after using pac pcf init, you may see an error in...
View ArticleWatch out for PCF (code-components) sort silently failing
One of the biggest causes of unexpected bugs in canvas apps is the delegation of queries. For instance, if you want to sort by the owner of an account, you can use the Power Fx...
View ArticleExplicit package exports in the latest version of Fluent UI might break your...
If you are using Fluent UI in your code components (PCF) you probably are also using path-based imports to reduce your bundle size. This technique ensures that when you build your code component, the...
View ArticleHow to convert a pcf code component to a virtual control
The long-awaited 'virtual control' feature is finally in preview which means you can start to try converting your controls to be virtual - but what does this actually mean?What are virtual code...
View ArticleReact 18 is not compatible with Fluent UI and how to work around it in PCF...
React version 18 has recently been pushed into npm which is great if all of your components support it, however, if you are working with Fluent UI then you may stumble across the following error:npm...
View ArticlePower Apps ESLint plugin replaces Solution Checker for TypeScript code
The Power Apps team have had a long-standing quality tool called the Solution Checker. This was built into the Dataverse solution management interface, ALM Power Platform Build Tools and even a...
View ArticleHow to update multiple records in a model-driven app grid using Power Fx...
If you wanted to add a button to a command bar to perform an update on multiple records in a grid, you can easily create a formula that results in slow performance caused by multiple grid refreshes....
View ArticlePerform complex Dataverse FetchXml queries using Power Fx (from a Canvas App)
One of the constant challenges we face when writing canvas apps and custom pages using Power Fx is ensuring that the queries we use are always delegatable. Not all operators are delegatable to the...
View ArticlePerform ExecuteMultiple in batches and changesets from TypeScript using...
My free tutorial course on writing Dataverse web resources has been available for over a year now, and it has had over 1000 people enrol! The course uses version 1 of dataverse-ify, and of course over...
View ArticlePower Fx delegation of 'in' operator against Davaverse
Delegation of queries in Canvas Apps/Custom Pages has long been a troublesome topic and we are always looking out for the triangle of doom, or the double blue underline of eternal stench (well, it is...
View ArticleFirst look at PCF dynamic schema object outputs
One of the new features now supported in PCF (Power Apps Component Framework) code components are 'object outputs'. A PCF component has a manifest file that defines the inputs/output properties that it...
View ArticleHigh severity vulnerability in pcf-scripts package due to dependency on xml2js
Have you noticed recently that when you run npm install on your PCF projects, you get a high severity vulnerabilities error (or maybe you were spammed by the GitHub 🤖 dependabot like I was)?Luckily,...
View Article