Async requests inside PCF init and updateView

In quite a few cases, when we develop PCFs we need to make external requests. Even if the runtime provides metadata for the properties we define, sometimes we need some more. Or maybe we need to grab some more data from Dataverse or an external service. One easy way would be to make this requests... Continue Reading →

Lookup PCF – let’s dive deeper

Lookup PCF ...the second.. this time for real! I had a look how a Lookup PCF works, what I can do with it and what not, how to detect the settings made by the maker, and more.... Even if the most of it is not supported for now, it helps me understand the Lookup role in the PCF-puzzle.

PCF Debugging

Let's suppose you have the debug version of your PCF uploaded in your environment. How do you debug? Of course we don't want to use minimized code. To get the debug version of the code we have a few ways Use the debug Harness by using "npm start watch"Using Fiddler AutoResponder, as shown in my... Continue Reading →

FluentUI granular imports

Microsoft FluentUI (the ex Office UI Fabric) is often used to develop PCF components, since the controls have a very similar look and feel with the out of the box controls. But take care how you import it in your modules! Some examples in the documentation are importing the controls like this: Of course, there... Continue Reading →

Can PCFs communicate?

A PCF component is isolated in a sandbox. It gets a piece of the document (a div) where it can play, and it's allowed to report when the value(s) changed. That's it. I totally understand that the components has to be in "isolation", but what if they need to "tell" more? Platform way: Communication through... Continue Reading →

PCF: getOutputs

The getOutputs method of the PCF components seems pretty self-explaining: (https://docs.microsoft.com/en-us/powerapps/developer/component-framework/reference/control/getoutputs) It is called by the framework prior to a component receiving the new data. Returns an object based on nomenclature defined in manifest, expecting objects[s] for the property marked as bound or output. I was a little unsure about the possibility of PCF components to set the... Continue Reading →

Website Powered by WordPress.com.

Up ↑

%d bloggers like this: