Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs
4 votes
Accepted

Get all property of Group using CSOM

I tried your code and got an unknown error. So i tried removing each field in the LINQ query and I found the error is due to grup => grup.Owner. I have changed it to grup => grup.OwnerTitle and ...
Nagarajan Muthukumar's user avatar
4 votes

What is the difference between a site and a web in SharePoint?

An answer from StackOverflow.SE puts it in a nutshell: UI Term API Class Name ------- -------------- Site Collection SPSite Site SPWeb This basically means,...
moe's user avatar
  • 5,267
3 votes
Accepted

Get User Details from User Profile using Web Service in SPD 2013 Workflow

Create EndPoint workflow variable with value [%Workflow_Context:Current Site URL%]]/_api/Web/SiteUserInfoList/items?$filter=(ID eq [%Workflow_Context:AssignedTo%]) Add Build dictionary action to get ...
Viraj Gorajia's user avatar
3 votes

CSOM / Webservice multilingual provisioning site columns, lists,

This is an old post. Just leaving this here for anyone to find. Extension method tricks SharePoint to believe you are accessing in the specified language. Tested and working in SP2013 and SPO. ...
tashunko's user avatar
3 votes
Accepted

Best Practice for Services

Microsoft introduced the Streamlined Topology concept in SharePoint 2013. It's main goal is to put all low-load services with high impact on your siteperformance to your front-end servers (e.g. ...
MHeld's user avatar
  • 5,123
3 votes

What is the difference between a site and a web in SharePoint?

In SharePoint Object Model, SPSite(Server Object Model -SSOM) or Site (Client Side Object Model - CSOM) refer to Site collection object while a SPWeb(SSOM) or Web(CSOM) refers to Sub Site Object. Also ...
ThinkB4Code's user avatar
  • 2,970
3 votes
Accepted

Yahoo Certificate error + Yahoo web service

Well, as the error says: You'd have the (root) certificate trusted.. I'd suggest you go fetch the certificate manually and compare the root certificated with your trused ones. Running a simple ...
Nils's user avatar
  • 2,327
3 votes
Accepted

How to restore a previous document version via client-side API?

You can use the below sample code that uses the restoreByLabel method to restore the previous version of the document. <script language="javascript" type="text/javascript" src="//ajax.googleapis....
Priyaranjan KS's user avatar
3 votes

How can I set the ShowAsPercentage property on SP.FieldNumber using REST API?

