A "best practice" is a method or process that practitioners recognize (usually through experience and research) as being more effective at getting the job done than other methods (or processes).

learn more… | top users | synonyms

2
votes
1answer
1k views

Disposing of objects in an Event Receiver

I have an ItemUpdated event receiver running on a library. Some pretty basic logic. Here's the gist of what I'm doing: SPWeb web = properties.Web; SPContentTypeId ParentCT_Id = ...
2
votes
2answers
37 views

How many web app's

I'm certainly a newby in SharePoint but my company give me the great task to deploy it. It's a SharePoint 2013 standard installed onPremise. Our goal is to build some team sites plus personal sites. ...
2
votes
1answer
274 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
3answers
733 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 ...
2
votes
2answers
1k views

SharePoint Custom Module Development and Deployment

Good Day, We're working on custom module (Information Management System) for SharePoint. The project file of this module is a Class Library which contains User Controls. The User Controls was based ...
2
votes
0answers
577 views

Using SharePoint for an appraisal/360 process

We are thinking of using SharePoint 2010 for an appraisal/360 process. The workflow is simple. HR Create appraisal for users User fills it in Manager fills it in User accepts appraisal Manager ...
1
vote
2answers
41 views

Best practice for updating list data periodically?

I have a SharePoint list that contains a list of all of our company domains and their expiry date. I've been asked to have this list whois each domain periodically and update the expiry date within ...
1
vote
4answers
518 views

SharePoint 2007 Antivirus Protection

What antivirus products have you used in SharePoint 2007 (WSS v3 and MOSS 2007) implementations? I've had quite a bit of experience with Forefront Security for SharePoint and its my default ...
1
vote
2answers
1k views

New-SPContentDatabase vs Mount-SPContentDatabase

We pre-create our SharePoint content databases in SQL, so we can distribute database files among disks and tune some parameters on the SQL Server side. Then we convert the SQL databases into ...
1
vote
2answers
979 views

UAT refresh best practices

The scenario is as follows: SP2010 production farm and UAT farm will have the same setup. As work items are pulled to production, and users add content and SP Designer changes to production, and at ...
1
vote
2answers
468 views

Best practices for updating list template schema files in SharePoint

I have a requirement to update the schema files of a list template which modifies the options available to the fields. But, when I am updating the schema file the options for the already defined ...
1
vote
2answers
2k views

How may document libraries are recommended for a site?

I have a document imaging solution that will have a document library for each weekday for scanned in documents. I know that it is recommended not to exceed 2000 items in a document library. Is ...
1
vote
4answers
89 views

Best practice location to deploy CSS/JS/image files

For SharePoint development, I am used to placing all the images/CSS/JS files into the mapped layouts folder (..\Microsoft Shared\Web Server Extensions\15\TEMPLATE\LAYOUTS) using Visual Studio. ...
1
vote
1answer
4k views

PowerShell code to add/remove, install/uninstall and enable/deactivate feature at Web, Site Collection, Web Application and Farm scope

Please can you give me the best practice PowerShell code to:- A. Add, install and enable feature at -Web -Site Collection -Web Application -Farm scope B. Deactivate, Uninstall and Remove ...
1
vote
1answer
2k views

Are there best practice or coding standards documents available for SharePoint

Is there any official Microsoft coding standards and best practices documentation for SharePoint?
1
vote
1answer
7k 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 ...
1
vote
1answer
2k views

Best practices of custom field types in SharePoint 2010 [closed]

From your experience, what are some of the best practices around custom field types, their creation, deployment and maintenance. I am finding little on this topic online.
1
vote
2answers
165 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 ...
1
vote
4answers
130 views

What tool/approach is best to use to document the structure and hierarchy of a SharePoint site collection?

I need to document the structure and hierarchy of a SharePoint site collection. We need to show the Different sub sites, the hierarchy, the lists and libraries in each site, the list columns in case ...
1
vote
1answer
105 views

how to maintain a SharePoint server?

I am using SharePoint Server 2007 + Windows Server 2008. I want to know whether there are any existing best practices or tools to maintain a SharePoint server, for example how to monitor SharePoint ...
1
vote
1answer
22 views

Best Practices for small changes from Quality to Production

I am at a new job, and how they manage development and then deployment to production is strange. So, I was curious what is the best practice for this scenario? A user just wanted a form field to have ...
1
vote
2answers
201 views

Creating multiple PWA instances in the same farm

I need to provision multiple PWA instances in the same farm. My business requirement is, i have more than 100 branches and i suppose to create an individual PWA instance per each branch, but i need to ...
1
vote
1answer
76 views

Best practices for Sharepoint 2013 3 tier installation

I have 3 servers WFE server Application Server Database Server I am using Windows 2008 R2 and SQL server 2008 Assuming SQL Server 2008 is installed with a Server account E.g. SQL_service, can ...
1
vote
2answers
1k views

SharePoint 2010 - Best practices: how to handle assemblies [Discussion]

