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 ...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.
One of the most common question asked in the Power Apps Pro Dev Community Forum is about the PCF version. In some cases, the PCF doesn't seem to get updated, which creates a lot of frustration. So here is everything I know (until now) about this. PCF Version First things first. What is the PCF... Continue Reading →
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 →
Fiddler AutoResponder is a great way to debug the PCF Components. If you don't use it already, let me tell you why you should. If you use it already, what's your recipe?
This is a part of my blog “My Checklist for a Dataset PCF using FluentUI“. What possibilities do we have to open a record and navigate to the form? I can think of three methods: using Navigation.openFormusing Navigation.navigateTo - unsupported (for now?)using dataset.openDatasetItem All of them will work only for the ModelDriven Apps. My favorite... Continue Reading →
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 →
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 →
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 →