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 ...
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 ...
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,...
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"...
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 ...
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. ...
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 ...
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. ...
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 ...
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 ...
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....
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 ...
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....
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 ...
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 ...
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 ...
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();
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....
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 ...
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 ...
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"...
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. ...
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 ...
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;
...
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
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 ...
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 ...
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
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
web-services × 9722010 × 105
sharepoint-enterprise × 98
development × 79
2013 × 73
list × 68
sharepoint-online × 65
rest × 64
2007 × 58
sharepoint-foundation × 56
sharepoint-designer × 43
workflow × 43
javascript × 40
wcf × 40
client-object-model × 39
sharepoint-server × 38
infopath × 34
soap × 34
jquery × 33
authentication × 30
web-part × 25
caml-query × 25
document-library × 23
search × 22
spservices × 22