cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
naveenm31
New Member

Fetching data from SharePoint list using PnP JS in PowerApps Component Framework

We have created a component using PowerApps Component Framework (PCF). We are trying to use PnP JS to connect to SharePoint list and fetch data from it. But unlike SPFx, in PCF we do not get the context object of type WebPartContext that can be passed to PnP setup.

In SPFX we used to write something like this.

import { WebPartContext } from "@microsoft/sp-webpart-base";
sp.setup({
    spfxContext: this.context
});

How can we get the object that needs to be passed on to the spfxContext in PCF?

1 REPLY 1
Anonymous
Not applicable

Hi

 

I am also exploring on how to integrate custom component in canvas app to sharepoint list.

Have you found anything related to this ?

 

Thanks in advance

Helpful resources

Announcements
October Events

Mark Your Calendars

So many events that are happening this month - don't miss out!

Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Users online (3,738)