3
votes
0answers
29 views

Get webpart's Zone Id via CSOM

How to get Web Part Zone Id via CSOM? WebPart has property ZoneIndex but no ZoneId (http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.webparts.webpart_members(v=office.15).aspx) ...
3
votes
1answer
54 views

Which web part properties can / cannot be edited using CSOM?

For a Content Editor Web Part for example it seems we can update Width but not Content: webPart.Properties["Width"] = "100px"; webPartDefinition.SaveWebPartChanges(); clientContext.ExecuteQuery(); // ...
3
votes
1answer
147 views

Get web part TypeName using CSOM

Can we retrieve the TypeName of a web part using CSOM?
4
votes
3answers
165 views

Add web part so that we can retrieve it later via CSOM?

How to add a web part on page in such a way that we later on can find it (using CSOM) - Can we somehow store identifier information to the web part? Say user could change the title and description (so ...
1
vote
1answer
77 views

Programmatically add ListViewWebPart to Wiki Teamsite homepage with CSOM in SP2013

Someone who can point me into the right direction? Code snippets? Thanks in advance!
1
vote
0answers
96 views

SharePoint-hosted app, with edit mode to update its own properties

I'm using the editMode parameter to detect and display a simple web part admin UI. When the admin clicks a particular button, I want to use CSOM to update the web part's properties for the page it is ...
2
votes
1answer
1k views

How to add Client Web Parts (App Parts) to a page from JavaScript CSOM?

We're working on a custom way of adding and deleting Web Parts and App Parts to a page in SharePoint 2013. We have to use the new App way of developing and all code has to be using the JavaScript ...
-2
votes
3answers
535 views

Why not use Sharepoint 2013 as just a backend for REST / CSOM clients?

This might sound a bit extreme, but now that REST / CSOM API's are more fully featured, why not just write web apps in whatever framework you're comfortable with and utilize the REST / CSOM API's ...