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
3answers
2k views

Is it possible to have CAML Join without Lookup Columns?

I am new to SharePoint. I am developing a web-part in that I am trying to join two list. I have a same web-part in that lists were join using LINQ query. But it takes more time to fetch the data. So ...
1
vote
0answers
22 views

SP url - Problem with alias

I have a problem when using an alias to access my Sharepoint (2013) site through code. I want to retrieve a document from a SharePoint library. In my browser address bar I can type either : ...
0
votes
3answers
30 views

How to do a real time research in a SPList from a Textbox

I'm working on SharePoint 2010 (with Visual Studio 2010) for an internship and I would like to do a real time search in a SPList from the value in a textbox. I have something in mind like Google's ...
0
votes
0answers
10 views

Updates are currently disallowed on Get requets, Code behind trying to update list item

I am using the below code to get id from url and get list item, then update it. But i am getting an error Updates are currently disallowed on Get requets. To allow updates on a GET , set ...
1
vote
2answers
714 views

Upload document to Sharepoint 2013 Online using webservices

I have a client who is implementing customer portals in Sharepoint 2013 Online. The current program distributes documents to the customers by mail. Now we have to upload the documents to the customer ...
0
votes
0answers
15 views

External Data Field - check if item exists

I am using this code to set a external data field programmatically XmlDocument xmlData = new XmlDocument(); xmlData.LoadXml(myBCSField.SchemaXml); String bdcEntityName = ...
0
votes
2answers
35 views

Problem to read custom webpart properties (if it's not static)

I have problem with custom properties. I want to set custom boolean value or write custom text. It do not work, if I don't set values to static. However, if I set value to static all webparts share ...
1
vote
0answers
22 views

SharePoint webpart layout problem

I'm trying to create simple visual webpart what should list files multiple locations and allow user add new files. However, I have small layout problem: Visual webpart takes too much space on ...
0
votes
1answer
170 views

Retreive Items from SharePoint list using c# client object model

I am trying to retrieve the Author and Editor column values of a sharePoint list using C#(SharePoint client object model). Instead of displaying the value of Author field, it is getting displayed as ...
0
votes
2answers
102 views

Hide left navigation items in SharePoint 2013 programmatically

Currently I am displaying items on Quick Launch (Left navigation). These items come from Navigation Setting My requirement is to hide some items in the left navigation bar programmatically, how can ...
42
votes
62answers
7k views

List of SharePoint development tools [closed]

What tools do you consider essential in your SharePoint development toolkit? One answer per tool please so the community can vote!
1
vote
3answers
37 views

Programmatic access to new Publishing Pages that haven't been checked in

Is it possiblet o get a list of Publishing Pages in a Pages library that have been created, but haven't been checked in after initially creating the page? SPList.ItemCount does give the correct ...
1
vote
2answers
41 views

Can SharePoint code interact with a remote SharePoint server

We plan on having some scheduled services run alongside our SharePoint environment. These services include pulling data from a remote system into SharePoint, and sending out timed notifications based ...
1
vote
1answer
69 views

How To Use Request.Querystring In SharePoint 2010 Application Page?

I have the following lines of code: SPList thisList = oWeb.Lists[new Guid(Request.Url.QueryString).Get("List")]; SPListItem thisItem = thisList.GetItemById(int.Parse(Request.QueryString["ID"])); ...
0
votes
0answers
53 views

'My Application Page' is not allowed here because it does not extend class 'System.Web.UI.Page'

I have a custom SharePoint 2010 solution that includes an aspx page. The aspx page in is in the /layouts folder within the solution and I created it by just adding an application page to the ...
1
vote
2answers
39 views

Programatically detect which list is used in the form

I'm creating a web part to be added on a form (DispForm, EditForm, NewForm) that will control the visibility of the form's fields. On the web part's tool part, I'm planning on displaying the list of ...
-1
votes
1answer
58 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
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.
0
votes
1answer
267 views

Create user profile programmatically

I want to overwrite the existing user profile that are in sp with my own one. public string AccountName { get; set; } public string WorkPhone { get; set; } public string Department { get; set; } ...
0
votes
1answer
45 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
69 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 ?
1
vote
1answer
338 views

Invoking PowerShell inside a SharePoint 2013 timer job throws an exception

I have a SP2013 timer job where I'm executing some SharePoint PowerShell commands. The same code that used to work in SharePoint 2010 will not work in SharePoint 2013 (Server 2012) - when the job is ...
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
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 ...
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
0answers
135 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 ...
1
vote
2answers
953 views

GetitembyId in list

SPWeb web = SPContext.Current.Web; SPList list = web.Lists["MyList"]; SPListItem item = list.GetItemById(1); item["Title"] = TextBox_Name.Text; item["ProductNumber"] = TextBox_ProdNum.Text; ...
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 ...
30
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
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
63 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
61 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
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
44 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
535 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
477 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
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 ...