The process of developing software, including requirements gathering, solution design and analysis, implementation, testing, deployment, support and maintenance.

learn more… | top users | synonyms (3)

2
votes
0answers
164 views

GetUserEffectivePermissions returns wrong results

I'm checking the permissions for user on a SharePoint 2013 list: using (var ctx = new ClientContext("http://comtoso.com")) { var list = ctx.Web.Lists.GetByTitle("TestList"); ...
0
votes
1answer
56 views

Column Validation Forumla Question Regarding Special Characters and ASCII

I've run in a problem writing a formula that will basically validate what the user enters. So for example, i need a user to input a password using the following criteria: 12 characters long 1st ...
1
vote
3answers
169 views

Read SharePoint List Data from an aspx Website (C#)

I have done a lot of SharePoint out of the box customization but have no real experience in coding around SharePoint. Therefore I have a basic question. What do I need to do (install) to be able to ...
0
votes
1answer
149 views

FileNotFoundException :<nativehr>0x80070002</nativehr><nativestack></nativestack>

Error related To System.IO.FileNotFoundException`,trying to get survey 1,survey 2 from Custom list Survey list HAVING 2 Columns- 1)Title 2)Url :-Contain URL OF survey 1 or survey 2 Custom ...
0
votes
1answer
511 views

Get List Item Version History using Client Side Object Model (C#)

I am using the Client Side Object Model Microsoft.SharePoint.Client.dll and Microsoft.SharePoint.Client.Runtime.dll against SharePoint 2013, and am able to pull down data from custom lists. What I am ...
0
votes
1answer
43 views

Programmatically enable Auto-approval for permission requests on community site collection

I've done some searching and cannot find a solution anywhere. I'm creating community site collections via event receiver. I need to enable "Auto-approval for permission requests" on each site ...
0
votes
2answers
27 views

Download file in Edit mode

I have a visual web part. In it i use a hyperlink's click event to call an Application page's WebMethod using Ajax. [System.Web.Services.WebMethod] public static void EditDocMethod() In this static ...
0
votes
0answers
45 views

SPList OnQuickLaunch and QuickLaunchOptions not working

I am trying to hide the list from quick launch and it is not updating it. Here is the code Guid listId = web.Lists.Add("Test", "Test", SPListTemplateType.GenericList); SPList list = ...
0
votes
1answer
50 views

SharePoint Copy Blog to new site collection in c#

I am trying to make a code that copies Posts and Comments to a site. It is working, except setting the lookup field to connect Comment with Post. using Microsoft.SharePoint; using System; namespace ...
0
votes
1answer
24 views

Setting the value of a boolean XMLElement

I'm having a problem when assigning a value to a Boolean check/tick box within InfoPath xml code. I've created text boxes using inner text values but this gives the error of an incorrect data type. ...
2
votes
0answers
24 views

ALM for Site Templates? Template or CSOM App?

Looking at the best way to implement a set of feature requirements for a new product being proposed by my firm. A client portal accessed through our 365 SharePoint environment. Features: dropbox ...
0
votes
1answer
26 views

Unable to download .exe from SharePoint 2013 programmatically

We have a web application which allow users to download documents from SharePoint. Recently we have received a requirement to enable downloading .exe file. But on clientContext.ExecuteQuery(); I am ...
1
vote
0answers
34 views

SharePoint Document Set Version Extension

Before reading further, please note this is not a simple 'how do I enable versioning' and, as far as I can tell, nothing similar has been asked before... Instead I am looking for any solutions (3rd ...
0
votes
1answer
30 views

Repeating table creates a duplicate entry of the last node into the first position, Infopath

The problem I'm having is that the last node in a repeating table is duplicated into the first position of said table eg: 3 1 2 3 I've got a statement that deletes this node: ...
0
votes
0answers
52 views

Title field null after .Files.Add() with HashTable parameter

I have been developing a solution for a client that involves the following lines of code, to create a new file inside a document library: metadata["SomeField"] = someFieldValue; metadata["Title"] = ...
0
votes
1answer
42 views

SharePoint 2010 Client Object Model - 401 on SubSite but not root

I am trying to use the CSOM to access data from a root site, then loop through its subsites to get into files that are stored in its lists. When I go to create the ClientContext, it works fine with ...
0
votes
0answers
20 views

Could not find default endpoint element that references contract 'LabM_Service.Service1Soap' in the ServiceModel client configuration section

I have a referenced web service in an InfoPath form that I'm trying to initialise. The service is named Service1 by default within the solution. I'm trying to understand what I'm missing when I run ...
0
votes
1answer
60 views

Add “file preview” to Document Library “forms”

In SharePoint 2013... (Enterprise). On the Forms for my Document Library, I would like to add the "document preview" that comes up in Search Center (for Office and PDF files). Has anyone done this? I ...
0
votes
1answer
42 views

How to create a Document Template for “Scanned” PDFs? (Editing isn't necessary.)

I have a Custom Content Type called "Vendor Invoices". It is based off the "Document" Content Type. I would like to create a "Document Template" that will support "PDFs", but the PDFs should always ...
0
votes
1answer
38 views

ValidationFormula to include 2 datetime fields

I have a custom list which is created via code. It has 2 fields for start and end date. When I specify the ValidationFormula with the 2 fields, the code errors out. Is there a way to validate the 2 ...
1
vote
1answer
119 views

How to change the site logo of sharepoint online (Office 365) using C#?

I want to change the Site Logo of the Office 365 sandbox solution using C#. I have tried this code: site.RootWeb.SiteLogoUrl = imageUrl; But, Its not working. I also want to upload the image ...
0
votes
3answers
40 views

Cannot add item to a list

I can create a list and add a custom column to it but there are no items present in the list when I try to add them programmatically. Below is the code snippet. Guid listId = ...
0
votes
0answers
140 views

Updating List View Web Part property in page

I have a List View web part (In the page > Add web part > App > document library name). I need to update the TitleUrl property of this web part through C# code. The SaveChanges() method below works ...
0
votes
0answers
14 views

Find the differences in contents of documents between versions - Document Library

I want to compare the version updates and the content of a document which stored in document library using document version. For example: one word document has 3 versions, Version 1.0 contents : ...
1
vote
2answers
167 views

How to remove “add document” button of document library programmatically using C#?

I have created a document library programmatically using C#. Now, I want that when any particular document library created then its 'add document' button should not view or if possible then whole ...
0
votes
1answer
35 views

sharepoint 2013 workflow association not allowed

I am developing a SharePoint 2010 workflow in Visual Studio and all the time after deploy it I have to go in Workflow settings in the list and select allow radio button to the workflow associations. ...
0
votes
0answers
18 views

Temporarily disable hotkeys

I am working on a Sharepoint hosted app, and reassigning some of the keys and key combinations to my custom functions. Here's the fragment of my JavaScript code that does the reassignments: ...
0
votes
1answer
34 views

Error on web.Webs.Add, Invalid Characters

I'm currently trying to create a Sub Web on a Site. The problem I'm faced with is that for some reason I'm getting an strange error message. Additional information: ...
0
votes
1answer
39 views

Adding Custom Ribbon to List Tools

I Think I have tried every variation from all of the sources I can find, except for the correct one. I want to add a ribbon button the the List Tools tab on lists. Here is what I am doing: ...
0
votes
0answers
34 views

upload and download the file same name but different extension from the document library

I am using the Client Object Model (Copy. Asmx ) To upload and download the file from the document library. I am having the mandatory File ID for the each Document. I tried to upload the the ...
0
votes
0answers
45 views

How do I retrieve a custom property from a Microsoft.SharePoint.Client.Folder?

Greets, I have a reference to a Microsoft.SharePoint.Client.Folder object: Folder folder = _libraryClientContent.Web.GetFolderByServerRelativeUrl(PATH_DEV_DOWNLOAD + ...
0
votes
1answer
26 views

How to develop for SharePoint 2013 on VS 2012

I am new in sharepoint platform. To prepare my development pc for sharepoint development I have installed sharepoint server 2013 ,vs2012 ,sql server 2008 r2. I start reading book “Beginning ...
2
votes
1answer
50 views

using SPSecurity.RunWithElevatedPrivileges

SharePoint 2013 on-premise What is the difference of using: SPSecurity.RunWithElevatedPrivileges(() => { using (SPWeb web = site.OpenWeb()) { .... } } with ...
0
votes
1answer
55 views

Not getting RootWeb Url

Quite new to this sharepoint.se I just go ahead an post you my code which is not working: using (ClientContext clientContext = new ClientContext(m_WebSiteUrl)) { ...
2
votes
1answer
203 views

How to change Document Library webpart's toolbar type programmatically?

I want to edit document library webpart to change Toolbar Type to 'No Toolbar' programmatically using C#. Actually I want to hide 'add new document' button. I have created a document library ...
3
votes
2answers
199 views

Sharepoint Deployment not updating webparts

Alright. I have just made changes to a custom webpart that was already deployed to Sharepoint. I made a few deploys, some changes... and suddenly, a code that was in the front-end of the webpart ...
1
vote
0answers
38 views

Rejecting an Approved document Versus Rejecting a Pending document

I have Enterprise Wiki site collection which contains a document library.I have set the following settings for the document library:- Require content approval for submitted items? >>> Set to Yes Who ...
0
votes
1answer
156 views

C# - Creating new SharePoint user in .Net Membership provider

I have an external-facing SharePoint site that uses a .Net membership database to house claims user accounts. I'm attempting to build a solution in C# that creates a new user account in the database ...
0
votes
0answers
32 views

People picker with autocomplete AND search button

I'm aware of ClientPeoplePicker control which has autocomplete but no Validate and Search buttons. I'm also aware of PeopleEditor control which has Validate and Search buttons but no autocomplete. ...
1
vote
1answer
26 views

Development Environment SharePoint 2010

I have some questions about SharePoint 2010 development environment. I want to develop a solution package. Should development environment is the same version as environment production? If I need ...
0
votes
0answers
73 views

Sharepoint 2010 SPListItem.Tasks returns threw an exception of type 'System.ArgumentException'. What could be the cause?

I am going through a list item and getting each item, then get each workflow task for that item. I am able to retrieve the tasks for some items but not others. One difference I am able to find ...
0
votes
0answers
9 views

What is an efficient setup for designing and testing O365 web parts?

I have just been immersed into the deep end of sharepoint development; and then some: developing web parts for O365 sharepoint. Right now I am using a 'deploy and see' development model, but I would ...
0
votes
0answers
58 views

Update list item with managed metadata field returns The security validation for this page is invalid

Using SharePoint 2010 Server I'm attempting to programtically update a managed metadata field in a document library. I'm able to do it without issue on all other non-managed metadata fields. When I ...
0
votes
0answers
50 views

Download a file from Sharepoint from a domain different of the user C# 403

The following code works with my user in my OneDrive for business to download some file, but when I try access to another OneDrive company where my user has permissions it returns 403 forbidden. I ...
2
votes
1answer
123 views

Ribbon Button in List, which sends Data to C# code

First, I'm not really a developer, but since I'm the only "sharepoint-guy" in my company I need to learn this, too. So here's my problem: I need a ribbon button, which sends data of the marked item to ...
0
votes
0answers
55 views

Call PerformancePoint charts in custom asp.net control programmatically

How can i call a performancepoint chart(designed in dashboard designer) in custom asp.net user control programmatically from the performance point content library. I have successfully designed ...
0
votes
0answers
60 views

Inconsistent behavior when SharePoint enable/disable the Approve/Reject links, inside my enterprise wiki site

I am working on an enterprise wiki site collection, which have two libraries. then i set "Requires content Approval for submitted items" inside the versioning settings. now if i have an approved or ...
1
vote
1answer
32 views

How can i write exception errors to a multiline text field in a SharePoint list from an event receiver

I have a document library on my SharePoint online site, when a user uploads a file in the library a c# itemAdded event is triggered to read the file and store the information in a separate list. This ...
0
votes
0answers
65 views

Error when trying to reference an excel sheet inside SharePoint document library “The file name, directory name or volume label syntax is incorrect”

I have the following :- SharePoint document library. Inside the document library i have; Visio diagrams + excel sheet. now i am using an Add-in inside the Visio drawings to reference the Excel sheet ...
0
votes
1answer
13 views

External Content type linq error

I have a list with an externa content type. I am tring to fetch the element by server side code, but i get this exception: Microsoft.BusinessData.Infrastructure.BdcException This is my ...