0
votes
1answer
57 views

SQL TempDB size

I've read it on a number of different sources, and saw it presented by multiple people at different events: "Temp DB should be pre-sized to 20% of your biggest content" As I'm doing a 2010 farm ...
0
votes
1answer
92 views

Dependencies in the jscript file

Lets say, I have custom-dialog.js that depends on custom-notifier.js and this one depends on sp.js. What's the best practises to write dependencies inside mine custom .js files?
10
votes
2answers
776 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 ...
1
vote
1answer
4k views

How to run a popup window from code behind in web Part writen in C#

I must run a popup warning when somebody exceeds some value. I tried a SharePoint Modal Popup using JavaScript, but I don't know how to run something from code behind with JavaScript and a SharePoint ...
3
votes
3answers
2k views

Dynamically registering JavaScript from within a sandbox web part

I am mid-way through development of a corporate intranet that will be hosted in SharePoint Online. For this reason, we are restricted to using sandbox solutions. One of the last "gotchas" that I need ...
1
vote
1answer
26 views

Setting up sites with lists and custom content types

I am creating a proof of concept at work. It will be creating a web applciation with a site collection in it. The site collection will have 1 or 2 custom content types and a few lists set up. I will ...
0
votes
1answer
79 views

Correct way to store and retrieve +2000 List items Sharepojnt 2007

So I've read all the whitepapers, and I know that you can store up to 5 million list items in a list as long as you use folders. What I'm after, is, has anyone written some nice recursion that gets a ...
1
vote
1answer
142 views

What to do on feature deletion/deactivation

as I am trying to wrap my head around silverlight and sharepoint there's one thing I find most irritating: Provisioned xap-Files and/or web-Parts remain fully active upon deactivation/uninstallation ...
2
votes
1answer
260 views

Migrate Web Applications or migrate Site Collection from Development to Live

I have a Web Application in development with 7 site collections. I need to get them all into my production environment. No Web Application exists in production. Is it best to backup and restore the ...
2
votes
2answers
102 views

Migrating site collections from developemnt to live

I have several site collections that have been created in development. I now need to move them to live. In the live environment these site collections do not exists. What is the best way to migrate ...
2
votes
3answers
495 views

How should I check if SharePoint site is loaded on a desktop or on a mobile device?

I'm taking my chances and only using 1 web application and 1 masterpage for my SharePoint site, which I'm now also optimizing for mobile devices. I'm currently in the progress of developing a ...
4
votes
3answers
11k views

When to choose web application vs SiteCollection vs Subsite?

In SharePoint you have the following types of objects: Web application (1) A container in a configuration database that stores administrative settings and entry-point URLs for site collections. ...
10
votes
3answers
5k 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 ...
1
vote
2answers
146 views

Authoring Environment

I have taken a new job and have been introduced to a new SharePoint environment that has been set up. The topology is as follows. Dev - > Authoring -> Testing -> Production I am a little confused by ...
0
votes
1answer
150 views

Setting SPWeb.AllProperties on WebPart Install

I have a WebPart where I need to set a custom property in SPWeb.AllProperties. How can I on install check to see if a property is set? If it is not set I want to set it. Or is it best just to do this ...
23
votes
1answer
12k 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 ...
1
vote
1answer
122 views

How to set permissions for SP2010 Server

I'm new to SharePoint 2010 and am creating numerous Publishing sites with workflows, each for a different department. Each department needs to have a few people assigned to be able to create pages, ...
6
votes
3answers
1k 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 ...
1
vote
1answer
238 views

SharePoint 3 tier Service Application with EF

I'm looking for some best practices on how to setup a three tier application design with a SharePoint Service Applications. A case example: suppose I have customers, each customer has a set of ...