SharePoint Online - Rest API - Create webpart site

%3CLINGO-SUB%20id%3D%22lingo-sub-42934%22%20slang%3D%22en-US%22%3ESharePoint%20Online%20-%20Rest%20API%20-%20Create%20webpart%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-42934%22%20slang%3D%22en-US%22%3E%3CP%3EI%20try%20to%20create%20a%20webpart%20page%20using%20Rest%20API.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESofar%20I%20can%20create%20a%20new%20site%20based%20on%20a%20template.%20Now%20the%20difficult%20part%20is%20coming%20%3B)%3C%2Fimg%3E%3C%2FP%3E%3CP%3EOn%20the%20site%20I%20have%20a%20few%20webparts.%20I%20need%20to%20change%20some%20webpart%20properties.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20this%20possible%20using%20rest%20or%20some%20kind%20of%20client%20site%20scripting%3F%3C%2FP%3E%3CP%3EGoogled%20a%20lot%20but%20not%20a%20good%20direction%20yet.%3C%2FP%3E%3CP%3ECan%20someone%20point%20me%20to%20the%20right%20direction%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%20Mike%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-42934%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAPIs%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-42936%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Online%20-%20Rest%20API%20-%20Create%20webpart%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-42936%22%20slang%3D%22en-US%22%3ENot%20sure%20about%20REST%20API%2C%20but%20I%20think%20is%20do-able%20with%20JSOM.%20Check%20if%20these%20links%20can%20help%20you%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fmsdn.microsoft.com%2Fen-us%2Flibrary%2Foffice%2Fhh185010(v%3Doffice.14).aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fmsdn.microsoft.com%2Fen-us%2Flibrary%2Foffice%2Fhh185010(v%3Doffice.14).aspx%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22http%3A%2F%2Fsharepoint.stackexchange.com%2Fquestions%2F131459%2Freading-web-part-properties-using-javascript-object-model-in-sharepoint-2013%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fsharepoint.stackexchange.com%2Fquestions%2F131459%2Freading-web-part-properties-using-javascript-object-model-in-sharepoint-2013%3C%2FA%3E%3C%2FLINGO-BODY%3E
Regular Contributor

I try to create a webpart page using Rest API.

 

Sofar I can create a new site based on a template. Now the difficult part is coming ;)

On the site I have a few webparts. I need to change some webpart properties.

 

Is this possible using rest or some kind of client site scripting?

Googled a lot but not a good direction yet.

Can someone point me to the right direction?

 

Thanks, Mike

1 Reply