sharepoint-clientobject Questions
6
Solved
I am following this tutorial on using the client-object model. And just starting from the top, I added the references, but using Microsoft.SharePoint.Client; keeps giving me the error:
The namespa...
Fibro asked 3/8, 2011 at 20:7
7
CamlQuery query = new CamlQuery();
query.ViewXml = @"<View>"
+ "<Query>"
+ "<Where><Eq><FieldRef Name='Name' /><Value Type='Text'>"
+ fileName
+ "</Value&...
Calista asked 11/12, 2012 at 7:13
3
I have multiple methods being called on different user actions which is using ClientContext.
Creating it on every method execution was causing performance issue.
So I added it as static variable f...
Tenderize asked 22/2, 2020 at 15:55
4
Is it possible to get SP List Item by unique Id (without writing a Caml request) if I know a related List Id.
var item = list.GetItemById("CFA9E204-6509-424B-A246-0DE5295C42B2");
When I tried to...
Grapheme asked 19/12, 2012 at 11:9
4
Solved
I am trying to access the ID of Library using client-side object model in SharePoint 2013. But I am getting error as:
The property or field 'Id' has not been initialized. It has not been request...
Stolid asked 21/7, 2014 at 10:36
2
Solved
I have been learning client-side object model and came across the method executeQueryAsync. I found there are quite a few ways to call this method. Some of the one I found were these:
var context ...
Schwitzer asked 21/7, 2014 at 16:31
2
Solved
I am new to SharePoint and want to delete all rows in a SharePoint list using C# ClientContext class and CAML Query.
How can i achieve it efficiently?
Inutility asked 15/4, 2013 at 11:30
2
Solved
Just a quick question, is it possible to create a Document Library using the Client Object Model in SharePoint 2010?
I know you can create lists etc. Am I right in saying that a Document Library i...
Plyler asked 18/4, 2013 at 9:12
3
Solved
I am going crazy since two days solving an issue. The problem is;
I am making a console APP which is talking to SharePoint Online using global admin account (One which was specified as admin while...
Alford asked 16/4, 2015 at 13:3
3
I have a scenario where I have to move all my data in a SharePoint 2010 list (name= "VersionTestList") to a SQL server database. Since versioning is enabled in the list, I want to move the previous...
Elbring asked 14/3, 2013 at 12:0
2
Solved
I want to create folder on SharePoint document library using client object model (C#). Below is the code which does that.
ContentTypeCollection listContentTypes = list.ContentTypes;
clientContex...
Ionium asked 2/7, 2015 at 4:33
1
Solved
Below code credit goes to Vadim Gremyachev. My goal is to grant user access permissions to certain SharePoint folders by using the CSOM. The goal I am trying to achieve is to access the library cal...
Electromyography asked 22/4, 2015 at 12:15
1
Solved
I wrote a small application using the SharePoint client object model, which renames all files inside a SharePoint 2010 document library.
Everything works well, except if the filename should contain...
Collector asked 30/10, 2014 at 9:55
2
I want to implement a custom logging by passing authentication information, as shown in below reference links:
http://blogs.msdn.com/b/cjohnson/archive/2011/05/03/authentication-with-sharepoint-o...
Sightseeing asked 1/4, 2013 at 2:54
4
Solved
So I am trying to create a method that is essentially used to change the value of a field in SharePoint.
This is what I have so far...
static String fieldName1 = "Title";
static String fieldName2...
Taraxacum asked 4/8, 2011 at 19:32
1
I have a SP Online site where I store Documents, I have no issues adding/retrieving documents but in the delete flow I get an error during retrieval of a File object.
public static void DeleteDocu...
Lightsome asked 21/1, 2014 at 9:56
1
Solved
I'm writing a small .NET proof-of-concept console app that performs a series of actions on a SharePoint document library. I noticed that the following methods expect an "encoded" login name - that ...
Intuit asked 28/1, 2014 at 9:18
3
I am using Client Object Model to interact with Sharepoint 2010. When I tried to upload documents greater than 3 MB using Client OM, it gave an error Bad Request. Microsoft suggests this to fix the...
Serafina asked 29/9, 2011 at 16:32
4
Solved
For some reason, my SharePoint's modal dialog doesn't work properly. The error I get is this:
In Firefox: SP.UI.$create_DialogOptions is not a function
In IE: Object doesn't support this propert...
Tympanites asked 7/6, 2011 at 23:32
2
I have a list named "Discussions List". I want to bring all columns from the list.
I want to know how to do it SharePoint Client Object Model.
Embolectomy asked 15/10, 2012 at 9:9
2
Solved
Could anybody help me to understand a difference between DeleteObject() and Recycle() methods for SP.Folder?
I found this documentation, but it's not clear for me.
http://msdn.microsoft.com/en-us...
Cobblestone asked 18/11, 2012 at 11:5
1
All,
A small but irritating issue.
I am trying to create a DLL that uses the Client Object model to change a Site Tile
Microsoft.SharePoint.Client.ClientContext myCContext = new Microsoft.Share...
Floodgate asked 16/8, 2012 at 11:1
1
Solved
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 con...
Cloudlet asked 17/6, 2011 at 7:21
1
© 2022 - 2024 — McMap. All rights reserved.