Try below solution, It should help (Tested & Working) function createField() { var webUrl = _spPageContextInfo.webAbsoluteUrl; var formdigestValue = $("#__REQUESTDIGEST").val(); var ...
SP Developer's user avatar
  • 3,085
3 votes
Accepted

How can I set the ShowAsPercentage property on SP.FieldNumber using REST API?

ShowAsPercentage does not work in SharePoint 2013. It is supported in SharePoint Online only. You can set it in SchemaXml. Try with following request body. { "__metadata": { "type": "SP....
Atish Kumar Dipongkor's user avatar
2 votes

Create site collection remotely on-premises

Thanks to @Sean pointing out the web service, I was able to implement a solution using PowerShell. The inputs to the script are as follows: $user - farm admin login (I am also using this as the ...
Kirk Liemohn's user avatar
  • 1,423
2 votes
Accepted

How to debug the sharepoint web proxy

The best way I could find to debug the SharePoint Web Proxy is to use an Azure API management gateway, configure that to point to the real resource, and then point the SharePoint Web Proxy to that ...
Joon's user avatar
  • 151
2 votes

CSOM / Webservice multilingual provisioning site columns, lists,

Tashunko's answer will only modify the pending request. If you want to set the language for all request for the lifetime of the ClientContext object you can set the Accept-Language header from an ...
Gabriel Smoljar's user avatar
2 votes

Creating Nested Folders via Client Object Model

var list = ctx.GetListByTitle("MyList); list.EnableFolderCreation = true; list.RootFolder.EnsureFolder("NewFolder1").EnsureFolder("NewSubFolderToFolder1"); ctx.ExecuteQuery();
Rune's user avatar
  • 249
2 votes
Accepted

What Webservice allows you to upload documents to a library?

If you want to upload documents to a document library use the "copy.asmx" service instead of lists.asmx Reference links below Copy webservice Copy and Sp webservice
Sabitha S's user avatar
  • 339
2 votes

web service with office 365

This requires some medium-advanced knowledge and understanding of JavaScript. In summary, you need to do the following (this is of course 1 of 1k different approaches): Add a HTML button, give a ...
Russell's user avatar
  • 3,031
2 votes

403 Forbidden on Web Service

To consume SharePoint Web Services from SOAP UI the request needs to be authenticated, here is how to specify NTLM auth for SharePoint 2013: click AUTH tab at the bottom of the request message ...
Vadim Gremyachev's user avatar
2 votes

Error when starting workflow via REST webservice from another workflow

Try removing the call from AppStep. I was running into the same had the same problem and the workflow started when I moved the "call HTTP" outside of the App Step
Hisham Jaber's user avatar
2 votes

Get all property of Group using CSOM

grup.Owner returns Principal object. so you can't load it using LINQ. You can load owner object for group inside foreach loop like this. ` GroupCollection collGroup = context.Web.SiteGroups; ...
Mani Dharmarajan's user avatar
2 votes

Cannot start more than one website in IIS on port 80 - SharePoint 2013

Short answer: Default Web Site is included everytime the IIS feature is enabled on a server, so you don't need it. Simple stop it and then go on with your new web application using port 80. While ...
Christoffer's user avatar
  • 9,781
2 votes
Accepted

Do File System Operation via app pool account

You can use RunWithElevatedPrivileges to perform System.IO operations. Try below code: SPSecurity.RunWithElevatedPrivileges(delegate() { String folderpath = "" + @"c:\myfolder"; if (!System....
Gautam Sheth's user avatar
  • 30.9k
2 votes
Accepted

Cannot get list items from SharePoint 2010 into SharePoint 2016 cross domain cross farm SOAP or REST

To access the SharePoint resources located in remote server you need to use the C# client object model. It is irrespective of version. You might need to understand the SharePoint 2010 client object ...
Venkat Konjeti's user avatar
2 votes

How to restore a previous document version via client-side API?

I have never tried this using CSOM, but it seems FileVersionCollection.RestoreByLabel is what you are looking for.
Nils's user avatar
  • 2,327
2 votes
Accepted

Call SharePoint web service from excel macro vba

There is single quote ' missing in strBatchXml Name field: Replace <Field Name=" + FieldNameVar + "> To <Field Name='" + FieldNameVar + "'>
Chandresh's user avatar
  • 499
2 votes

Whitelist SharePoint Online Hosted App?

Add Admin authentication to your web service. Once that is done. Add a piece of code to your SharePoint hosted app to correctly authenticate your web service request. In this way your service ...
Vainktesh Kumar's user avatar
2 votes

Custom Web Service does not export the correct endpoint url

_vti_bin is a special folder since it's "virtualized" and can be called by any valid (but non-physical in IIS/ASP.NET sense) SP Web site. ASP.NET .asmx infrastructure (that is responsible for the ...
Evariste's user avatar
  • 9,731
1 vote

Pass parameters through listform.aspx?

If you look at the code (using Reflector or ILSpy) for listform.aspx, you will see that corresponding class ListFormRedirect has following code when building redirect url (it also truncates all extra ...
Sergei Sergeev's user avatar
1 vote
Accepted

Using WS to query GetListItems with a greater than date and time query

Try to set the date time value with this format yyyy-MM-ddTHH:mm:ssZwith IncludeTimeValue='True' attribute , so it should like <Geq><FieldRef Name='Created' /><Value Type="DateTime" ...
Mohamed El-Qassas MVP's user avatar
1 vote
Accepted

Call SharePoint Web Service from SharePoint Hosted App (JavaScript)

Got this working using a Custom Page Proxy, RequestExecutor, on an app that has full control of the site collection on a separate domain. See the following KB articles & code sample for basics ...
thastark's user avatar
  • 471

Only top scored, non community-wiki answers of a minimum length are eligible