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

learn more… | top users | synonyms (3)

1
vote
1answer
26 views

How does a SharePoint Developer implement better code organization?

Even as a seasoned developer, I can admit that I'm awful at one thing. Organization (i.e. documenting, encapsulating, code reuse, sub-versions, etc). If I get hit by a bus tomorrow...I pity the ...
1
vote
0answers
74 views

SharePoint Timer Job is running but not executing

This feature is scoped at the site collection level. When the feature activated, the timer job is created in the web application with a generic name that includes the site collection URL that it's ...
0
votes
1answer
33 views

Why using Decimal in this CAML Query is not returning correct records?

I have the following table: DoubleNumber ------------- 10.50 44.77 88.90 I am using the following CAML Query: query.Query = "<Where><Contains><FieldRef ...
3
votes
1answer
34 views

How can I get a listitem/page related resources from code behind

In the GUI it is possible to get the resources used by a page as shown by the image. Now I would like to get this information in the code behind so that I can modify only pages that are using a ...
0
votes
1answer
30 views

Not able find user in userinformation list

I am using one list and it has one person field configured for "All Users". So when i type some email ID in that person field, it is getting user and it works well. But when i wants to add new ...
0
votes
2answers
102 views

HttpContext.Current.Response is null

Using SharePoint 2010 sandbox webpart, I am dynamically making a pdf file in memory. I want to have a download browser prompt after the file is made however I am having issues with ...
0
votes
0answers
26 views

using claims from trusted identity provider

I have a site that is using Azure ACS as our trusted identity provider. All authentication goes through this STS. ACS provides my identity claim (email) and can provide others. Additionally, I ...
0
votes
1answer
78 views

List Field Iterator Create New Item by Code

I have a web part and I dynamically add a List field iterator to it: //contentType is the content type ID SPList list = web.Lists[listName]; SPContentType spct = ...
0
votes
2answers
73 views

What is wrong with the following Caml query

I have the following table with columns: Editor | _UIVersionString | Title | LookupNumber | Author a | b | Title1| 100;800 | admin I use the following query caml ...
0
votes
0answers
81 views

Generate automatically SSRS reports via SharePoint Workflow

I have developed SSRS reports (.rdl) and I want when a user subscribes to a report, this one will be generated by a workflow periodically, how can i do that on SharePoint 2010 ?
0
votes
1answer
40 views

Cannot convert lambda expression

I am trying to retrive an email of user in list. I have this compilation error context.Load: Error 1 Cannot convert lambda expression to type 'System.Linq.Expressions.Expression>[]' ...
1
vote
1answer
62 views

Adding an item to a List when clicking a WebPart Properties 'OK' button

I have a superb Web Part downloaded from Codeplex which essentially is a Countdown Timer in jQuery. (spCountdown) The code itself works perfectly, however I want to tweak it, in what I thought would ...
0
votes
1answer
32 views

Upload a file to a sharepoint list from code

How can I upload a file to a SharePoint list from code? I need to upload a file as an attachment to the list item through code. I use an ASP: FileUpload for the search and selection of the file but ...
0
votes
1answer
30 views

SharePoint Service

I developed a SVC on SharePoint 2013 that uses MultipleBaseAddressWebServiceHostFactory. The service must generate files. It is a very long operation. How do I increase the default timeout? ...
0
votes
0answers
8 views

Infopath 2010 Coding with C#

currently i'm using Microsoft Office 2010 in FRENCH version, the problem is that there's a mild difference even in coding fml. I need to know how to locate the XpathNavigator in infopath designer 2010 ...
1
vote
0answers
19 views

Attach my Own webservice for spell Check in SharePoint

I want to attach my own web service for spell check in SharePoint. How can i attach my own web service. Or is there any other way in which i can attach it SharePoint. Like i have to add it to ...
0
votes
1answer
12 views

Filter a list from a hyperlink?

I currently have a webpart written in C# that displays the latest news headlines from a SharePoint list. What I would like to do from that webpart is that when an item is clicked it returns the full ...
0
votes
0answers
17 views

SPEmailEventReceiver - Date Sent

I'm developing an event receiver for a SharePoint 2010 that will fire when an email arrives in a document library. The event receiver extracts the header data from the email and populate it in the ...
2
votes
0answers
215 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
84 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
208 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
219 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
642 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
45 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
28 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
46 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
64 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
26 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. ...
3
votes
0answers
30 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
28 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
40 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
32 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
60 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
43 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
22 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
82 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
45 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
145 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
149 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
15 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
184 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
37 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
19 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
44 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

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
52 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 ...