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
24 views

SharePoint 2010 Workflow Tasks SPQuery

I have a list item that gets triggered daily to send a workflow task. I created a web part to search based on different column values of the list item and the tasks. Currently: It goes through the ...
1
vote
1answer
24 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 ...
31
votes
4answers
2k views

How can I make a SharePoint open source project at home?

I have an idea for a small SharePoint solution that can be quite useful, and I'm thinking about writing it in my spare time. How can I do it? This is a relatively small project, which I don't ...
1
vote
0answers
69 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
30 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
32 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
28 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
80 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
24 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
66 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
64 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 ...
4
votes
2answers
1k views
0
votes
1answer
36 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
46 views

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

I wonder if someone can help me. Im new to SharePoint Programming but learning slowly. I have a superb Web Part downloaded from Codeplex which essentially is a Countdown Timer in jQuery. ...
1
vote
2answers
1k views

Get SPWeb from SPContext in WCF hosted on SharePoint

I have created and deployed a WCF service in SharePoint and I am sending requests using JQuery. Every thing is working fine except for sub sites. Lets say I have these two service URLs: - ...
0
votes
1answer
30 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 ...
1
vote
3answers
555 views

Create a Word Document in a document library programmatically

My requirement is to create a word document based on the information in SharePoint lists on the site. For dealing with the word I have three options: "Docx"library. (CodePlex Project) "OpenXML" ...
1
vote
2answers
481 views

The language-neutral solution package was not found

How repair this error: Please describe. The language-neutral solution package was not found.
0
votes
1answer
29 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
18 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
3k views

The remote server returned an error: (403) Forbidden

I am developing a C# console application on my local computer running on Windows 8. My target SharePoint server is SharePoint Online on Office 365. I am trying to get the web site name using web.Title ...
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 ...
1
vote
0answers
2k views

The remote server returned an error: (401) Unauthorized. Using CSOM in ASP.NET MVC 4

I'm trying to pull data through SharePoint 2013 BDC Models that I have imported from my ASP.NET application which works fine when I run either locally on my machince or locally on the server. ...
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 ...
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
2answers
2k views

I need to create a custom calendar in sharepoint2010 for scheduling Appointments for a Marketing Firm

I need to create a custom calendar in sharepoint2010 for scheduling Appointments for a Marketing Firm, but I'm still unexperienced on SharePoint development. For my requirement be able to add date ...
0
votes
1answer
151 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
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 ...
0
votes
1answer
512 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
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
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
0answers
70 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
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 ...
4
votes
4answers
940 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
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
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
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
0answers
21 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
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 ...
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 ...
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 = ...
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 ...