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
4answers
756 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
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
500 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
262 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
233 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
1answer
132 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
597 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
276 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
448 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
150 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
3answers
161 views
+50

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
399 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
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
1k 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
96 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
13k views

How to get current user with javascript?

I have a list . I want select items of list with a special quary.(get items that created with current user). Then get count of items. I use this code for get current user : function Initialize() { ...
3
votes
4answers
177 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
4k 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
1k 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
753 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
203 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
4answers
2k 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
550 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
757 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
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
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
2answers
249 views

Feature Activation Logic (Prevent Activation)

I have three site collection features used to set branding throughout the site collection. I want to prevent the accidental activation of one of the features if one of the three is already activated; ...
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
3answers
3k 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
3answers
322 views

How to create a site in a sitecollection on a remote SPServer using C#

I am currently trying to write a Dynamics CRM 2011 plugin that creates a new SharePoint 2010 site (within an existing site collection) for every account that is created. I have the code for creating a ...
3
votes
2answers
351 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
329 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
384 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
3answers
933 views

SharePoint 2013 Development - What's New and Different

I wonder what is new and different in SharePoint 2013 development. I am a SharePoint developer since 2007 and 2010, but have not received any SharePoint 2013 development training. When upgrading from ...
3
votes
4answers
575 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
4k 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
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 ...
3
votes
4answers
3k views

How do I display the results of a CAML query on a data grid in sharepoint 2007?

I want to develop a custom web part for SharePoint 2007. How do I display the results of a CAML query on a data grid? The grid view should be customizable, and should not adversely affect performance. ...
3
votes
1answer
986 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
5answers
2k views

RunWithElevatedPrivileges - Usage recommendations

I have a strong gut feeling that using SharePoint's RunWithElevatedPrivileges should be avoided like the plague, but need to convince some others as to exactly why. Here's what I have. Spawns a new ...
3
votes
2answers
120 views

Sharepoint unit testing using fakes framework

I have an application which uploads a file to SharePoint via client object model. Now I need to write unit test cases for this application. The problem is, I how do I write test cases for the ...
3
votes
2answers
323 views

How could I put a references of Ajax Control Toolkit in a GAC

How Could i put a references to the Gac. I want to putting a dll file to the AjaxControl Toolkit.
3
votes
2answers
3k views

Create New SharePoint Group Programmatically

How can I create a new SharePoint group by code?
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
1answer
174 views

Disposing of SPWeb object query

I'm trying to understanding the object clean up process. using (SPSite siteCollection = new SPSite(siteUrl)) { SPWeb site = siteCollection.RootWeb; foreach (SPList list in site.Lists) { if ...
3
votes
3answers
1k views

Can not update Navigation programatically

I have following code var subWeb = newWeb.Webs.Add(subsite.Url, subsite.Title, subsite.Title, 1033, PublishTemplate, false, false); subWeb.AllowUnsafeUpdates = true; subWeb.Update(); PublishingWeb ...
3
votes
1answer
88 views

Changing the name of a sharepoint list programmaticaly

I'm trying to change the "name" of a sharepoint document library (not the title). I have found a way to do it from sharepoint designer: ...