How to create SharePoint Enterprise Wiki pages with CSOM
The following code sample shows how to create a SharePoint Enterprise Wiki Page with CSOM on your On Premise or SharePoint Online environment.
The following code sample shows how to create a SharePoint Enterprise Wiki Page with CSOM on your On Premise or SharePoint Online environment.
It’s only possible to work with the SharePoint Management Shell when the executing AD user is member of the SQL SharePoint_Shell_Access group in the configuration database of SharePoint.
To delete all lists of a Web you can use this little PowerShell script.
To read taxonomy field value(s) from a list item via CSOM can be quite cumbersome. Chris Domino explained those problems very detailed in his blog post. I had the same problem that the CSOM API did not create the expected objects by itself but just returning a key value dictionary containing the taxonomy values. So Read more about Get Taxonomy Field Values with CSOM Programmatically[…]
With this code snippet you are able to create a Folder in a SharePoint list (or library) with the usage of CSOM.
When you are querying a big bunch of list items you should consider to use paging functionalities. For example you could download 2000 items within ten separate requests were each one queries a bulk of 200 items.
This will spare the server performance and speeds up the transfer over the wire. When downloading all items at once can lead to a time-out for example.
When developing a custom web based application (like ASP.NET in conjunction with IIS) that relies on the usage of the SharePoint server side object model you have to make sure that your code is valid in security related terms. Microsoft integrated a functionality that protects the system against cross-site scripting attacks. The protection is always Read more about SharePoint custom web service with SSOM and Request Digest[…]
I found a great article about the SharePoint Client Object Model on CodeProject. It’s based on SharePoint 2010 but it is still valid for 2013 and I’m pretty sure for upcoming versions.
When you already know the full URL of the file you can use this code: In the following example we check if a certain file (Item_TwoLines.js) is existing in the Master Page catalog with the usage of CAML. When the item variable is not null, the item is existing. So should be the attached file. Read more about Check if file exists in list / library with CSOM[…]
SharePoint ist eine Web-Anwendung der Firma Microsoft, die folgende Anwendungsgebiete abdeckt: ZUSAMMENARBEIT Beispielsweise das Verwalten von Projekten oder die Koordination von Aufgaben SOZIALE NETZWERKE Beispielsweise über persönliche Webseiten, Team-Webseiten, Diskussionsgruppen und Blogs INTRANETPORTALE Portalseiten zur Darstellung von Abteilungen, Firmen oder Arbeitsgruppen CONTENT-MANAGEMENT über Dokumentenmanagement-Funktionen, Inhaltsverwaltung, Metadaten und benutzerangepasste Suchfunktionen Die aktuellste Version ist SharePoint 2013. Read more about SharePoint[…]