Questions tagged [.net]

.net refers to the application framework installed on a Windows and SharePoint server.

Filter by
Sorted by
Tagged with
11 votes
3 answers

How to retrieve Users and Groups seperately from a "Person or Group" column via C# code?

I have a field in the discussion list, which allows the initiator of the discussion to specify the people to share the discussion with. This field is typed as 'Person or Group' that allows selection ...
Muhammedh's user avatar
  • 1,157
0 votes
2 answers

Connect to SharePoint Online from our console application when the "DisableCustomAppAuthentication is set to true"

We have a lot of .Net console applications which run inside windows on-premises servers, which connect to SharePoint online using ClientID & ClientSecret and perform some background tasks, as ...
John John's user avatar
9 votes
2 answers

SharePoint client model and setting up lookup field

I have list A with "Title" column which is lookup column to List B. I need to update existing List B documents so that they will be linked to List A. However, SharePoint client context doesn't accept ...
Rishi's user avatar
  • 259
3 votes
2 answers

Upload files to SharePoint Online using REST API

I'm trying to develop a console application which will upload files from the users client PC to a SharePoint Online site. I've written a version that used CSOM, but the file size is limited to 1.5Mb, ...
Lee's user avatar
  • 31
2 votes
2 answers

How to get cookies after obtaining Azure AD access token to SharePoint Online

I have been able to successfully use the ADAL library to obtain an access token to SharePoint Online and execute CSOM queries. When I try to access a SharePoint Online URL directly using a WebRequest, ...
Steve's user avatar
  • 107
2 votes
4 answers

Combine Two ListItemCollection objects

I have two ListItemCollection objects created after calling SharePoint GetItems with a Caml query - public Microsoft.SharePoint.Client.ListItemCollection GetItems(Microsoft.SharePoint.Client....
iniki's user avatar
  • 145
2 votes
1 answer

Sharepoint 2013 .NET CSOM CamlQuery Join

I am unable to create a working query with join in my .net csom application. I was using this article: here is my code: ClientContext context =...
user2791953's user avatar
1 vote
2 answers

Use .NET CSOM to copy site lists with lookup columns

I'm using .NET CSOM to copy multiple list content from one site to another - essentially I'm migrating it. Because of the different list schemas I can't use built-in facilities like PowerShell Import/...
komsky's user avatar
  • 165
1 vote
0 answers

Sharepoint CSOM Mapper

Hi I'm new to SharePoint and developing with it, but having done a few tutorials I'm trying to get myself off on the right foot and put together a solution. Firstly the solution has already been made ...
Richard   Housham's user avatar
1 vote
1 answer

SP2010: Client object model: add new wikipage to document library

Is it possible to create a new wiki page using the client object model and give it some content ("<h1>Welcome to the SharePoint!</h1>")? I'm using VB.Net
maartenvdv's user avatar
0 votes
3 answers

Is there any property available in CSOM which would indicate that a list is using a custom new/edit/display form?

I'm wondering if there's a simple way to check to see if a list is using a non-default custom form via CSOM? I'm thinking of looking for any forms that weren't created at the time of the list's ...
Dinerdo's user avatar
  • 749
0 votes
1 answer

Sharepoint 2010 ASP .NET MVC 2

I'm trying to deploy an ASP .NET MVC 2 application in SHAREPOINT 2010 I found this online: But I can't make it work. I don't know if I'm doing it right... In the ...
user2425014's user avatar
0 votes
1 answer

sharepoint with .Net 4.0

We had an ASP.NET site that was built on .NET 2.0. It had sharepoint integration and everything was working fine until the site got migrated to .NET 4.0. I know that sharepoint is built on 3.5 ...
NewCoder's user avatar