8
votes
3answers
2k views

Event handler vs. event receiver

http://msdn.microsoft.com/en-us/library/ms453149.aspx says To create the event handler 1. Start Microsoft Visual Studio 2010. 2. On the File menu, point to New, and then click Project. 3. In Project ...
8
votes
6answers
1k 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 ...
8
votes
2answers
768 views

When to use SPItem vs SPListItem

I am confused on when to use SPItem vs SPListItem—specifically when grabbing items from a document library. What are the benefits of each and downsides of each.
8
votes
5answers
4k views

How to restrict a document library to a specific file type (extension)?

I have a SharePoint intranet site where I need to allow users to upload certain documents. These documents need to be only PDF files for example. What is the simplest way to restrict the document ...
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
4answers
493 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, ...
8
votes
10answers
2k 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, ...
8
votes
4answers
214 views

Is there a good SharePoint 2010 Page Profiling tool about?

If I want to measure how long it takes for my browser to render a page, requests, scripts, the lot, in ie9, what's a good tool for that? The idea being is that I have a very heavy page which I want ...
8
votes
1answer
2k views

Understanding Data Sheet view list better in SharePoint 2010

I would like to know more about the features of Data sheet type lists. Can I use conditional modification to the data sheet rows, for example changing the color if a column value equal 'X' ? Can I ...
8
votes
3answers
572 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?
8
votes
3answers
2k views

How to write to ULS Log in SharePoint 2010 from a .NET app?

The Sharepoint Trace Log Sample given at http://msdn.microsoft.com/en-us/library/aa979522.aspx & explained at http://msdn.microsoft.com/en-us/library/aa979595.aspx does not work in in Sharepoint ...
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
5answers
9k views

How to query Sharepoint 2010 lists with sql?

I think it has to be a common task. We have some applications on sharepoint and we need to prepare reports with data from these applications. It would be great if we could use Reporting Services. We ...
8
votes
3answers
4k views

What are the client side requirements to enable the “upload multiple files” link?

What are the client side requirements to enable the "upload multiple files" link? I'm using WSS 3.0. Also using FBA, not sure if that matters. It "works on my machine", but not for some other ...
8
votes
6answers
4k views

Event Receiver Firing for all Lists - even when ListUrl is set

I have two custom list definitions - List 1 and List 2, both with different ID's for the Type in the elements.xml. List 1 is called 'List1' and the other is called 'List 2', note that the second list ...
8
votes
2answers
7k 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
6answers
3k views

Risk of conflict between jQuery document ready and _spBodyOnLoadFunctionNames?

I recently read in the jQuery documentation that: The .ready() method is generally incompatible with the body onload attribute. If load must be used, either do not use .ready() or use jQuery's ...
8
votes
2answers
985 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
765 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
5answers
3k 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 ? ...
8
votes
2answers
585 views

What are the maintenance actions that can be done on a Sharepoint application to ensure optimum performance?

After deploying a Sharepoint application, what maintenance actions can be done to ensure optimal performance and avoid degradation of performance over time? I can think of the following: Schedule ...
8
votes
3answers
725 views

Add “New document” button to home page

I have a fairly simple SharePoint subsite that has two elements: the home page a document library The document library has two content types associated with it. What I would like to do is add a ...
8
votes
2answers
636 views

Why use SharePoint Custom Timer Jobs?

Am I wrong to think that Scheduled Windows Tasks running for example a console app can achieve everything that a SharePoint custom timer job can? This has been my experience so far. However, a C# ...
8
votes
5answers
2k 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. ...
8
votes
3answers
3k views

Hiding buttons of the Ribbon Bar

Is it possible to hide specific buttons of the SharePoint 2010 Ribbon Bar based on the user's permission on publishing pages? For example, we need to hide the font dropdown and under the Insert tab, ...
8
votes
5answers
2k 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 ...
8
votes
5answers
3k views

How to embed the “Connect to Outlook” link in a page

I need to put a link to the "Connect to Outlook" script on a SharePoint 2010 page. I have built the stssync:// URL that triggers the Outlook sync: ...
8
votes
2answers
3k views

Which Redirect method should I use?

I'm using SharePoint 2010. I have webparts, then when OK/Save/Cancel etc is clicked, it will redirect a user to the relevant page. Over the past few months of writing different WebParts I have ...
8
votes
2answers
764 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 ...
8
votes
2answers
948 views

