1,572 questions
142
votes
14
answers
381k
views
Best way to resolve file path too long exception
I created a app that downloads all document libraries in a SP Site , but at one point it giving me this error (I tried looking at google but couldn;t find anything, now if anyone knows any trick to ...
25
votes
11
answers
199k
views
Get the content of a sharepoint folder with Excel VBA
Usually I use this piece of code to retrieve the content of a folder in VBA. But this doesn't work in the case of a sharepoint. How can I do ?
Dim folder As folder
Dim f As File
Dim fs As New ...
21
votes
7
answers
156k
views
Open an Excel file from SharePoint site
I'm trying to open an Excel file from SharePoint using VBA. Because the file I'm looking for might be different each time I run the macro, I want to be able to view the SharePoint folder and select ...
60
votes
5
answers
172k
views
How Can I Bypass the X-Frame-Options: SAMEORIGIN HTTP Header?
I am developing a web page that needs to display, in an iframe, a report served by another company's SharePoint server. They are fine with this.
The page we're trying to render in the iframe is ...
54
votes
7
answers
256k
views
How do you upload a file to a document library in sharepoint?
How do you programmatically upload a file to a document library in sharepoint?
I am currently making a Windows application using C# that will add documents to a document library list.
31
votes
7
answers
66k
views
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 ...
32
votes
3
answers
160k
views
Python - Download files from SharePoint site
I have a requirement of downloading and uploading the files to Sharepoint sites. This has to be done using python.
My site will be as https://ourOrganizationName.sharepoint.com/Followed by Further ...
38
votes
6
answers
148k
views
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://{...
17
votes
2
answers
57k
views
Dated reminders in sharepoint calendars
I have a departmental maintenance that needs to be done roughly every 3 months. The maintenance itself can't be automated (it involves physically swapping a primary and spare piece of networking ...
91
votes
8
answers
152k
views
Bypass invalid SSL certificate errors when calling web services in .Net
We are setting up a new SharePoint for which we don't have a valid SSL certificate yet. I would like to call the Lists web service on it to retrieve some meta data about the setup. However, when I try ...
88
votes
5
answers
65k
views
What happens when I edit web.config?
I need to edit the web.config file on a live Sharepoint environment, but I'm unsure what will happen if I do (I want to output custom errors).
Will this cause the IIS6 worker process to recycle?
...
15
votes
9
answers
20k
views
ThisWorkbook.FullName returns a URL after syncing with OneDrive. I want the file path on disk
I have a workbook on OneDrive. Usually, ThisWorkbook.FullName returns a path on disk:
c:\Users\MyName\OneDrive - MyCompany\BlaBla\MyWorkbook 09-21-17.xlsb
But after a set of operation in VBA where I ...
33
votes
3
answers
144k
views
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: [email protected]. The ...
23
votes
2
answers
22k
views
What does square bracket [] mean in the below code?
I got below code from http://msdn.microsoft.com/en-us/library/dd584174(office.11).aspx for adding custom property in webpart tool pane. What does square bracket ([]) mean in the below code?
[Category(...
22
votes
9
answers
85k
views
How to check if a word starts with a given character?
I have a list of a Sharepoint items: each item has a title, a description and a type.
I successfully retrieved it, I called it result. I want to first check if there is any item in result which starts ...
12
votes
3
answers
30k
views
Upload file to SharePoint drive using Microsoft Graph
We are trying to implement integration between a web application and SharePoint Online using Microsoft Graph rest API.
Specifically, we need to upload a file to a specific SharePoint site's document ...
49
votes
10
answers
107k
views
The HTTP request is unauthorized with client authentication scheme 'Ntlm' The authentication header received from the server was 'NTLM'
I know there's a lot of questions on SO similar to this, but I couldn't find one for this particular issue.
A couple of points, first:
I have no control over our Sharepoint server. I cannot tweak any ...
5
votes
2
answers
22k
views
Download File From SharePoint 365
I'm using this code from MSDN Web Site:
string remoteUri = "http://www.contoso.com/library/homepage/images/";
string fileName = "ms-banner.gif", myStringWebResource = null;
// ...
4
votes
2
answers
51k
views
How to download a file from SharePoint with VBA?
I am trying to download a file from SharePoint with VBA.
The file is a picture but the picture isn't view-able once it gets onto the system.
I think that I'm downloading it in the wrong format.
Sub ...
45
votes
8
answers
149k
views
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';
...
17
votes
4
answers
154k
views
Accessing Microsoft Sharepoint files and data using Python
I am using Microsoft sharepoint. I have an url, by using that url I need to get total data like photos,videos,folders,subfolders,files,posts etc... and I need to store those data in database(Sql ...
8
votes
1
answer
10k
views
Programmatically Export SSRS report from sharepoint using ReportService2010.asmx
I have to programmatically export ssrs reports to excel, added service refernce to
http:/siteurl/_vti_bin/ReportServer/ReportService2010.asmx
http:/siteurl/_vti_bin/ReportServer/ReportExecution2005....
5
votes
3
answers
43k
views
excel vba to upload file to sharepoint
I am trying to upload a folder from my C drive to a SharePoint library site. I have used the below code, which works fine when the ToPath is not a SharePoint library site but another folder from my C ...
1
vote
1
answer
538
views
generate random number in RSS viewer webpart
I am using RSS viewer webpart with the following references:
xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime"
xmlns:rssaggwrt="http://schemas.microsoft.com/WebParts/v3/rssagg/...
40
votes
11
answers
61k
views
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 ...
32
votes
7
answers
153k
views
How to upload a file to sharepoint site using python script [closed]
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 ...
29
votes
4
answers
159k
views
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 ...
25
votes
9
answers
11k
views
SharePoint for a C# ASP.NET Developer [closed]
I've been asked to create a website in SharePoint within the next couple of weeks or so and I'm entirely new to SharePoint.
Does anyone have any good examples/tutorials on how to do some basic ...
22
votes
1
answer
39k
views
Azure sharepoint multi-factor authentication with python
I'm trying to use python to download an excel file that is hosted in a sharepoint which is part of the Microsoft Azure platform. The sharepoint is password protected, and I have an account and a ...
14
votes
3
answers
44k
views
Sharepoint 2013 via REST API: Error 403 Forbidden when trying to create item
I'm trying to create a simple list item with the rest api on Sharepoint 2013.
My code:
$.ajax({
url: siteUrl + "/_api/web/lists/getByTitle('internal_Listname')/items",
type: "POST",
...
11
votes
2
answers
20k
views
Azure AD Custom Claims in JWT
I have an Azure AD app and I am trying to add custom claims to a JWT. I'm using the claims mapping feature in Azure for my specific app, and updated the app manifest in the Azure Portal to include the ...
8
votes
1
answer
9k
views
Upload file to MS SharePoint using Python OneDrive SDK
Is it possible to upload a file to the Shared Documents library of a Microsoft SharePoint site with the Python OneDrive SDK?
This documentation says it should be (in the first sentence), but I can't ...
7
votes
6
answers
6k
views
SharePoint development environment setup
i need to setup a development environment for writing Share Point Web Parts. What do I exactly need?
My development machine is a Windows XP Prof. with Visual Studio 2008 Prof. If found Windows Share ...
7
votes
2
answers
5k
views
SharePoint features: How can I use wildcard assembly versioning?
I think this is likely to be a generic .NET assembly loading question, but in my specific case, I want my SharePoint Features to point to an assembly whose versioning is associated with the correct ...
5
votes
2
answers
7k
views
How to manage column based access control in Sharepoint lists?
I'm making issue tracking portal based on Sharepoint. Users should be able to add entries, but in the entry itself I want one column to only be visible to a specific group of users (Administrators). ...
2
votes
1
answer
397
views
Why don't errors rasied inside Get-SPWeb get propagated to powershell?
If I have the following
$webs = Get-SPWeb -Limit all -ErrorAction Stop
foreach($web in $webs)
{
Write-Host $web.SiteUsers.xml
}
I know that the same code in .NET will get an exception from ...
146
votes
13
answers
199k
views
Could not obtain information about Windows NT group/user
I have a Windows 2012 Server running SharePoint 2010 using an SQL Server Express locally installed. Unfortunately my logs are currently flooding with message "An exception occurred while enqueueing a ...
31
votes
7
answers
121k
views
"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) ...
30
votes
3
answers
114k
views
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 ...
30
votes
6
answers
15k
views
Using Asp.Net MVC with SharePoint
Is it possible to use the Asp.Net MVC framework within SharePoint sites?
27
votes
3
answers
68k
views
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 ...
24
votes
8
answers
136k
views
How do I solve this error, "error while trying to deserialize parameter"
I have a web service that is working fine in one environment but not in another.
The web service gets document meta data from SharePoint, it running on a server where I cant debug but with logging I ...
24
votes
1
answer
109k
views
How to use credentials to connect to a SharePoint list using the Client Side Object Model?
I need to write an application to update a list on a SharePoint 2010 site.
I found the "SPSite" which I can create with the URL, but I can't figure out how to specify with which user I want to ...
19
votes
10
answers
80k
views
How to fix error: The message received from the server could not be parsed
We have a Sharepoint solution that uses AJAX. The button that triggers this is inside an update panel.
One of the things that we do is generate a MS Word document, that is then opened on the client ...
18
votes
9
answers
121k
views
Could not load file or assembly '' or one of its dependencies
Any help please?
I have only one library and it is driving me crazy. this is the error that I receive.
I am not using any other dependancies.
Could not load file or assembly 'FOD.Intranet.Lib, ...
17
votes
5
answers
24k
views
Using R to connect to a sharepoint list
Has anyone been able to import a SharePoint list in R as a dataframe?
I have two separate data sources, one from a SharePoint list and the other from a DB that I wish to run an analysis on. I am able ...
16
votes
3
answers
39k
views
SharePoint 2010 REST API JQUery Insert, Update, Delete
Can anyone explain or point me to a link with samples of doing Update, Delete using Jquery with the SharePoint 2010 Rest API?
I have the insert working and of course queries since the MSDN ...
15
votes
4
answers
15k
views
Deploy jQuery using a SharePoint Feature or physical files?
We are about to undertake a rather large customization of SharePoint and I wanted to get some feedback prior to jumping in with both feet. One of the issues we are kicking the tires on is do we deploy ...
14
votes
3
answers
21k
views
Convert XLS to XLSB Programmatically?
I have a customer that needs to convert XLS files to XLSB. Has anyone done this programmatically, (with or without an add-on --- doesn't matter --- just need to be able to automate it)? I'm looking ...
13
votes
3
answers
39k
views
Accessing sharepoint site in python with windows authentication
I am trying to work with a sharepoint site that use my windows authentication. I can use the requests module to access the site but it requires I explicitly state my windows password.
import requests
...