Forum Discussion
Rahul Suryawanshi
Nov 28, 2018Copper Contributor
Adding Client Side Web Part with SharePoint CSOM on Modern page
I know there is PnP Core CSOM or PnP PowerShell cmdlet to add client side web part on particular modern page but trying to know if there are any Microsoft CSOM APIs as part of Microsoft.SharePointOnl...
BertJansen
Microsoft
Nov 29, 2018Hi,
There are no official CSOM API's for manipulating client side pages but we're working on a graph API for creating/updating modern pages. This API however has not yet been released. As an alternative, you can use .Net API in PnP Sites Core when you use C# code. That same API is also wrapped into a series of PnP PowerShell cmflets in case you prefer PowerShell
- Rahul SuryawanshiNov 29, 2018Copper ContributorThanks Bert for your quick response. I was able to do this with PnP Sites Core and was just wondering if there are Official CSOM APIs. Currently we don't have dependency on PnP Site Core packages in our implementation and wanted to see if we can continue that.
Thanks again!