LINQ to Sharepoint - Repository pattern and common methods in repositories

I generated a entity classes + data contexts by LINQ to Sharepoint and created a repository classes. When I use normal database and mapping like Entity framework I've got usually some base repository ...
8
votes
4answers
405 views

Save metadata on this list as social tags

On the UI, for a document Library settings, under "Enterprise Metadata and Keywords Settings" there is an option to "Save metadata on this list as social tags" Is there a way to activate this, ...
8
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
658 views

The best practice for moving content database between two farms

I have two farms both running SharePoint 2010 and SQL Server 2008 R2, basically something like a development environment and a production environment. I have a site running on web app - port 80 and it ...
8
votes
4answers
294 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, ...
8
votes
3answers
4k views

“View exceeds list view threshold” even when it doesn't

I have a document library in SharePoint Foundation 2010 which contains over 10,000 items, arranged in folders such that no folder contains more than 2000 items. I've created a public view called ...
8
votes
3answers
3k views

Sharepoint 2007 Site Actions IE9 doesnt work

We have a public facing website which is custom branded. Up until viewing the website in IE9 all standard Sharepoint functionality worked such as Site Actions. All browsers work with it. Recently ...
8
votes
2answers
982 views

How can I create an Entity Relationship Diagram for SharePoint lists?

I'm trying to design/document a collection of lists with lookups in an Entity Relationship Diagram. Currently I'm using Visio's built-in ERD template, which is most of the way there, but it lacks two ...
8
votes
1answer
850 views

How to enable the “From SharePoint” link when inserting a link in a blog post?

When I create a new post in a Blog website, I would like to insert documents by picking them directly from my SharePoint libraries. Actually there is an option for that but it appears disabled even I ...
8
votes
2answers
567 views

Executing a new instance of a timer job before the previously running instance has finished executing

I have a timer job that invokes a WCF service that invokes a single threaded API internally. TO ensure that my system does not fail, i want to ensure that only a single instance runs at a time. I am ...
8
votes
3answers
2k views

Clone SharePoint 2010 Production environment for Test Environment

We have cloned the SharePoint 2010 Production environment(Company Portal, around 3500 users) using VMWare clone feature. The purpose is to Create a Test environment for Restructuring the content, ...
8
votes
2answers
1k views

Java to Sharepoint interface, with claims based authentication

I have a sharepoint server with a claims-based authentication (ADFS server). I have a Java app that needs to push data to a sharepoint list, preferably over the REST API, and with the additional ...
8
votes
1answer
155 views

SSL+IRM is it supported for SharePoint 2010+Windows 7

The problem we have faced is the following Server side SharePont 2010 Server SSL enabled and certificate request required IRM for the document library is enabled Custom content type inhereted from ...
8
votes
5answers
297 views

RichHTMLField value is not rendered in page

I have a custom page layout created, in which "PublishingWebControls:RichHtmlField" control is added with some default HTML value. When any page is created using the custom page layout created, page ...
8
votes
4answers
5k views

Sharepoint multiple line of text char limit

I have created a custome list with a multiple line of text type column. When user enter value in this field in "add new item" form, I dont want user to enter more than 1000 chars. I am not able to ...
8
votes
2answers
709 views

Updating User Profile doesn't invalidate cache

The website I'm building has a heavily extended user model. The requirement is to have a single page where admins (who are windows authenticated users) can see the profiles of all the users. Regular ...
7
votes
4answers
3k 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
4answers
4k views

How do we activate auditing in SharePoint Foundation 2010?

We are trying to set up SharePoint auditing to audit reading of list items and are having problems finding how to turn it on. Is this supported in the Foundation version? If so how do we activate it? ...
7
votes
6answers
4k views

Add printer-friendly functionality to SharePoint 2010

How challenging is it to add these two functions to all SharePoint site pages? Have a printer icon that allows user to print the content of the page Have a PDF icon that lets the user export the ...
7
votes
5answers
2k views

70-576 Study Material

I'm having trouble finding background material for Microsoft's exam 70-576: "Designing and Developing Microsoft SharePoint 2010 Applications". Most of the syllabus consists of what a developer like ...
7
votes
3answers
11k views

PowerShell: Script to check feature status (enabled/disabled) before activating

I am developing a script to refresh my custom features. Earlier i was just looping through the features and calling Disable-SPFeature and Enable-SPFeature on each items. The issue is when the ...

15 30 50 per page
1 2 3 4 5 501