4 votes
Accepted

Lookup column value not updated - ListsWebServices and Asp.NET

If Constants.CLIENT_FIELD_PARENT_ID is the name of a multivalue lookup column then the value for that should be in the format Id1;#Value1;#Id2;#Value2 or without values Id1;#;#Id2;# Which will give ...
Per Jakobsen's user avatar
  • 32.4k
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

RESTful Services Upload Boundaries SharePoint

I can't point you to MSDN or TechNet reference but a colleague has informed me there is a limit of 15 requests that can can execute in a REST batch request, and 30 for CSOM. If I can locate "official"...
Jesus Shelby's user avatar
  • 10.9k
3 votes
Accepted

How to Change a View with REST API Web Service Call in Javascript

You are using it wrong. In the MSDN samples, a POST is carried out using SP.RequestExecutor. Since you are using jQuery, use data instead of body. Because of that, nothing is being posted. Now, your ...
Akhoy's user avatar
  • 2,911
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

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
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

SP2013 Workflow - Including payload in HTTP POST StartWorkflowOnListItemBySubscriptionId

StartWorkflowOnListItemBySubscriptionId requies complex dictionary type as payload parameter. I only did this on Visual Studio Workflow but I believe Sharepoint Designer Workflow works with this as ...
Morioka's user avatar
  • 21
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

AccessDenied from ValidateFormDigest when calling ModifyUserPropertyByAccountName in userprofileservice.asmx

The reason for this error is that the service account doesn't have read permissions to the root site. Assigning the Manage Profile permission only grants you permission to run the userprofileservice....
Mattias Lindberg's user avatar
2 votes
Accepted

Sharepoint List Threshold even when returning less then 5000 records

Apart from improving performance, indexing may help in averting the list throttling issues if applied properly. Suppose, you create a view and apply a filter on non indexed column and the view ...
Nadeem Yousuf-AIS's user avatar
2 votes

Can we access the sharepoint 2013 list from another web application using CSOM

If you use JavaScript code loaded from Web app A, cross-domain Policy will prevent you from accessing data hosted in Web app B (different domain). One option would be to host/load your script file ...
Evariste's user avatar
  • 9,751
2 votes

GetListItems queryoptions - How to filter?

This xml worked. It's a Boolean field. <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"...
Brittany Lean's user avatar
2 votes
Accepted

Best practice for calling web service from Sharepoint List Item Event Receiver

As you said, you could store the url of the service endpoint somewhere and then use that info from your event receiver. Two main options come to mind. Web.Config for the associated web application. ...
SPArcheon's user avatar
  • 6,870
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

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
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,051
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

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,721

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