Questions tagged [sharepoint]

For SharePoint-specific questions, please see the SharePoint Stack Exchange (https://sharepoint.stackexchange.com) site. Use this tag for programming questions which may involve SharePoint. Microsoft SharePoint is a platform and a family of software products developed by Microsoft for collaboration and web publishing.

Wiki

Microsoft SharePoint is a software platform and a family of software products developed by Microsoft for collaboration and web publishing combined. These capabilities include developing web sites, portals, intranets, content management systems, search engines, wikis, blogs, and other tools for business intelligence and collaboration.

SharePoint comprises a multipurpose set of Web technologies backed by a common technical infrastructure. By default, SharePoint has a Microsoft Office-like interface, and it is closely integrated with the Office suite.


Products

This family of products include:

  • Microsoft SharePoint 2010
  • Microsoft SharePoint 2013
  • Microsoft SharePoint 2016
  • Microsoft SharePoint 2019
  • Microsoft SharePoint Online (Office 365)
  • Microsoft Office SharePoint Server
  • Windows SharePoint Services
  • Microsoft SharePoint Foundation
  • Microsoft Search Server
  • Microsoft SharePoint Designer
  • Microsoft SharePoint Workspace

Documentation


Tag usage

The tag can be used for programming related questions which may involve implementation of SharePoint technologies. For SharePoint-specific questions, please visit the SharePoint Stack Exchange.


Wiki links

29091 questions
30
votes
9 answers

Auto number column in SharePoint list

In a SharePoint list I want an auto number column that as I add to the list gets incremented. How best can I go about this?
78lro
  • 1,790
  • 7
  • 37
  • 63
30
votes
6 answers

Using Asp.Net MVC with SharePoint

Is it possible to use the Asp.Net MVC framework within SharePoint sites?
Ashish Sharma
30
votes
5 answers

SharePoint Rest API how to get Access Token?

Just starting to work with SharePoint and Microsoft authentication and trying to get a SharePoint List into a JavaScript App. From Microsoft documentation, I need to use the following: GET https://{site_url}/_api/web/lists/GetByTitle('List…
L H
  • 1,145
  • 3
  • 12
  • 25
30
votes
3 answers

CAML query with nested ANDs and ORs for multiple fields

I am working on proof-of-concept code to dynamically generate CAML based on keywords provided to a highly-specific search web service that I am writing. I am not using the SharePoint-provided search web service for this proof. I have done so already…
Alban
  • 704
  • 1
  • 6
  • 11
30
votes
8 answers

How can I include value of sharepoint's version column in a word document?

I'm trying to work out a way to display the contents of the version column from SharePoint (i.e. the value that changes every time a file is checked in) as a field (or something similar) inside of a Word document. Ideally, I'd like to know how to…
Daniel LeCheminant
  • 50,583
  • 16
  • 120
  • 115
30
votes
4 answers

Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401)

We have SharePoint 2013 Servers that were patched with windows updates and since then we are receiving the following error. We have restarted the servers, removed the windows updates manually and then restarted the servers, restored to a copy of…
Baahubali
  • 4,604
  • 6
  • 33
  • 72
30
votes
12 answers

SharePoint 2013 get current user using JavaScript

How to get current user name using JavaScript in Script Editor web part?
Kate
  • 1,495
  • 4
  • 21
  • 35
29
votes
7 answers

How to upload a file to sharepoint site using python script

Is there a way to upload a file on sharepoint site using python script? I tried installing haufe.sharepoint, but it seems like it failed to fetch ntlm while it was installing, and I can't even use the connector module without having ntlm…
user3590460
  • 371
  • 1
  • 3
  • 7
29
votes
4 answers

How to access a sharepoint site via the REST API in Python?

I have the following site in SharePoint 2013 in my local VM: http://win-5a8pp4v402g/sharepoint_test/site_1/ When I access this from the browser, it prompts me for the username and password and then works fine. However I am trying to do the same…
Indradhanush Gupta
  • 4,067
  • 10
  • 44
  • 60
29
votes
4 answers

SharePoint : How to check for null with a CAML Query?

I have this CAML: query.Query = @""; This checks if the value of MessageID = string.empty() What I would like to check for is null.... not empty string... Is this…
JL.
  • 78,954
  • 126
  • 311
  • 459
29
votes
3 answers

Error :The remote server returned an error: (401) Unauthorized

I want get picture of internet and insert into word . I use this code . MainDocumentPart mainPart = wordprocessingDocument.MainDocumentPart; System.Net.WebRequest request = …
ar.gorgin
  • 4,765
  • 12
  • 61
  • 100
28
votes
5 answers

Upload a document to a SharePoint list from Client Side Object Model

I need to upload a document to a SharePoint list or folder using the Client Side Object Model from .NET (C#). What is the best way to do this? The requirements are as follows: Set metadata values No limitation on file size Must work with libraries…
Martijn Boeker
  • 385
  • 1
  • 3
  • 8
27
votes
3 answers

How to read SharePoint Online (Office365) Excel files in Python with Work or School Account?

I am a university student and I have registered as an Office 365 Education user via my university Email address. I usually log into https://www.office.com with my Email account: alice@abc.edu. The path to my profile is like:…
hsluoyz
  • 2,739
  • 5
  • 35
  • 59
27
votes
3 answers

How can I get an oauth access token in sharepoint 2013?

I have this site here: http://msdn.microsoft.com/en-us/library/jj164022(v=office.15).aspx the text in some part says: The following JavaScript code demonstrates how to make this GET request that returns a JSON representation of all of a site’s lists…
Luis Valencia
  • 32,619
  • 93
  • 286
  • 506
26
votes
2 answers

How to Access Sharepoint 2007/2010/2013 _layouts folder

I'm trying to insert some data in the location mysiteurl/_layouts/ 'cause I had to use a third part software which uses data stored in that folder... I'm admin of the machine (Sharepoint 2010 on Windows server 2008R2) but the Sharepoint said I…
Ziba Leah
  • 2,484
  • 7
  • 41
  • 60