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

learn more… | top users | synonyms (3)

0
votes
1answer
68 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
28 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 ...
0
votes
1answer
167 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
2answers
26 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
1answer
28 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
0answers
60 views

Unable to add site columns including (created By, Created date & latest version) to my Enterprisewiki content type or to my enterprisewiki page layout

I have the following inside SharePoint 2013:- Publishing site collection. I used the Enterprise Wiki template. Currently I want to add the following site columns to my EnterPriseWiki page layout:- ...
0
votes
0answers
35 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
32 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
16 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
18 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
18 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
24 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 ...
4
votes
4answers
871 views

How to programmatically modify item level permissions prior to first save?

I've got a situation where there are strict permissions requirements on an a list of which I already have written a custom form. The requirement is that upon creation, based on metadata, only certain ...
0
votes
1answer
725 views

Build a visual web part that shows a document library

Ok so I need to build a visual web part (Has to be Server side and done in visual studio c#) that shows a document library. On selection of the document library, the web part must output the entire ...
0
votes
1answer
21 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
1answer
29 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
39 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
0answers
13 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
0answers
34 views

How to add custom fields programmatically to my sharepoint list?

I have a Sharepoint list called ListA, it has almost 100k rows and some columns. For the purpose of my program, I want to add some custom fields to that list (just temporarily for the code use, these ...
0
votes
1answer
38 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
34 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 ...
0
votes
1answer
37 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 ...
2
votes
1answer
74 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 = ...
1
vote
1answer
21 views

Add panels to site dynamically

I have a main panel which is called linksAndPicturesPanel within this panel, I want to add more panels -> 1 panel for the link and 1 panel for a picture (red and green). Furthermore, it should be ...
0
votes
1answer
25 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
2answers
2k views

Add Listview of parent site list

I want to add a page where users can view and edit a list, problem is the list is not in the site but rather in its parent site. I also want to be able to filter the list so they can only see a items ...
0
votes
1answer
764 views

SharePoint: Move SPListItem inside folder to root and set lookup field value

Given a custom list with folders for countries: ListA ---FolderA (Title: "USA") ------Item1 ------Item2 ------Item3 ---FolderB (Title: "Switzerland") ------Item4 ------Item5 ------Item6 Given a new ...
0
votes
1answer
891 views

Setup an item level auditing for a sharepoint document library

I would like to setup an item level auditing (Opening or viewing or downloading) for a SharePoint 2007 document library without enabling audit for the entire site-collection. This link may help us ...
3
votes
4answers
21k views

Server Error in '/' Application. Runtime Error

I am new to SharePoint. I am developing a web part. I that I have created the .aspx page. When I am going to access that page by the URL it throws an error like. Runtime Error Description: An ...
3
votes
1answer
498 views

How to update metadata?

I have following code (didn't list the whole code) behind a button on a InfoPath Managed Form. and it works meaning I can submit data to a list. Now I have 2 controls on the form that is ...
3
votes
2answers
134 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 ...
0
votes
1answer
31 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
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 : ...
2
votes
2answers
96 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
0answers
17 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: ...
2
votes
1answer
115 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 ...
2
votes
4answers
1k views

Document Properties Demotion from ListItem field is not working

I have a content type in a library configured with a word document as a template, it is the default content type. When creating via the UI from New item entering information into the DIP sets values ...
0
votes
1answer
19 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
37 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
0answers
22 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
1answer
25 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
41 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
40 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)) { ...
1
vote
4answers
2k views

Where is the SharePoint 2013 SDK?

I want to try out SharePoint 2013 with Visual Studio 2012. I'm trying to locate the SharePoint 2013 SDK. Google points me to older posts about Beta SDK releases. Visual Studio 2012 only has ...
0
votes
0answers
305 views

Adding a SharePoint list to an Update Panel

I am trying to add a SharePoint list to an AJAX Update Panel. I am doing this by adding a ListViewWebPart to the Update Panel. My code: SPList fcsRequestList = web.Lists.TryGetList("Requests List"); ...
1
vote
1answer
137 views

SharePoint Designer Workflows read .XOML file programmically using c#

I need to get list of all the workflows using a custom activity. I visited a workflow using designer and have the name of the activity. I just need to read that xoml file and see whether that file ...
1
vote
0answers
27 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 ...
2
votes
1answer
319 views

Workflow gives “Error Occured” when uploading file to document library

I am mapping one xml document to another. When it is done, I am uploading that document to a document library. Here is the code that does that: MemoryStream ms = new MemoryStream(); ...
0
votes
1answer
71 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 ...