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

learn more… | top users | synonyms

5
votes
3answers
16k views

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 ...
4
votes
3answers
155 views

.NET forms for SharePoint 2010 without InfoPath

Afternoon all, Can anyone advise if it's possible to create forms for SharePoint 2010 Standard (to submit to a list) without using InfoPath? My version of the product doesn't have InfoPath Services. ...
3
votes
3answers
36k views

How to debug “(500) Internal Server Error.” when calling web services?

I have an application where I am creating a SOAP request by hand and hitting a SharePoint instance. My problem is that the call returns the error: The remote server returned an error: (500) Internal ...
3
votes
2answers
14k views

Downloading files from sharepoint programmatically C#

I would like to know what are benefits/drawbacks when using either of these methods for downloading a document from Sharepoint using Microsoft sharepoint library public void Download(string ...
3
votes
2answers
11k views

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 ...
3
votes
1answer
1k views

SharePoint running really slow

We have a production environment that hosts 3 SharePoint Web Applications. We have 2 WFEs and 1 DB server. These are dedicated servers which we are hosted by a hosting provider. For almost 2 years ...
3
votes
2answers
769 views

SharePoint 2013 Edit & Continue with .NET 4.5.1 and Visual Studio 2013

Looking for an answer to this question since I heard of .NET 4.5.1, I've nearly given up the hope. Looks like no one has written anything about this anywhere. So now that 4.5.1 and VS2013 were ...
3
votes
1answer
880 views

how to load a folder given just a ServerRelativeUrl using Microsoft.SharePoint.Client

In my application I have a url of a folder as retrieved by folder.ServerRelativeUrl() eg. /consulting/TeamSiteTemplate/Documents/ Now I want to get a list of folders inside this folder. I use this ...
3
votes
0answers
57 views

How to convert List item to pdf

I would like to convert list items to pdf and I was searching on internet and itextsharp came up. I read somewhere that this open source has some problems in formatting all html tags. Does anyone ...
3
votes
1answer
490 views

Internal User Versus External User Versus anonymous user in SharePoint 2013

I have read the new police for SharePoint licensing price, and it mentioned that no extra license price will be needed for any external web sites. But I have the following questions to know exactly ...
2
votes
3answers
212 views

SharePoint DateTime conversion issue in ASP.NET

I am facing a strange issue in converting DateTime value received from SharePoint GetListItems method. Here is what the date string looks like - ows_DatePaid="2015-04-28T18:30:00Z". Now the problem ...
2
votes
1answer
97 views

How to debug a class library on a SharePoint 2013 Server?

I am learning to create a forms-based authentication for claims-based web application using custom membership and role provider based on the [msdn][1] link I will be building a class library to ...
2
votes
1answer
456 views

Rename the uploaded document in document library using the client side object model

I already uploaded the document in SharePoint document library using CSOM. Now I need to Rename the uploaded file using CSOM, how to achieve this via CSOM? pls look the code below and do the need ...
2
votes
2answers
3k views

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, ...
2
votes
2answers
100 views

Which is the best possible way to connect to SharePoint Sites using Client Object Model

I came across a complex situation (imo) which is why I am asking this question. I am developing an application where in, I connect to all SharePoint Sites specified by user and all its sub sites using ...
2
votes
1answer
138 views

connecting sharepoint to a polarlake ESB

How would one go about connecting sharepoint to an Enterprise Service Bus(ESB). The service bus being used is Polarlake. I'm presuming it requires a .NET web service to be created but essentially ...
2
votes
3answers
600 views

.NET Chart Controls in Sharepoint 2010 Sandbox

I'm trying to use the .NET Chart Controls in my Sharepoint 2010 Sandbox solution. I have downloaded and installed the MSChart for .NET 3.5 from ...
2
votes
1answer
132 views

How to change choice field value in SharePoint programmatically

SPFieldChoice chFldCategory = (SPFieldChoice)lst.Fields["Category"]; chFldCategory.EditFormat = SPChoiceFormatType.Dropdown; ...
2
votes
1answer
53 views

Can't Open file binary in SharePoint.Client

This bit of code works for me: Microsoft.SharePoint.Client.File file = ctx.Web.GetFileByServerRelativeUrl(@"/Shared%20Documents/Email%20Body.html"); var _stream = file.OpenBinaryStream(); The ...
2
votes
2answers
517 views

Use sharepoint 2007 as database for an ASP.NET MVC 4 application

I have built an ASP.NET MVC 4 C# application that has Many to One relationships. The application currently uses SQL as data provider. The following is the data connection string I use: <add ...
1
vote
2answers
10k views

jquery checkbox checked and unchecked

i need to write a javascript code that make the checkbox if checked view a textbox and if not checked the text box is invisable automatically without having a button to click on it to do that ...
1
vote
2answers
227 views

SP - How to set a unique row number programaticallly

I want to count all list items in my dynamic list to set ID For Every NEW RECORD. How to do this? int cnt = 0; int c = 0; foreach (TableRow tr in allVisibleRows) { SPListItem itemAdd = ...
1
vote
2answers
948 views

Automating changes in web.config file on load balanced server

Issue We currently have a deployment process which is partially automated and part manual. The manual part involves making manual changing to the web.config for some things. We have two load balanced ...
1
vote
1answer
32 views

Empty CAML Query recursively search through document sets

I want to search for every single item within a document library. This is working just fine, but isn't working if the files within a document set in that library. I'm using an empty CAML query ...
1
vote
1answer
39 views

CAML Query to retrieve list item by title

I'm trying to query for only this the item called Test1. I'm using this caml query but I'm returning all items in the list for some reason. private static int GetlookUpId(List hrLookupList, string ...
1
vote
2answers
1k views

CSOM get all terms recursively in a single ExecuteQuery

I am working on some C#.NET code that loads the entire set of taxonomy terms for a site. The current code is structured like this: using (ClientContext context = new ClientContext(url)) { ...
1
vote
1answer
2k views

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: http://msdn.microsoft.com/en-us/library/ff798388.aspx here is my code: ClientContext context ...
1
vote
3answers
679 views

Sharepoint beginner

I'm a Sharepoint beginner, just getting into it. Please suggest me some best way to learn sharepoint and best books available in the market. We are using SharePoint 2013.
1
vote
2answers
945 views

send data from list to sharepoint application page

is there any way to connect a SharePoint application page to a list in the SharePoint to save data inside form (in application page) to the list in the SharePoint i need to know it i can make ...
1
vote
1answer
492 views

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
1
vote
1answer
550 views

Quick way to change Custom New form web part into custom edit form

I just created a custom new form web part in C#. It works great and adds a new item to the list with the 'Save' button. Now, I am trying to reuse the same code to create the custom edit form. But I ...
1
vote
1answer
30 views

When debugging project XYZ a page from ABC will pop up with an exception?

Not sure how much sense that title makes, but the issue that I am running into is that when I begin debugging a project (XYZ) a page from a completely different project (ABC), that is in a different ...
1
vote
0answers
12 views

Dashboard for SharePoint server health [closed]

I want to create a dashboard to show the health of SharePoint servers using .NET code (C#). Anyone suggest me some ideas???
1
vote
0answers
90 views

Create Folder and Upload File to Document Library

I am new to this site so please feel free to redirect me to other posts that may answer my two part question. I am working on a .NET web form that needs to upload files from a asp:FileUpload ...
1
vote
0answers
489 views

Update ID field with client object model

I'm trying to create items in a list and set the ID field programmatically (for use in a lookupfield in another list). This works serverside by setting the property ReadOnlyField of the field ID to ...
1
vote
1answer
554 views

Create navigation headings in SharePoint Online programatically

Is there a possibility to create headings with multiple links in the navigation bar (i.e. top link bar) in SharePoint online using c3 or PowerShell? My initial guess was to use ClientContext to gain ...
1
vote
2answers
439 views

Missing DLL msoidclil in Azure Web Site

I have an application that accesses and updates SP document libraries. Using SP 2013 COM, it works fine locally. When the code is deployed to and executed in an Azure web site, a file not found ...
1
vote
0answers
66 views

Remove document from in-place hold with CSOM?

Is there any way to remove a document from an in-place hold using SharePoint CSOM?
1
vote
0answers
655 views

Token Request Failed: Remote Server returned error (400) while fetching the token

My Requirement is to retrieve a document from SharePoint online using a .NET console application. I followed the steps in this link . But I get a failure Token request failed. {"The remote ...
1
vote
1answer
210 views

Send Log/Debug Messages to SharePoint from a clientside ActiveX Component

I developed a ActiveX Component (C#) for SharePoint 2010 and would like to send log/debug messages to the SP-Server so that they are viewable in the SharePoint LOGS Folder. How am I doing this? Like ...
0
votes
2answers
805 views

SharePoint 2010 Solutions using .NET 4.5

I am creating a solution (wsp file) that will be installed on a SharePoint 2010 Server. The solution uses a third party DLL which was built on .NET 4.5. I have created my solution using the target ...
0
votes
1answer
44 views

OpenID Implementation , paid libraries? [closed]

Is there any paid library available for Openid implementation ,please list any paid libraries available ? Or does Microsoft support openid implementation ? ?
0
votes
1answer
1k views

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 ...
0
votes
1answer
85 views

Copy SharePoint file from Http to Ftp

Is there a direct way to copy a file from a SharePoint library to an Ftp location? Currently, I'm able to download the document to a local directory using the OpenBinaryDirect method, however this ...
0
votes
2answers
540 views

Cannot return an item's Author and Editor properties in CSOM

I have a utility which makes updates without affecting the ModifiedBy/Editor field. Before any updates are made, I store the user value in one of two ways: CamlQuery camlQuery = new CamlQuery(); ...
0
votes
1answer
241 views

Business Connectivity Services vs. ADO.NET

Why should I prefer Business Connectivity Services (BCS) over plain ADO.NET, if all I want are simple CRUD operations on an external database (e.g. remote Oracle Database), which are made from a ...
0
votes
1answer
3k views

Downloading files from sharepoint programmatically C#

I would like to know what are benefits/drawbacks when using either of these methods for downloading a document from Sharepoint using Microsoft sharepoint library public void Download(string ...
0
votes
2answers
83 views

Will a dll running .net framework 3.5 be able to work in SharePoint Server 2013 web application

I have a custom dll where its target framework is .Net 3.5, would it work in a SharePoint Server 2013 web application which runs on .Net 4.5?
0
votes
1answer
53 views

SharePoint lists and libraries are accessible without any authentication

I am new to SharePoint development, I am building an internet facing website with anonymous permissions for the pages, my current situation is that my lists are accessible without any security upon ...
0
votes
1answer
179 views

Why is SPHttpUtility.HtmlEncode preferred to HttpUtility.HtmlEncode?

The SharePoint Code Analysis Framework rule SPC020220: Do not call 'HttpUtility.HtmlEncode' states that: The assembly should not call HttpUtility.HtmlEncode(string) to encode strings [and that] ...