9
votes
8answers
4k views

How can we use a different masterpage for annoymous and authenticated users?

Is there a way to load a different master page if I can identify the user to be annonymous?
9
votes
9answers
5k views

ASP.Net WebPart or SharePoint WebPart

This is an almost religious question; what are your preferred base classes for building WebParts in SharePoint? Are you using the ASP.NET WebPart (System.Web.dll) or the SharePoint WebPart ...
9
votes
6answers
1k views

How to choose a development computer for a SP 2010 environment?

I'm looking for a descent development computer that targets SharePoint 2010. The computer must be a laptop and does not have to rely on a domain controller (or at least not all the time). What are ...
9
votes
4answers
2k views

What exactly is SharePoint?

What is SharePoint anyway? What's the difference between SharePoint and Dropbox or SkyDrive for example? They all share files. Why should anyone use SharePoint instead of SkyDrive or Dropbox?
9
votes
4answers
1k views

Why does having `windows.onload` break page editing?

This is related to an earlier question that I posted: Can't edit page after adding custom web part! Basically, I have created a web part with some javascript. When I add this web part to a ...
9
votes
2answers
8k views

Programmatically add JS/CSS to pages

I've created a Visual Studio SharePoint 2010 solution with an ASCX that adds some JavaScript files and CSS to the head of each page; this is based on this article. When I deploy the solution, it adds ...
9
votes
2answers
8k views

Where can i download the U2U CAML query Builder for Sharepoint 2010?

I have try to download form below links. But the site is not opening. http://www.u2u.be/res/Tools/files/CamlBuilderSetupv4.0.0.0.zip . http://www.u2u.be/res/tools/camlquerybuilder.aspx ...
9
votes
4answers
843 views

Disposing and Closing SPWeb objects

I have used something like using (SPWeb web = SPControl.GetContextWeb(Context)) but while deploying the project it shows an error. While trying to figure out the cause I came across an msdn ...
9
votes
3answers
5k views

Get the current UI language with ECMAScript

Is it possible to get the display language from within ECMAScript? Similar to http://www.sharepointoverflow.com/questions/3129/get-the-current-ui-language-from-a-webpart, I'd like to get the user's ...
9
votes
6answers
201 views

What are the standard URL suffix views that every SharePoint professional should know?

There are certain lesser-known URL suffixes that can be quite useful in SharePoint, such as {PageUrl}?contents=1 for web part maintenance and {PageUrl}_layouts/UsageDetails.aspx for ...
9
votes
2answers
7k views

Pass parameters in ExecuteOrDelayuntilScriptLoaded in Javascript client Object model

I have written a javascript client-object model code and I am calling it through the below line code from content editor webpart: ExecuteOrDelayUntilScriptLoaded(getWebSiteData(sys), "sp.js");// ...
9
votes
2answers
1k views

Add huge number of folders

Is there any tips for programatically adding and managing the huge number of folders in document library? In my scenario, a document library has 3 hierarchies and each hierarchies contains 50 - 100 ...
9
votes
7answers
4k views

How to create DEVELOPMENT, UAT & PRODUCTION environment in SharePoint 2010

I just started digging sharepoint 2010. To get a clear picture of sharepoint environment my question is. In my office I have given a single Quad core machine and being told to get expertise on ...
9
votes
6answers
3k views

Why would a site admin or designer use a Web Part Page instead of a new sub-site/sub-site collection?

I am a site owner, and up until now, I have always created sub-sites instead of using basic pages or Web Part pages. I would like to understand what advantages Web Part Pages have over just adding a ...
9
votes
1answer
4k views

SPList.Add() vs SPList.AddItem() SharePoint 2010

Using some test code i found out that SPList.AddItem() executes slight faster then SPList.Add() - does anyone know why is it so ? DateTime start = DateTime.Now; SPList ...
9
votes
2answers
11k views

Show custom action in ribbon for only one list

Does anyone knows how to show a custom action in the ribbon for only one list? At this moment I've got multiple custom lists, but my button is added on all of them. I only want to show it on one ...
9
votes
4answers
6k views

Replace the Default Page in a SharePoint WebSite

