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
48
votes
10 answers

Reasons for a 409/Conflict HTTP error when uploading a file to sharepoint using a .NET WebRequest?

I've got a method that uses a WebRequest to upload a file to a sharepoint 2010 list/folder, using a PUT request, with the Overwrite Header set to T (overwrite). When several files are uploaded (method is called several times), some requests fail…
GR7
  • 5,083
  • 8
  • 48
  • 66
45
votes
3 answers

What is Sharepoint development from a developers point of view?

I hear a lot of talk about Sharepoint these days, but I'm having problems grasping exactly what it is through all the enterprise and marketing jargon. Trying it out hands-on seems too much of a hassle as well (several heavy software packages that…
Svish
  • 152,914
  • 173
  • 462
  • 620
45
votes
8 answers

e.preventdefault(); not working

I'm having real trouble getting e.preventDefault(); to work. Here is my code $('#ListSnapshot a').live('click', function(e){ var url = $(this).attr('href') +' #WebPartWPQ2 .ms-listviewtable'; $('#ListSnapshot').load(url); …
Gary
  • 747
  • 3
  • 10
  • 24
45
votes
6 answers

Authorization to Office 365/Sharepoint online

I writing a WCF service that is hosted in Azure as a (PaaS). The service in turn needs to talk to Sharepoint 2013 Online/Office 365. I was looking at using the Sharepoint Client object model to talk to it, but keep getting the following error: "The…
44
votes
3 answers

Visual Studio Diagnostic Tools - how to change selected process?

I'm using Diagnostic Tools in Visual Studio 2015 debugging SharePoint Web Part. I'm attached to a few w3wp.exe processes and the window displays this message: Multiple processes are being debugged, but this window is only showing data for w3wp.exe…
43
votes
3 answers

Where is the Location of Microsoft.Sharepoint.dll

I just installed the SharePoint SDK on my machine, but I can't seem to find the location of Microsoft.Sharepoint.dll so I can add a reference to it. It's not in the GAC or C:\Program Files\Common Files\Microsoft Shared\Web Server…
Ryan Smith
  • 8,344
  • 22
  • 76
  • 103
41
votes
3 answers

Powershell Error "The term 'Get-SPWeb' is not recognized as the name of a cmdlet, function..."

I just typed the follow to try and get my SharePoint site: $spWeb = Get-SPWeb -Identity "http://nycs00058260/sites/usitp" It gave me the following error The term 'Get-SPWeb' is not recognized as the name of a cmdlet, function, script... The url…
LifeScript
  • 1,116
  • 5
  • 15
  • 24
36
votes
5 answers

How bad is it to not dispose() in Powershell?

Sometimes we need to perform small administrative tasks in SharePoint. A simple PowerShell script is a really good tool for that. For instance, such script can enumerate event handlers of a…
naivists
  • 32,681
  • 5
  • 61
  • 85
35
votes
3 answers

How to pass credentials to httpwebrequest for accessing SharePoint Library

I'm trying to read files from a SharePoint document library using HttpWebRequest. In order to do that I have to pass some credentials. I'm using the below request: HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); request.Method =…
Tortoise
  • 731
  • 4
  • 10
  • 21
35
votes
2 answers

How do I perform WIF/claims impersonation without the claim being mapped to an AD account?

I need to perform search impersonation in SharePoint 2010 for Claims users. To put this in context, I would like to first state how I get this to work with Windows accounts and then discuss Claims / WIF. Windows Accounts I can do this for "classic"…
Kirk Liemohn
  • 7,733
  • 9
  • 46
  • 57
35
votes
5 answers

How to change name of file in javascript from input=File

I need to change the filename (not the file, just the metadata of the name) when uploading to a sharepoint site. I figured that it would be easy enough to change the html attribute in javascript rather than playing with Sharepoint backend. So that…
Michael
  • 8,229
  • 20
  • 61
  • 113
33
votes
8 answers

Accessing Excel file from Sharepoint with R

am trying to write an R script that will access an Excel file that is stored on my company's Sharepoint page so that I can make a few calculations and plot the results. I've tried various ways to do this (download.file, RCurl getURL(), gdata), but…
jim616
  • 453
  • 1
  • 4
  • 6
32
votes
3 answers

How to open SharePoint files in Chrome/Firefox

In Internet Explorer, I can open Sharepoint files directly from their links so the file in Sharepoint is automatically updated when I save it. But in Chrome, it asks to download the file instead of just opening it. In Firefox, it can open the file…
Verne Jules
  • 323
  • 1
  • 4
  • 5
31
votes
7 answers

Upload a file to SharePoint through the built-in web services

What is the best way to upload a file to a Document Library on a SharePoint server through the built-in web services that version WSS 3.0 exposes? Following the two initial answers... We definitely need to use the Web Service layer as we will be…
Andy McCluggage
  • 37,618
  • 18
  • 59
  • 69
31
votes
7 answers

"Object doesn't support this property or method" error in IE11

I am getting the error Critical Error: Object doesn't support this property or method addeventlistener while accessing the InfoPath form page (using InfoPath enabled list form e.g. displayifs.aspx) in IE 11 browser. This error is specific to IE…
VSP
  • 311
  • 1
  • 3
  • 4