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

How to get the SPFieldLookup object from a SPListItem

I have an SPListItem from a SPList That contains a Lookup Field. How do I do to get the SPFieldLookup object from this item? I need to get the other fields from this object an not only the title.
-1
votes
1answer
57 views

Get List Item URL (fileURL- Server Relative URL)

I have a list created in SharePoint. Now I want a server relative url (list item URL- i.e. "http://server/site/list/<listname>/file1.xml") using C#. How can I get it? I am using SharePoint ...
0
votes
0answers
15 views

How to create a personalized site collection (Sharepoint Online/Office 365)

Greetings fellow coders! I have been trying to create a personalized site collection in sharepoint online by office 365. I know that is possible to create this using a template, but what i'm trying ...
0
votes
1answer
44 views

Get the InternalFieldName Programmatically

I have a requirement to always use the internal field name for columns in custom Visual Studio projects. I want to use the internal string value of the field name consistently and have the following ...
0
votes
0answers
14 views

retrieve data from a sharepoint list in a portal and insert them into a sharepoint list in another portal

I want to retrieve data from a sharepoint list and insert them into another sharepoint list in another portal.. there is any method to retrieve data into excel file ? how to do this using C# or ...
0
votes
0answers
24 views

Not able to upload a file programatically in Document Library

I am getting following exception while trying to add a file : SPException: It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web. ...
0
votes
2answers
57 views

Csom or rest to verify user

I am uploading a spreadsheet to a task list using visual studio - the sheet will usually have users that are misspelled or incomplete and SharePoint throws a not a user error. I have to go back fix ...
0
votes
0answers
16 views

Getting row data from SharePoint Analytics

How can I get row data from SharePoint 2013 analytics? Is there any api to use by sending query or something and then get the row data?
0
votes
1answer
22 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 ...
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
28 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
30 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
27 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
73 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
23 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
62 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
55 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
68 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
35 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
43 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. ...
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 ...
0
votes
1answer
28 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
17 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
16 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
154 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
52 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
162 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
132 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
467 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
41 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
44 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
49 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
23 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
24 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
32 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
29 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
58 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
112 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
133 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 ...