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

learn more… | top users | synonyms

4
votes
3answers
11k 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 ...
3
votes
2answers
11k 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
126 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
1answer
566 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
1answer
444 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
23k 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 ...
2
votes
1answer
117 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
7k 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 ...
2
votes
2answers
89 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
119 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
566 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
28 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
1k 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
1answer
793 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 ...
2
votes
2answers
397 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 ...
2
votes
2answers
520 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 ...
1
vote
3answers
41 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 ...
1
vote
2answers
8k 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
834 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
1k 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
2answers
817 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
310 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
417 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
3answers
640 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
1answer
29 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
188 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
263 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
225 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
47 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
407 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 the link ...
1
vote
1answer
142 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
1answer
40 views

CAML query ignoring OrderBy element

I can't seem to return a set of items in the order I want while using a CAML query. I want to grab the newest item in a specific folder, so I want to query the folder, order it by ID (though I'm ...
0
votes
2answers
50 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
2answers
89 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
184 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
2k 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
1answer
30 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
42 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] ...
0
votes
1answer
222 views

Sharepoint 2010 : Custom List Context menu (ECB) editing and customizing with custom actions

I want to Add a custom Action or link as "Email to" in the EditControlBlock or the Context menu for custom list that i have created as shown in the Picture below. This "Email to" button should send ...
0
votes
1answer
85 views

This list is currently being managed by Project Web App, and cannot be edited directly

I got this error when trying to update the Tasks: {"error":{"code":"-2130575223, Microsoft.SharePoint.SPException","message":{"lang":"en-US","value":"This list is currently being managed by ...
0
votes
1answer
64 views

Data Table distinct value

dtnew1.DefaultView.Sort = "Modified DESC"; DataTable unique = dtnew1.DefaultView.ToTable(); In this code's "unique" table I'm getting all values but post title value is getting repeated. I need a ...
0
votes
1answer
185 views

How do I deep copy a library item to another library?

We have an outside document app (PCM) that has a nightly sync to our SharePoint server. All contracts in PCM are synced into SP then we change the PCM document to a link to SP. Recently, we have a ...
0
votes
3answers
79 views

SPException while geting a folder as an SPListItem

This sounds like something easy but I some how can't find an answer. I am trying to get an SPItem from a SharePoint list (the item is a folder) so that I can set certain permissions on the folder ...
0
votes
2answers
90 views

How can I compare the date of files with REST query?

I am using SharePoint OneDrive for Business and connected to this storage REST API. And I need to get metadata only files created or updated after some concrete time For example, I need all files, ...
0
votes
1answer
37 views

What is the proper method for installation of a team site with custom solutions?

What is the proper method for installation of a team site that has parts and webparts configured using PowerShell as well as six custom C#.NET applications for select webparts? Should I make a ...
0
votes
1answer
549 views

How do programmatically store the sharepoint document library document to local machine?

i have one question. How do pro-grammatically store the sharepoint document library document(eg Image.png) to local machine(D:/Images)?? Anybody have a solution???
0
votes
2answers
54 views

Capture SharePoint role group and group members?

For our audit process I need to regularly capture all of our SharePoint role groups (for our main site collection) and the members in each group. Is there a reliable way to approach this problem?
0
votes
1answer
276 views

How to Integrate STSADM command within Windows Form App

I am developing a Windows Form Application which will have one option as "Export a Site" and another to "Import a Site" I want it to be done using following STSADM commands but not sure what I need to ...