I have been asked to programmatically do the following in a SharePoint 2007 team site collection: Create a website using the OOTB blank site template. (Please note, for project specific reasons, we ...
9
votes
4answers
1k views

What do the terms Farm, Site, Web, WebApplication refer to in the SharePoint API?

I'm sorry for dumb question but I am very new to Sharepoint 2010 and something is not clear to me. What do the terms Farm, Site, Web, and WebApplication mean? I pretty much understand Farm and Site, ...
9
votes
3answers
788 views

Does Sharepoint Differential backup put the site collection in read only mode?

Does Sharepoint Differential backup put the site collection in read only mode?
9
votes
3answers
11k views

Fastest way to delete all items with C# [duplicate]

Possible Duplicate: Deleting all the items from a large list in SharePoint What is the fastest way to delete all items in a list programmatically? I do not want to remove list and re-create ...
9
votes
3answers
8k views

Restore-SPSite to the same content database

I ran Restore-SPSite on my server from a backup. I then deleted the site collection and did it again but got the following error: Restore-SPSite : The operation that you are attempting to perform ...
9
votes
10answers
3k views

Has anyone optimized the front-end (css/javascript files) of a SharePoint site

So it seems to be that Sharepoint's front-end optimization is non-existant. For example, http://dfs.us.dell.com/Pages/DFSHomePage.aspx, according to YSlow, is serving up 14 separate JavaScript files, ...
9
votes
1answer
4k views

Where is Package menu item in Visual Studio 2012

I'm using visual studio 2012 for developing SharePoint 2010 solutions, back in vs2010 there was a menu item names "Package" so I can get the package without deploying it and I noticed it's disappeared ...
9
votes
3answers
3k views

Best practice for deploying Site Columns and Content Type

What is the best practice for creating a site column or content type in SharePoint 2013? Is it still recommended to use farm solutions? I was hoping we could do something with the new app model, but ...
9
votes
5answers
8k views

Why does the scrollbar for Chrome users hide sometimes?

We're building a SP2010 SP1 site. For users on Chrome, sometimes the scrollbar doesn't display. The user has to refresh 1-10 times until the scrollbar appears. Why does Chrome have trouble ...
9
votes
6answers
4k views

SharePoint 2010 custom 401 error page on authenticated site

I'm trying to create a custom 401 error page for my site. The setup is a SharePoint 2010 enterprise site with subwebs. The entire solution requires authentication (no anonymous access). I've tried ...
9
votes
5answers
5k views

When should I Create a Subsite in SharePoint

Recently I got into a position where I need to see a trade off of creating a Subsite in SharePoint. I would like to know what are all the scenario that we need to create a new Sub Site and why ? ...
9
votes
3answers
2k views

Why doesn't clicking New Document save back to the document library?

I'm watching a course on SharePoint Foundation 2010 Fundamentals. In it a document library is created a couple of columns are added, then when New Document is selected from the ribbon, Office opens ...
9
votes
3answers
4k views

How to disable launch modal dialog in list definition schema.xml?

I have a sharepoint 2010 site template. The site template activates a feature that deploys several lists. Some lists need to open the new/edit/display forms in full page mode. Is there a way to ...
9
votes
4answers
3k views

Web scoped Timer Job

Could you help me understand the SharePoint timer job? The issue is simple. I should implement a page and put it to the layout folder (the page should be accessible from any web). This page should ...
9
votes
4answers
13k views

create link to “new item” form

I have a sharepoint docuemnt library and i'd like to create a link on my homepage that will launch a new item form associated to my list. Does anyone know what the url would be if my document library ...
9
votes
6answers
3k views

How do I deploy the new version of a webpart?

As stated here (and as i checked), to upload a new version of an installed webpart, uninstalling the assembly from the GAC and installing the new version would suffice. I've tried it and it worked. ...
9
votes
2answers
1k views

How can I display a message on a list item when within X days of a date?

I'm using SharePoint 2010 and I'd like to create a column in Task List that will display a message (not generate an email: just display a field text) such as "URGENT" or "Almost Due" when the date is ...
9
votes
4answers
2k views

SharePoint 2013 hide elements (in body area ) when ribbon is expanded / ribbon is in use

Is there a css class/id in SharePoint 2013 that hide elements when the ribbon is in use? I've got some elements that I don't want to show when the user's in edit mode! In the picture below you can ...
9
votes
4answers
3k views

How to save variables per user session per page

I am using three webparts. Webpart A creates a value when the user clicks on the button in Webpart A. WebPart B uses this value to create a list with items the user can select. WebPart C uses both ...
9
votes
2answers
6k 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). ...
9
votes
3answers
6k views

Should i have the “Microsoft SharePoint Foundation Web Application” role active on all servers in a large farm?

I've checked the resources at Microsoft TechNet, MSDN and Bing but I’m not aware of any information regarding the best practice about the configuration for the "Microsoft SharePoint Foundation Web ...
9
votes
5answers
1k views

External access - continually prompted for credentials

I have a client trying to access our hosted SP 2010 instance, an she can log in, but once she starts clicking, gets prompted to login again and again. She is accessing from the outside, not inside of ...
9
votes
4answers
6k 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
1answer
1k views

SP 2010 & IE 10 - compatibility mode

IE10 is automatically installed on servers with every new update or on win 8 workstations and our users with rights do not read what is inside updates at all... 2010 SP2 is not ready yet and maybe ...
9
votes
5answers
23k views

Minimum real world system requirements for SharePoint 2013

I've checked the SharePoint requirements here: http://technet.microsoft.com/en-us/library/cc262485.aspx which are apparently the "minimum" requirements, but I've seen some blog posts claiming to have ...
9
votes
1answer
478 views

Detecting browser and replacing web part?

I have a video I want to display on my SharePoint 2010 public facing site and at the moment I am using Silverlight, however, I would like to replace this with flash (youtube actually) if the users are ...
9
votes
3answers
7k 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 ?
9
votes
2answers
1k views

What is the difference between properties.OpenWeb() and properties.Web?

I am developing an event receiver, using the ItemUpdating event, and I noticed that the properties parameter has an "OpenWeb" method, with this description: Retrieves the Web site that is ...
9
votes
1answer
2k 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
1answer
2k views

Making Document Libraries visible to some users and not others

I have several document libraries that I would like to list on the front page but make visible to certain users only. If I set it up this way: -UserLib1, user1 has read permissions -UserLib2, user2 ...
9
votes
1answer
251 views

Wizard Installer for a Webpart

I have a Webpart for a Sharepoint 2010, and I would like to create a "Wizard Installer" for this webpart, that a customer can install to his own Sharepoint Server. What is the easiest way to do it? ...
9
votes
1answer
455 views

How can I retrieve a list of all user names logged in to SharePoint?

How can I get all user names that are currently logged in to the system in SharePoint 2007?
9
votes
1answer
580 views

Is it necessary to call SPWeb.Update() after setting AllowUnsafeUpdates?

Amidst working on resolving this issue, there's something I was curious about, and something that I've been very inconsistent about in my code. If you enable SPWeb.AllowUnsafeUpdates = true, do you ...
9
votes
4answers
624 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, ...

15 30 50 per page