Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [sprequest]

SPRequest is an internal class from the SharePoint object model. The SP.SPRequest COM object exposes almost 400 basic operations and almost everything you do with the Microsoft.NET managed SharePoint object model that reads from or writes to the ContentDatabase (including data, fields, content types, list schemas, etc) will actually go via this unmanaged COM object.

2
votes
0answers
875 views

How to connect to SharePoint ( with Node.js) using OAuth with user context?

I created a Node.js App that connects to SharePoint(OnPremise and O365) and does all sorts of things. The app uses sp-request and node-sp-auth APIs for Basic Authentication (username, password), and ...
2
votes
2answers
930 views

How to upload a file with new version usign SHAREOINT REST API?

I wrote some code to update a file in My SharePoint library using SharePoint-rest-Api and sp-request. I tried to replicate this example from msdn pages, and it works. return spr.post('http://...
0
votes
1answer
1k views

REST Service API executor.executeAsync Call Ends in Failure Function in Sharepoint Hosted App

Any Answers Will Help me to Forward and Gain Knowledge in SharePoint Development While i am Trying to get the list Items Using Rest API Calls in SharePoint Hosted App Using Below Function function ...
3
votes
0answers
114 views

Get a httpModule before SPRequest

I am currently supporting an application running on SharePoint 2007 and have run in to a problem with the order of httpModules. I've written a module that initiates context needed by our role ...
1
vote
2answers
13k views

Failed to retrieve the COM class factory for component with CLSID SP.SPRequest

On SharePoint 2010, we have one service running at SharePoint WFE which is using the SharePoint server API. If the SharePoint and our service are not used for couple days, we may get the following ...
3
votes
1answer
281 views

Decompiling SharePoint - Finding “extern” Function Implementations

I'm decompiling some of the methods in the Microsoft.SharePoint.dll to try to see whether or not I can use some of these classes for what I need or if I have to reinvent the wheel... Anyhow, I can ...