cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
davidyc
Helper I
Helper I

Custom PCF Control Maintenance

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. 

3 REPLIES 3
DianaBirkelbach
Super User
Super User

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.

Kind regards,

Diana

Kind regards,
Diana
----------
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
davidyc
Helper I
Helper I

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.

 

pcf-universal-gantt-chart/Model Driven Guide.md at master · MaTeMaTuK/pcf-universal-gantt-chart · Gi...

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.

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (2,043)