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

learn more… | top users | synonyms (3)

4
votes
2answers
422 views

Button not appearing on custom tab

I'm attempting to add a tab to the Library contextual group. So far that works inside a Document Library. I can also see my Group on the new tab, but I don't see my button (will have more than one ...
4
votes
1answer
4k views

List does not exist error while using GetListItems

I am trying get Data of a list using GetListItems Method of Lists.asmx Here is my code: XmlDocument objXMLDocument = null; NetworkCredential credentials = new NetworkCredential("user", "pass", ...
4
votes
3answers
437 views

Manage some state inside a Sharepoint WebPart

Considering a simple example of a webpart that adds items to a list based on a simple button click: public partial class MyVisualWebPartUserControl : UserControl { private int cont = 0; ...
4
votes
1answer
2k views

How to find the Author Name using SP Client Context in SharePoint 2010?

I am trying to find the Author Name(created by) for a given Item Id using the SP Client context in SharePoint 2010. Below the code snippet var ctx = new SP.ClientContext.get_current(); ...
4
votes
2answers
226 views

Pros of Sharepoint and Build Server (TFS, TeamCity,…)

What are the pros using a build server with sharepoint when having projects your working alone at?
4
votes
4answers
458 views

Custom Sign In Page has an SPContext.Current that is always null

Important Update (based on feedback received so far) I do not have Visual Studio installed on the SharePoint 2013 Server. All code is compiled in Visual Studio 2012 remotely using references ...
4
votes
2answers
479 views

Using Distributed Cache programmatically. “Cache referred to does not exist” error

I'm trying to take advantage of Distributed Cache in SharePoint 2013 programmatically from a console application. I want to store custom objecst inside App Fabric Cache. Here is the code that throws ...
4
votes
1answer
3k views

Can the zoom/scale on JS Grid conrol in gantt mode be changed?

I have created a webpart with a JS Grid control with gantt enabled. I want the gantt view to display months instead of weekdays. Anyone have an idea how to do this? Update: The following link is what ...
4
votes
4answers
803 views

Add a Web Part Zone to “My Newsfeed” Page via PowerShell

I've done a fair amount of looking into this idea without promising leads. Let me define my problem: I need to add a third column (as a Web Part Zone) to the "My Newsfeed" page in My Sites. The ...
4
votes
2answers
2k views

This functionality is unavailable for field collections not associated with a list

I have the code below and up the fld.Update() line, it crashes saying This functionality is unavailable for field collections not associated with a list The string values I provided are fine. ...
4
votes
2answers
5k views

Can't access the user profiles in a console application

I want to make some manipulation with the user profiles from a console application. I'm trying to enumerate the profiles, with no success : var mysite = "http://my"; ...
4
votes
1answer
507 views

In SharePoint 2010 how can I add user selected WebParts at run time?

I am quite new to SharePoint and have been given an interesting problem to solve. My users have requested to each have a custom home page that they can customise with ease. The design I have been ...
4
votes
2answers
270 views

Sharepoint application with offline support

I want to create an application (C#) that can work with Sharepoint in offline mode (read/add/modify documents) and sync with the server whenever a connection is established. What is the best solution ...
4
votes
1answer
261 views

How is better to create content with XML or Programmatically

I have a project in SP2010 in which i need: to create some custom content-types to create custom lists based on this content types. to add custom actions in lists (list level actions). Two lists ...
4
votes
3answers
453 views

Add new Content Type to Multiple Document Libraries in SharePoint online(Office 365)

I have one Sample Document Library on SharePoint Online (office 365). this Library has 5 different document content type. And using this Library as a template i have created 300 new Document Libraries ...
4
votes
1answer
356 views

Convert incoming email from plain text to HTML

I have a list that accepts emails and creates list items out of them. The issue I'm facing is that if someone emails the list using plain text, the formatting showing up in a list item's multi-line ...
4
votes
1answer
146 views

Add a Three-State Workflow by Code?

I want to add a three-state-workflow to a list. I know how to add this via Designer but - to keep manual works low - I want to achieve the same goal by Code. This is what I need: Add a ...
4
votes
2answers
628 views

Get Approvers Group - C#

I'm working on a workflow project, where I have to get all the users in the Approvers group. In order to get the approvals group, I run the following code: SPGroup approvals = ...
4
votes
1answer
296 views

Previewing Non-Standard Images in Picture Library

I am trying to create a picture library that will allow users of the site to store picture documents as well as preview them. If a image that is, what I would call standard (.jpg, .gif etc.), is ...
4
votes
1answer
456 views

How to customize a ListView Webpart from code

I have a repository of files... I'd like to create a ListView Webpart wich receives the path in the tree and show the files in the document library... It's possible to do this by code? Is there any ...
4
votes
1answer
1k views

Programmatically create MySites for Users with FBA

I am trying to create MySites for users programmatically but I am receiving the following error: My Site creation failure for user '' for site URL 'http://goaccel-app2:1000/sites/mysites/personal/'. ...
4
votes
1answer
158 views

Feature Scope Problem

I am having an heck of a time trying to get two separately scoped solutions to work together. The first solution is scoped for Farm and does nothing more than add a custom SPDiagnosticService. When ...
4
votes
2answers
2k views

Execution of code as Application Pool account

Here is what I'm currently trying to do - 1.Create a new instance of a timer job from a web part 2.Add a new site collection to the current web application again from a web part Each time the code ...
4
votes
0answers
81 views

Can you add comments to an append-only field in a list in Sharepoint 2010 using C#? [duplicate]

Possible Duplicate: Can you programmatically add comments to an append-only comment field in a custom item list using C#? Posted on stack exchange first, then I found this Sharepoint ...
3
votes
5answers
2k views

Attachments to Documents

I have a document library. I want to be able to add supporting documents to a document(I am using a custom content type based on document). Ideally I would like to add them as attachments so ...
3
votes
3answers
100 views

what is a feature?

I am starting to read up on SP development but none of the books I have checked have been able to answer this seemingly simple question. I am pretty new to the dev side of things and feel like I ...
3
votes
4answers
182 views

Using Sharepoint as a development tool?

We have been using .NET for business applications (high availability, many concurrent users) and some people here are suggesting most of these applications could be developed with Sharepoint 2010. ...
3
votes
4answers
5k views

SharePoint 2010 List Rotator Web Part

Ok, so I would normally take the time to write this, but don't have said time to do it at the moment. I need a web part for SharePoint 2010 that does something very simple: display list items from a ...
3
votes
4answers
2k views

How to properly use the Using Statement with SharePoint Objects

What is best practice with the Using statement when working with SharePoint Objects. When and how should you use the Using statement, so objects used are disposed, etc?
3
votes
3answers
779 views

Securing usernames and passwords for external SQL DB

We want to ensure that we are following best practice around connecting to a custom database. I'm not a developer as such so thought I would ask SharePoint Overflow :-). We have several SharePoint ...
3
votes
9answers
7k views

What's the ultimate SharePoint 2010 development laptop?

We'll all want to be able to develop on our own 64 bit laptops and Windows 7 (at least I will). What is the ultimate rig? I've seen some folks buying the Dell Studio 13 XPS with an SSD (@bluedude, ...
3
votes
3answers
2k views

How to add users as site collection administrator group through code

I am having various site collections and I want to add few users into administrator group. So that more people will have access to edit the groups. I can add users to the site collection ...
3
votes
3answers
204 views

Developing a custom webpart to improve the page performance

I need a suggestion for a specific development requirement; it is just for a sub-site. The sub-site has a single list with 20 columns and 850+ items. Now, in the home page, I have to have there ...
3
votes
2answers
594 views

Recommendations for SharePoint 2010 training?

I have a $2,000 training budget this year, so I'm looking for the best bang for the buck. The $2k would have to include travel, if any is required, and I'm based in Raleigh, NC. I would like to ...
3
votes
2answers
4k views

How do I change the Title column of a list programmatically?

The twist to this question is that I am using a localized site - the site is using the Norwegian Team Site template. Hence, the Title column is actually named "Tittel". Presumably, the following ...
3
votes
4answers
3k views

Get SPWeb by ID without Site Collection?

I have a list of SPWeb IDs and would like to open the associated SPWeb objects. However, I do not know in which Site Collection they are (I DO know that they are in the current Web Application ...
3
votes
2answers
2k views

change the default tile size in Sharepoint 2013

Hello, I create an app using the Promoted Links in Sharepoint 2013. I chose to do this because the feature has the awesome hover effect and is easy to customize the image. The issue is that I ...
3
votes
1answer
6k views

How to full uninstall SharePoint 2010

I wanted a clean install of SharePoint 2010 so I recently uninstalled it as well as deleted all the content databases from Central Admin and SQL Management server. I then re-installed SharePoint 2010 ...
3
votes
6answers
4k views

ArgumentException when trying to access SPListItem value

I have a tool to update all items in SP (link replacement). The tool works most of the time but sometimes it throws me an ArgumentException ("Value does not fall within the expected range."). Here is ...
3
votes
1answer
1k views

Create a farm wide timer job…is it ok?

I'm following this http://msdn.microsoft.com/en-us/library/cc406686%28office.12%29.aspx and have successfully created a TimerJob that is WebApplication wide. this line foreach (SPSite ...
3
votes
3answers
4k views

Getting the SharePoint Web Application URL Programatically

Is there an easy way to get just the web application URL in SharePoint, for example, SPWEbApplication has the following property spwebapplication.sites that would return URL's of all the site ...
3
votes
2answers
547 views

What version of Visual Studio 2012 needed for SP Dev

I have been researching the different versions of VS2012 for use in developing in a SP2010 (Foundation) and possibly SP2013 environment. I asked two separate MS employees about which version of VS I ...
3
votes
4answers
367 views

SharePoint List / Library property bag

I'm working with sharepoint 2007 and i have a question, does a sharepoint library / list has something like property bag, where i could store some properties for the list? Like a SPWeb object. Or ...
3
votes
1answer
394 views

Why do companies do custom-development in SharePoint? Can you give me some use cases?

Can you give me some examples of what companies are custom-developing SharePoint for? I'm trying to see what are they trying to get that SharePoint doesn't offer (not talking about UI customization). ...
3
votes
1answer
2k views

UserMulti Field not allowing multiple inputs

I am trying to add a muliiple user site column using the following: <Field ID="{FC2612C2-1C60-45C1-949A-A49BECD8DB02}" Name="test" DisplayName="test" Group="test" Type="UserMulti" ...
3
votes
4answers
674 views

Which is Better a UserControl or WebPart?

What are the advantages of user controls over WebParts when dealing with SharePoint? Some I can think of are: familiarity, reusability, and development speed. I am planning to implement them in ...
3
votes
2answers
3k views

Adding description to sharepoint link URL using the C# CSOM

I'm currently adding the URL except the description is an ugly link. I would like to add the description to the URL in a links list on sharepoint online. My current code to add a new item from an ...
3
votes
2answers
5k views

How do I get the url for attachments on an SPListItem using C#?

I have an SPListItem for which I would like to get the urls of all its attachments. The urls will be used as part of my custom web part which has an SPList of SPListItem items.
3
votes
2answers
5k views

Custom Dialog Return Value

I have a custom page that I load in a SharePoint dialog. I call the javascript from an ASPX page, but when I close the dialog I want the javascript callback to "push" a value back to my ASPX page. Is ...
3
votes
1answer
2k views

Deploying a custom page under the Layout folder using a Feature

I have customized the "EditProfile.aspx" page and want to deploy it on the QA using a Feature, is it possible to deploy a page under the "_Layouts" folder using feature. Tried with the below Feature ...