Question

I would like to start building SFPx web parts which interact with lists in my site, but I am having a hard time figuring out List interactions. Where can I go other than the tutorials from Microsoft (Here; These seem to go from very basic to very complex without a middle step).

I've tried to figure out sfpxHelper and spServices, but neither had documentation I was able to follow to get these setup properly.

Was it helpful?

Solution

To do CRUD operations with SharePoint lists and libraries, you can take a look at the GitHub sample by Waldek Mastykarz.

The sample does CRUD operations on SharePoint lists using multiple frameworks like React, Angular, PnP js and simple NoScript sample as well.

It will give you a basic idea to create , update and delete items in the SharePoint list. The NoScript sample uses spHttpClient to do these operations.

Github reference link - SharePoint CRUD

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top