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

learn more… | top users | synonyms

0
votes
1answer
19 views

How to get list of files in a folder using .NET libraries

Hopefully this is an easy question, but I am having some trouble finding samples of how to get a list of files in a sub folder in a document library. Here's what I have, but I keep getting a "Value ...
0
votes
1answer
36 views

Powershell Date Parsing for Sharepoint Set-SPOListItem Update

I am trying to parse a CSV file in Powershell for a bulk file and metadata upload to SharePoint Online and am failing on the date fields. The incoming date format is '2007/12/24', the expected SPO ...
1
vote
1answer
37 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
44 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
228 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 = ...
0
votes
0answers
9 views

SP07 - how to use AJAX in SharePoint 2007

I want to use AJAX in SharePoint 2007 for webPart solution. My webPart is a Form where I input a data. I want where click buttonAdd, only my form to be refreshing. How to do this with "easy-way". ...
0
votes
0answers
7 views

Custom Display Form - Thumbnail Shows Blank

I'm in SharePoint Designer and trying to create a custom display form for a picture library. I have created a custom form but the image thumbnail does not show up. I believe it is the @...
0
votes
0answers
21 views

How to store null Value in sharepoint listitem

I have total 5 textbox and 2 textbox value are mandatory, remaing are not mandatory. If user does not enter value in not mandatory textbox then store in list null value of those textbox. But not ...
0
votes
0answers
35 views

Replace SharePoint 2013 Discussion Board Username by FullName

I need to replace the default SharePoint 2013 discussion board Addedby/Author/RepliedBy field(currently it is username) in to custom field example user's Full name. I am using FBA authentication to ...
0
votes
1answer
33 views

How do i get current user's RegionalSettings using .net \ rest request?

I'm trying to get current user's regional settings. var regionalSettings = context.Web.RegionalSettings works but there is no RegionalSettings on context.Web.CurrentUser.
0
votes
0answers
12 views

Sitemappath at SharePoint MasterPage giving Error for & as &

Getting display issues when using asp:SiteMapPath in SharePoint master page, & displaying as & like when I add site title as US & UK. it's displaying like US & UK. I'm using ...
3
votes
0answers
65 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 ...
1
vote
0answers
14 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???
0
votes
0answers
48 views

How I can use SCOM to create a dashboard for SharePoint health monitoring?

I want to create a dashboard with the help of SCOM 2012 to monitor SharePoint multiple farm health. Can someone give me some ideas or suggestions or any reference how I can start and proceed further.
0
votes
0answers
7 views

How I can use SCOM to create dashboard for our SharePoint farm health monitoring? [duplicate]

I want to monitor the health of multiple SharePoint farms through dashboard system with the help of SCOM 2012. Can someone please refer me some ideas and suggestions on how I can start and proceed ...
2
votes
1answer
175 views

How to change choice field value in SharePoint programmatically

SPFieldChoice chFldCategory = (SPFieldChoice)lst.Fields["Category"]; chFldCategory.EditFormat = SPChoiceFormatType.Dropdown; chFldCategory.Choices....
1
vote
0answers
110 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 ...
2
votes
1answer
103 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 ...
0
votes
2answers
104 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
0answers
21 views

ItemAttachmentAdded doesn't return correct UniqueId

I've added an ItemAttachmentAdded eventreceiver to my list and it's correctly fired whenever I add an attachment to my listItem. However, when looking up the properties I'm not getting the UniqueId ...
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)) { ...
0
votes
1answer
93 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
1answer
218 views

Retrieve file version metadata with CSOM

My organization is requiring that we rewrite all of our sandbox solutions as we shift to SP 2013 as provider-hosted apps using CSOM. One of the event receivers I wrote would previously use the ...
0
votes
0answers
173 views

SharePoint 2013 Workflows - A binding instance has already been associated

I upgraded from .NET 4.5 to 4.5.2 via the Web Platform Installer. This utility offers no way to rollback or uninstall. I am getting the following error in SharePoint for a 2013 Workflow (also shown in ...
0
votes
1answer
276 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 ...
2
votes
1answer
56 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
1answer
492 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 ...
0
votes
1answer
33 views

Opportunities of Sharepoint 2013 Foundation

Can I develop EventReceivers, TimerJobs, WebParts and different components in Sharepoint 2013 Foundation. If it can not, could you give me a link to approve this?
0
votes
3answers
733 views

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....
0
votes
2answers
914 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 ...
2
votes
3answers
240 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 ...
0
votes
1answer
55 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
2answers
643 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
205 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
118 views

Restrict permissions/access to list items in code

Does anyone know a way to restrict access to list items in code, even if someone has full control on a list item, deny that in code. I know there is a way for updating using event receiver, but I'm ...
0
votes
1answer
528 views

SharePoint 2013 SAML/ADFS 403 Forbidden on ClientContext.ExecuteQuery()

To give a little background on my setup, I'm running SharePoint 2013 Foundation configured with SAML authentication using ADFS. I'm able to access the SharePoint site using a web browser from both ...
1
vote
0answers
517 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 ...
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, ...
0
votes
1answer
408 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
1k views

Microsoft.SharePoint.Security namespace missing

I am making a custom timer job in VS 2012 that targets .Net Framework 4.5. I am using namespace Microsoft.SharePoint and Microsoft.SharePoint.Security but problem is it is showing following error: ...
0
votes
1answer
226 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
185 views

vb.net client object model: get wikipagelibrarytitle/list by url

I am using the .net client object model for SharePoint 2010. I am able to create a new wiki page in my wikipagelibrary using the following method: Dim wikiLibrary = context.Web.Lists.GetByTitle(...
1
vote
1answer
517 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
637 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
464 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 ...
0
votes
1answer
82 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
133 views

Unable to add .exe file to SharePoint 2010 using Client Object model after it has been removed from blocked files list

Language: C# Framework: .Net 4.5.1 Environment: SharePoint 2010 - Windows Server 2008 R2 My software is used to upload files to sharepoint. It works perfectly well for the majority of files. However, ...
0
votes
1answer
380 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 ...
1
vote
0answers
67 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?
0
votes
3answers
112 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 ...