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
40 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
62 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 ...
0
votes
1answer
476 views

Check-In & Checked Out files inside folder in Document library using Client Object Model

I am not able checkin/checkout the files in sub folders in the document library using client object model. Below is the code I am using. public void CheckOut()// CHECK OUT FUNCTION { try { ...
1
vote
2answers
435 views

Windows 8 App using COM dlls of Sharepoint gives error “Cannot resolve Assembly or Windows Metadata file 'System.Web.Services.dll'”?

I have created a sample app using Windows 8 C# XAML to get site info of SharePoint 2010 using COM Dlls. I have added reference of: C:\Program Files\Common Files\microsoft shared\SharePoint ...
2
votes
1answer
404 views

Extract text from document in a SharePoint 2013 library

I would like to extract the text from documents stored in a SharePoint 2013 online document library. I have the document loaded using: ClientResult<Stream> data = file.OpenBinaryStream(); ...
3
votes
1answer
717 views

Iterating over user profiles in Sharepoint Online 2013

With the on-premise instance of SharePoint, I am able to call the GetUserProfileByIndex from the User Profile Service to iterate over user profiles. However, with SharePoint online 2013, I get the ...
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
35 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
35 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
41 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"])); ...
3
votes
2answers
4k views

How to read an User field value for a list item

I've got a content type that contains a filed of the type user. When I want to read the ListItem I just get a string containing the users name instead of a object which contains Name, Username, E-Mail ...
3
votes
1answer
1k views

System.ServiceModel.ServiceActivationException “A relative URI cannot be created because the 'uriString' parameter represents an absolute”

The client object model code in my application is throwing the following exception. How to solve it?. System.ServiceModel.ServiceActivationException: The service '/_vti_bin/client.svc' cannot be ...
0
votes
0answers
25 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
27 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
16 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
262 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
36 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
11 views

In Survey List How To Check User Given Responce Or Not?

Actually I Have Survey List Web Part On Home Page, When User First Time visited Home Page And give response to survey list so that time i am Showing result. but Now My Requirement is If User ...
0
votes
0answers
56 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
230 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
12 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
15 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
24 views

IF user respond to survey (OOTB) & get result after Some time back to survey page again,so is it possible

IF user respond to survey (OOTB) & get result after Some time back to survey page again,so is it possible to Display direct Result Instead Of Display Question?
0
votes
0answers
11 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
22 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
1answer
675 views

Modifying List View in C# Doesn't Work?

I am trying to modify a view for a list in a Feature Event Receiver. The list is created in the same function; and the columns all added to it. When I look in the List Settings via the web interface, ...
0
votes
0answers
104 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 ...
3
votes
1answer
392 views

making an SP.UI print dialog

I'm thinking of adding a print button to my list ribbon , the minute I click on this button a print dialog appears showing the list of the available printers on my computer. so this printdialog i was ...
1
vote
1answer
367 views

workflowAssociation not displaying workflow

I have created a feature. In the FeatureActivated event I am creating some lists. I am then trying to attach a custom workflow to one of the created lists. However when I do this the workflow history ...
1
vote
1answer
368 views

Listbox in webpart has no selection

I'm having a problem that's really blowing my mind right now, because it seems like some basic .net functionality isn't working properly. No doubt I'm missing something really obvious. I could really ...
1
vote
2answers
849 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
1answer
538 views

Web service timeout issues

I've seen some posts on timeout errors but nothing I think that will help me. I have a custom web service running on a sharepoint server. It creates site collections and is being called through a ...
1
vote
1answer
394 views

How to programmatically access and manipulate Discussion item and replies?

How to access and manipulate Discussion item and replies? I have a discussion board that has a check box, based on the input I switch the permissions of that discussion post for a specific user (from ...
0
votes
2answers
51 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 ...
1
vote
1answer
415 views

Check Home Page Sharepoint 2010

How to check page is homepage/default page programmatically in C# sharepoint 2010
0
votes
0answers
11 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?
1
vote
4answers
3k views

Napa App: _spPageContextInfo is not defined

Am creating a vanilla Napa app and am seeking to reference the host URL as follows: var ctx = new SP.ClientContext(_spPageContextInfo.webServerRelativeUrl); Yet _spPageContextInfo is being flagged ...
0
votes
1answer
15 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
23 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
47 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
19 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
25 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
23 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
36 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
19 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
37 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
35 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 ...
3
votes
2answers
953 views

Change masterpage from Seattle to Oslo using CSOM, Sharepoint online

Using CSOM and c#, I would like to change the master-page from Seattle to Oslo. Can anybody help me?