There is a discussion which has been going on for serveral years when programming for SharePoint. In Visual Studio you can add a SharePoint solution, which will be converted to a .wsp file to deploy. ...
1
vote
1answer
132 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, ...
1
vote
1answer
536 views

Two tier small farm Questions

Currently we have a db server and everything else installed on another server. We now have a third server at our disposal. I was wondering if it was possible to add the other server into the mix. ...
1
vote
2answers
617 views

SPMonitoredScope doesn't work as expected

my code: using (new SPMonitoredScope("Sleepy Time", 1000)) { System.Threading.Thread.Sleep(5000); } when I enable the Developer Dashboard, I am expecting a red border around it because the code ...
1
vote
2answers
67 views

Best practices for creating views or separate lists?

Is there a best practice that can be said for whether to add a tag and have users filter on it or just create a separate list? We have many groups in our SharePoint application that all have many ...
1
vote
2answers
42 views

Is there a way to upload a document from one document library to another on different farm?

we are planning on a publishing functionality for our SP2013 site. (please note that we are not using the cross-site publishing feature, but ideally we are implementing similar concept) There are 2 ...
1
vote
1answer
29 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 ...
1
vote
2answers
723 views

What are some best practices when using jquery for Autocomplete with ashx?

After doing some research I saw some examples using jquery's .ajax function and webmethods for autocomplete with ashx in Sharepoint. ...
1
vote
1answer
149 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 ...
1
vote
1answer
250 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 ...
1
vote
2answers
1k views

How should I programmatically customize the “My Profile” page (person.aspx)?

I am trying to customize the "my profile" page (person.aspx, "my site host" site collection) in SharePoint 2010. For example, I would like to: Add/delete some webparts Delete links from top ...
1
vote
0answers
29 views

structuring Javascript for sharepoint code

I have been reading many articles and going through many video tutorials, they explain almost all patterns from javascript (Module pattern, Prototype pattern, Revealing Module pattern and etc) with ...
1
vote
0answers
18 views

Best practice for re-using the SPWeb object across code layers/services

I have several services that use the SPWeb object. These services are called to perform various functions, sometimes completely unrelated. i.e. an AuthenticationService uses SPWeb to get information ...
1
vote
0answers
21 views

How to let users discover sites they don't have access to?

What is the best way to make users aware of existing sites (they don't have access to)? We have this scenario: In our organisation everybody is allowed to create team sites for ad hoc collaboration. ...
1
vote
1answer
41 views

Sub-sites as records

I have been sent a solution proposal from a company on how they would build their Sharepoint site. We need to have a place to store information about a business deviations, such as name, ...
1
vote
0answers
91 views

Customizing social features in 2013

I'm looking at making use of the social features in 2013 but would like to tailor the UX / behaviour in some cases. I noticed that Microsoft advise against customization - ...
1
vote
1answer
286 views

Webapp design for internet, intranet and extranet?

I am a beginner in Sharepoint and I must conceive a Sharepoint solution. I need to have an Intranet for employees as well as an access point for collaborators to a particular site in this intranet. ...
1
vote
1answer
119 views

Create Display form that reads the current language of its parent

Im working in sharepoint server 2010, with Arabic language pack installed my current structure for the sharepoint site like the following: one SiteCollection: --------> one English ...
1
vote
0answers
801 views

What is the best practice handling “Save Conflict” SPException? [closed]

What is the best way to work around the SPException thrown when updating an SPListItem recently edited by another process? Is this a good approach? What can be done to not to lose the update data? ...
0
votes
2answers
556 views

Sharepoint 2010 - Related fields in dropdowns. How to?

In my UI I have a dropdown which contains some values: A, B, C. There is also another dropdown in the page whose values depend on the selected value in the first combo. If I select A in the first ...
0
votes
1answer
115 views

Coding best practice display name vs internal name in itemUpdated event receiver

In an itemupdated event receiver, when referring to list fields, is it better to use the field's internal name, or its display name? Is there a clear guideline or best practice, or is this a ...
0
votes
1answer
86 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 ...
0
votes
2answers
2k views

How should I set up my database instances for multiple SP2010 installs?

I'm setting up three SharePoint instances. We have a single database instance (DB\SP2010) that will hold all the databases for these three SP instances. Will this be overly confusing? Is there some ...
0
votes
1answer
52 views

Sharepoint CAML best practices

Can I write a CAML query inside a for loop? Copied from comment I have a funds list which displays funds and user name. I have populated a DataTable into a GridView and able to display all the data ...
0
votes
1answer
487 views

What is difference between SPSite.Url and SPSite.RootWeb.Url

What is difference between: SPSite.Url SPSite.RootWeb.Url If both are same, Which is considered to be good practice?
0
votes
1answer
388 views

Keep major version when working on minor version

My situation is this; I have a document library that contains reports (InfoPath 2010 forms). When an item is submitted it should clearly be marked as un-approved until it has passed an approval ...
0
votes
2answers
1k views

Best practice for public facing website

I am getting lost in the Sharepoint universe and I need someone to point me in the direction of an easy guide to setting up a public facing website collection following best practice. We have ...