For questions completely specific to SharePoint 2010 and **not past or future versions**
26
votes
5answers
10k views
How to update custom master page and page layout, which is already deployed
I have a feature which deploying custom page layout. It's done by this code:
<Module Name="MasterPageModule" Url ="_catalogs/masterpage">
<File Path="MasterPageModule\defaultTemplate.aspx" ...
19
votes
1answer
7k views
Using SPContext.Current or using static URL
There are multiple ways to work in the SP object model. The starting point for instantiating objects looks different when you look at different developers.
Many times I see people doing this:
SPList ...
18
votes
6answers
4k views
Backup via SharePoint or backup via SQL Server?
How should I backup my 2010 SharePoint server? As I see it there are 3 choices:
Full Farm backup
Site collection backup
SQL Server backup
We're only doing backups using points 1 (occasionally) ...
17
votes
7answers
910 views
An introduction to SharePoint 2010
I've been a member of Stack Overflow for a while and have this week been given a project of having a play around with SharePoint 2010 to see how it works basically, as we're looking to use it to ...
16
votes
2answers
2k views
HTTP 401 twice before HTTP 200 when serving files
I've built a Javascript web application which is served from Sharepoint (ie. there is no Sharepoint code at all operating on the web app, it's just some HTML/JS being served from a Sharepoint 2010 ...
11
votes
2answers
287 views
REST and CSOM much slower than List Web Service
lists.asmx = Web Service
listdata.svc = REST API
client.svc = CSOM
Using JavaScript to query a list using the 3 available APIs, I'm finding lists.asmx responds much faster than listdata.svc or ...
10
votes
2answers
216 views
“Best Practices” for SharePoint customizations/development to easily migrate to new SharePoint versions
Do you know of any documents that describe “best practices” for SharePoint customizations (especially custom developments) in order for these customizations/code (for example web parts, event ...
9
votes
5answers
2k views
WebServices or Client object model?
I am writing a Silverlight control which will display the data from SharePoint list for use in SharePoint 2010 site.
I am considering wheather to use Client Object Model or SharePoint web services ...
9
votes
2answers
2k views
How can I use normal paging on a custom view?
I'm creating several lists (and their views) programmatically, based on custom list definition templates.
When these views display more than 30 items, the following link is displayed:
Whereas on ...
9
votes
3answers
3k views
How to split a Content Database within site
I have a very large content database & need to split it.
Is it possible to split a content database within a site collection? or I need to create a new site collection?
9
votes
4answers
5k views
Will an InfoPath 2007 form with managed code work on SharePoint 2010?
I have an existing InfoPath 2007 form containing managed code. The form is now published on SharePoint 2007. The form will be edited and created using the InfoPath 2007 client, so no Web Form in this ...
9
votes
3answers
3k views
Cross Site Collection Navigation
We are using SharePoint for our Intranet. We will have a site collection for the Intranet. Then a site collection for each department in the business. I.E. HR, IT, Finance.
We are creating a custom ...
9
votes
1answer
1k views
Possible to add a “configuration” page to my custom timer job?
I would like to have a page in the central admin that allows administrators to configure a few values for the my timer job. Is there a way that I can do this?
9
votes
3answers
4k views
How to traverse SharePoint Library in Client Object Model?
I have SharePoint Library and i want to traverse all folder and sub folder of it using client object model.
Can anybody have solution ?
8
votes
2answers
1k views
SPWeb being closed when getting list by powershell. What's wrong?
When I run this little piece of powershell code:
$w = Get-SPWeb http://localhost
$l = $w.List["some list"]
I get Unexpected error message to my Sharepoint ULS log
Detected use of SPRequest for ...
8
votes
2answers
2k views
Deployed Timer Job not taking new code when deployed
I've realized recently that, when re-deploying (either manually or through vs2010) my timer job feature package, the updated execute code is not being deployed. Strange yea. Essentially, I'll ...
8
votes
2answers
8k views
Suddenly getting “The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered.”
This morning all the development machines at the company I work at, couldn't manage SharePoint through Powershell. We were all getting the annoying "The local farm is not accessible. Cmdlets with ...
8
votes
2answers
1k views
Global variables in SharePoint
Is it possible to define a global variable in SharePoint 2010 and then reference it in menus and server-side pages? We currently have a menu item on all 30+ web sites that points to the existing ...
8
votes
4answers
819 views
List Validation does not show Error when Conditions are not met
I am using List Validation feature for a list which is working fine i.e. doesn't save the item when condition not met. However, it is not showing the error message which helps to rectify the inputs in ...
8
votes
2answers
4k views
What permissions are needed to deploy a WSP to SharePoint 2010?
In an attempt to make sure that developers have the appropriate rights, I'm trying to find documentation on what rights are needed to deploy WSP files to SharePoint 2010 (via stsadm or otherwise).
...
8
votes
4answers
314 views
Renaming a Page Library
What is the proper way of renaming a page library from a site collection that has a different regional setting?
e.g. Dutch, changing Paginas to Pages. Swedish/Norwegian from Sider and Sidor to Pages, ...
7
votes
4answers
4k views
How to log off user from SharePoint site, if the user has been inactive for 20 minutes
How to log off the SharePoint site, if the user is has been inactive for for 20 minutes? Do I need to redirect user to logout page? How would I count the idle time?
7
votes
3answers
658 views
Creating a workflow to be run by a timer
I have been attempting to resolve this issue for about two weeks now. So far, everything I try has a problem that makes it unworkable.
Problem
One of the current requirements is that I need to be ...
7
votes
3answers
3k views
Problem with HTTP Handler deployed on Sharepoint 2010
I've developed a Visual Web Part for Sharepoint 2010. I've used VS2010 to do that and tested the Webpart in a testing server using VS to do the deployment.
But to deploy it on the production server I ...
7
votes
5answers
15k views
How do you change the product key for SharePoint Server 2010 after install?
How do you change the product key for SharePoint Server 2010 after install?
7
votes
2answers
663 views
Event Reciever on specific list in sharepoint 2010
I am working on creating event reciever for a custom list in sharepoint 2010 using visual studio..how can this event reciever be targeted to a specific custom list ..in my case its customEmpList?
7
votes
4answers
8k views
How to submit data from repeatable table in infopath form to a sharepoint list?
I have a infopath form created from a sharepoint list content type. In this form I need to add a repeatable table to send data to another sharepoint list. So when people submit this form the original ...
7
votes
1answer
691 views
How exactly works sending e-mails from SharePoint?
I have basic information about alerts, I can setup them, manage them via CA or power-shell scripts, I can test the SMTP sending functionality via telnet if they are not sent, but still don't know how ...
7
votes
3answers
5k views
How to get all items in a View using Client Object Model (JavaScript)
To get all the items in a List you use
// Setup context & load web
context = new SP.ClientContext.get_current();
web = context.get_web();
context.load(web);
// Load task list
this.List = ...
7
votes
1answer
364 views
JavaScript Client Object Model functionality to get all the non hidden lists of current web and listing them
We have requirement to get all the non hidden lists of current web using JavaScript Client Object Model(JSOM). I have tried the below code but failed to get the desired result.
function ...
7
votes
1answer
468 views
When to use VS 2010 vs. SP Designer for development
When do we use Visual Studio 2010 for SharePoint 2010 web part development and when do we stick with Designer? Are there pros/cons? As a noob, it seems that for more robust, customized web parts, ...
6
votes
8answers
339 views
SharePoint 2010 Playground Site
I'm a seasoned developer and CMS consumer, but I've never used SharePoint specifically. Is there a website where I can quickly create and manage a SharePoint site, without installing the entire stack ...
6
votes
3answers
822 views
Customization best practices for SP2010 [closed]
We'd like to customize the look of our SharePoint 2010 pages and sites but didn't know what some best practices are:
We'd like to change the look of pages some without breaking the link between them ...
6
votes
3answers
285 views
“SharePoint is not a database!” article of 2009 - does it still apply for SP 2010 and 2013?
I'm talking about this blog post by Chris Woodill.
He mentions the following advantages of modeling data via SQL programming instead of SharePoint's lists:
Primary And foreign keys: one of the most ...
6
votes
5answers
2k views
How much RAM is needed to host 10+ app pools per web server?
We are considering a SharePoint 2010 configuration where we deploy separate app pools/web applications for each business unit in our company. We would have 10 app pool/web app instances total in that ...
6
votes
3answers
1k views
Why is Office required for multiple file uploading?
Why is Office required for multiple file uploading?
I don't have Office, is there something I can install that will enable this feature?
6
votes
4answers
26k views
SharePoint 2010 Foundation vs Server
Has there been any information released regarding what features are included in SharePoint Foundation and what features you need SharePoint Server to use in the 2010 version? I can't seem to find ...
6
votes
2answers
2k views
XSLT Get Current date or Today in XSLT
Help please can anyone advise how I get current date, or today method in xslt 1.o SharePoint
6
votes
2answers
262 views
When moving SiteURLs is it better to recreate the Web Application or use AAM to redirect?
We've had an existing site that has been built and deployed to for awhile now, mostly an internal beta site at http://beta.site.com which has been built up with an extended site on ...
6
votes
4answers
5k views
Race condition in SPListEventReceiver.ListAdded - Save Conflict
I am currently developing an Event Handler for SharePoint 2010 which sets defaults for Document Libraries on creation (content types, version settings etc). I am having a problem with Save Conflicts ...
6
votes
3answers
2k views
Show folders in document library that have a filter view
I am using SharePoint 2010
I have a document library with a view that Filter items only when a particular Column is true.
The problem now is that when I have a filter in my view the folders in my ...
6
votes
5answers
822 views
How to detect if my code is running inside SPSecurity.RunWithElevatedPrivileges
Is there a way to detect if my code is running inside SPSecurity.RunWithElevatedPrivileges?
class Foo
{
public static void Bar()
{
if (CODE_RUNS_ELEVATED)
{
Debug.WriteLine("You ...
6
votes
4answers
5k views
Creating a Site collection programmatically throws exception <nativehr>0x80070005</nativehr>
I'm migrating a SharePoint customization from MOSS 2007 to SharePoint Server 2010 (Win 2008), which creates the Site Collection programmatically. Problem is I'm unable to create the Site Collection ...
6
votes
5answers
6k views
Can't pass authentication to browse a sharepoint site
I am trying to browse a sharepoint site in IE8 from the server where it is deployed.
When I am promped to enter my credentials i enter them but this doesn't work.
The box keeps appearing and asks me ...
6
votes
3answers
3k views
SharePoint 2010 Search: When is a document a duplicate?
When is SharePoint search treating a document as a duplicate?
I did some testing with 3 documents in a document library, different names ofcourse, but all the same file content. Performed a crawl and ...
6
votes
2answers
788 views
Object cache in sandbox solutions
I am building a SharePoint sandbox solution which consists of multiple web parts. I want to be able to somehow cache POCO objects (Plain Old CLR Objects) in such a way that the cache is persisted ...
6
votes
4answers
2k views
How can I schedule the User Profile Service to run a full sync weekly?
We are running SharePoint Server 2010 and have not yet applied SP1. User profile incremental sync is not picking up all of the group membership from AD. Starting a full sync seems to rectify the ...
6
votes
3answers
6k views
Reusing the XsltListViewWebPart
In my situation, I'm creating web part pages with XsltListViewWebParts on them. I need to set a predefined view on them, with custom filtering / columns setup in CAML. Therefore, I tried moving the ...
6
votes
1answer
495 views
Adding a user or group to a SharePoint group
I have a custom PeoplePicker which has SelectionSet = "User,SecGroup".
I want to add all entities within this PeoplePicker (which can be a SharePoint user, AD group/user) into a proper SPGroup.
How ...
6
votes
5answers
6k views
Integrating ASP.NET MVC 3 and SharePoint
We are looking into developing a site that uses MVC3 as the front-end and SharePoint 2010 as the data layer. We would like to keep SharePoint as out of the box as possible and display the data in ...
