Category: Pcf

Home » Pcf
PCF Controls Tips & Tricks: Writing Testable Static Methods with Dependency Injection
Post

PCF Controls Tips & Tricks: Writing Testable Static Methods with Dependency Injection

Learn why some PCF methods are impossible to test while others achieve 100% test coverage—and how to write testable PCF methods from the start. This in-depth comparison of isInDesignMode() and isAuthoringMode() reveals the critical difference between global state dependencies and dependency injection in Power Apps Component Framework development. Discover why JSDOM's limitations make browser global access untestable, how to leverage PCF context properties for reliable unit tests with Jest, and the design principles that separate maintainable code from technical debt. With real test results showing 5 passing tests versus skipped placeholders, you'll understand exactly how dependency injection transforms PCF code quality. Perfect for developers building enterprise-grade PCF controls who value comprehensive test coverage and sustainable code architecture.

Comic-style illustration of a Power Platform developer using AI-assisted coding, showing human and AI collaboration in enterprise software development
Post

Welcome to AI Dev Me: Power Platform Development with AI Tools

Where Microsoft Technology Meets Intelligent Coding
I’m Zsolt Zombik, a senior Power Platform developer at ELCA Informatik AG, working at the intersection of Microsoft Power Platform and AI-assisted software development.

This blog is not about shortcuts, hype, or “10x developer” promises.
It is about building real, enterprise-grade Power Platform solutions—applications that implement complex business logic, enforce strict security models, scale to large datasets, and run reliably in production.
Everything shared here is based on hands-on, production experience, not theory.