Tag Archives: PCF

Making a PCF control readonly

Up until now, none of my PCF controls were meant to be readonly. But, of course, it would only make sense to prevent updates for inactive records and/or when some of those controls are set to be readonly in the form designer: Dynamics Ninja has already described the basics in his earlier post: https://dynamicsninja.blog/2019/11/25/is-your-pcf-control-read-only/ Just… Read More »

PCF controls in Canvas Apps and why using Xrm namespace might not be a good idea

  I wanted to see how a custom PCF control would work in a canvas app, and, as it turned out, it just works if you make sure this experimental feature has been enabled in the environment: https://powerapps.microsoft.com/en-us/blog/announcing-experimental-release-of-the-powerapps-component-framework-for-canvas-apps/ You also need to enable components for the app: https://docs.microsoft.com/en-us/powerapps/developer/component-framework/component-framework-for-canvas-apps So, since I tried it for the Validated… Read More »