csom Questions
5
Solved
I'm coding in C# using CSOM, my app uploads a template asp.net page to the "/Pages/" library, I need it to check if a file exists in that location with the same name prior to file upload (then mayb...
Horsa asked 11/3, 2015 at 1:37
1
In my SPA with ASP.NET Core backend, I want to create UI for uploading files that will be stored in Sharepoint 2016 hosted on premise.
I was just about to use C# CSOM, but it is only available for ...
Doty asked 29/4, 2022 at 12:22
1
Solved
Today I read an article about the two PnP libraries "PnP Core SDK" and "PnP Framework".
PnP Core SDK seems to be a framework that is totally abstracting CSOM, Graph or REST Apis...
Openandshut asked 22/2, 2022 at 14:15
3
Solved
Currently I have code that creates a Folder in the Documents directory when run:
using (var context = new Microsoft.SharePoint.Client.ClientContext(sharePointSite))
{
context.Credentials = new Mi...
Pyridoxine asked 24/2, 2014 at 23:17
4
Solved
If you're using the Client Object Model from SharePoint and access properties which haven't been initialized or already retrieved by an
Context.Load(property);
Context.ExecuteQuery();
you get ...
Comeback asked 5/9, 2014 at 6:45
4
I have web service that point to sharepoint 2013 Office 365. I use the client object model. I am trying to update the xml file which stores 4 attachments in it. When I do this when I have large bin...
Desperate asked 17/9, 2013 at 23:14
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
Solved
We're using the Sharepoint 2013 REST API to get all news items from the Sharepoint.
We made a custom ContentType 'Newsitem' with several properties including a Publishing Image Field.
var content...
Batangas asked 15/9, 2014 at 16:52
2
Solved
I'm writing a user to a SharePoint list.
I've read that the SharePoint User field has a string like this inside of it:
userId;#userLoginName
I've tried formatting in the same way when writing to ...
Mezzosoprano asked 17/6, 2014 at 19:2
9
Using the Client Object Model (C#) in SharePoint 2010, how can I determine if a specified column (field) name exists in a given List?
Thanks, MagicAndi.
Anatomical asked 9/12, 2010 at 17:30
2
Solved
I am trying to create a library(class library) for sharepoint which will have all sharepoint dll to interact with sharepoint server to upload files,documents and create document library and documen...
Electric asked 22/12, 2018 at 7:14
8
I am developing a Win8 (WinRT, C#, XAML) client application (CSOM) that needs to download/upload files from/to SharePoint 2013.
How do I do the Download/Upload?
Cabbageworm asked 12/6, 2013 at 3:7
2
Solved
I'm looking for a way to move a folder and all it's contents to a different location in the same library using the Client Object Model for SharePoint 2010 (C#).
For example we have a folder for a ...
Rhizo asked 11/10, 2014 at 18:33
3
Solved
I am using CSOM to update some Task of a Project Server Project.
Which property has to be updated is not defined the code finds out dynamically what to update based on the property name as String....
2
Solved
I have generated an access token using OAuth mechanism for SharePoint Online server. I am using this token to create ClientContext using CSOM. While I am able to access all the sites, libraries, an...
Sleep asked 14/8, 2017 at 12:21
5
Solved
Folders work:
I now know how to set the permissions of a folder in a library:
public void ChangeItemPermissions()
{
_SharePoint.ClientContext _ClientContext = new _SharePoint.ClientContext("http...
Vagrom asked 23/5, 2017 at 15:2
4
Solved
In SharePoint Server side code, you can write something like:
field.fieldvalueType
Which will sometimes give you the type (DateTime, or whatever). Annoyingly, sometimes, it just returns Null (fo...
Wifeless asked 11/9, 2015 at 11:27
2
Solved
I know you should only use async for stuff which is not "CPU-intensive", e.g. file writes, web calls etc. and therefore I also know it doesn't makes sense to wrap every method into Task.Run or some...
Form asked 2/3, 2017 at 12:54
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
1
I'm trying to pull all Projects information from SharePoint using Client Side Object Model (CSOM). Here is how I'm getting Projects information:
projectContext.Load(projectContext.Projects,
c =&g...
Wrist asked 24/4, 2015 at 14:44
2
Solved
How can I efficiently grab users (with their properties) from a SharePoint web using CSOM?
The code below results in multiple calls to the server (one for each user). It's ridiculously inefficient....
Frederick asked 15/4, 2015 at 11:30
3
Solved
I havent found a specific example of how to get the current user and then check if it belongs to a specific sharepoint group, as I havent found anything I cant provide a code,
help on the right di...
Eberto asked 2/3, 2014 at 0:6
4
Solved
I'm tried to pull some SharePoint 2013 list data I created which works fine when running locally on my machine and when run locally one the server. I'm user the same credentials when running both l...
Costar asked 3/4, 2014 at 14:43
1
We have added a AD group to SharePoint users group. Now when we login with user, we want to check permission for the logged in AD user.
I have added Ad group (example) managers in SharePoint.
Now...
Colitis asked 16/10, 2015 at 6:39
1
Solved
I have some wiki pages in SharePoint 2013 Onpremise "Site Pages" Library. I have created a column "Priority" in the library . I want to access the Page Property from Client Side. I know this is pos...
Exemplary asked 31/8, 2014 at 19:29
1 Next >
© 2022 - 2024 — McMap. All rights reserved.