I am new to PCF components. Currently, I am working in Canvas Apps. I want to build a custom PCF component to bring data from either Graph API or SharePoint.
I have seen some examples for model drive apps but not for canvas apps.
Any help would be appreciated!
Hi @EjazHussain ,
In CanvasApps you can use the data outside the Dataverse, and pass it to the PCF using the PCF properties.
You don't have to implement the data fetch inside the PCF.
For instance, you can make a dataset PCF, and pass the SharePoint data to it.
Here is an example from the sdk: https://docs.microsoft.com/en-us/powerapps/developer/component-framework/tutorial-create-canvas-dataset-component?WT.mc_id=BA-MVP-5004107
Hope this helps!
If this doesn't fit to your requirement, maybe you can tell us more about what the PCF should do.
WarrenBelz
109
Most Valuable Professional
Michael E. Gernaey
82
Super User 2025 Season 1
MS.Ragavendar
72