Looking for advice on the maintenance of PCF controls and likelihood of future power platform updates breaking a custom PCF control? I realise it is a broad question however I'm early on in solution architecture and would appreciate the guidance. I'm building a solution that will be used as an enterprise system, which is why maintenance is an important factor.
Many thanks in advance for advice.
Hi @davidyc ,
Do you have a specific problem you've encountered?
Usually the updates shouldn't break a PCF control, and I don't remember seing this until now.
But it depends on the code. Some implementations works by hazard, but was not meant to work that way. In that case it can happen, that after an update you have problems.
I guess you are looking for a more official statement. I can only tell from what I've experienced.
I'm looking at using an interactive gantt chart similar to the one in the link below as part of a large Model Driven App, which will be sold as a solution to other businesses. Therefore I want to check how reliable, stable and maintainable PCF controls are.
That's a really subjective question, so keep that in mind as I share my opinions on this. I have found PCFs to be very reliable for long-term supportability - more so than formscript, for sure. I think they're probably not as ironclad as a plugin (there are definitely plugins that have been happily cranking along untouched for a decade in many customer implementations), but that is simply the nature of the rapid evolution of front-ends as opposed to the relatively static design of data and event structures.
@DianaBirkelbach and I answer a lot of PCF questions on this forum. In the last year or so, I have probably only seen a handful of "my PCF was working before, now it's broken!" cases. Usually, that is to do with someone accessing non-public object attributes that were left out of the typescript classes specifically because MSFT intended to change them (just because you can find an object in your browser dev tools doesn't mean MSFT wants you to use it!).
Generally, as long as you only use supported mechanisms, your PCF should be rock steady; I think I have only seen one case in the last year where a fully supported approach stopped working 'suddenly', and it was really because there was an underlying issue and the approach was not tested as well as it should have been.
But--of course--none of this means your PCF will be bulletproof. MSFT could put out changes that break your PCF at any time; that's simply the nature of developing on a platform like this (in particular with a comparatively young toolset like PCF). So, if you need to distribute the solution to many consumers, you write the best, safest code you can, then you plan for the worst and figure out how you're going to distribute hotfixes if a future release breaks you. There isn't much else you can do.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
At the monthly call, connect with other leaders and find out how community makes your experience even better.