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
2answers
19 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. ...
5
votes
5answers
1k views

What is the best practice for redirecting users when sites are being upgraded?

We have an upgrade to an application coming up which requires a site collection to be deleted and recreated. In terms of managing the existing users experience during upgrade what would be the best ...
1
vote
1answer
26 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
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 ...
1
vote
0answers
79 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 - ...
0
votes
1answer
23 views

Why do we need to strong name and mark webpart as safe?

We are using SP2013 and developing webparts for clients to be used in the intranet portal. We create the webpart, implement the logic and publish the wsp and install it on clients server. I want to ...
0
votes
1answer
47 views

SharePoint 2013: Forced to have an App tile? Or Re-design?

Do anyone know of a way to hide an app tile, it appears that we are forced to have one with each app we install? For example, I just want to deploy a Remote Event Receiver to a site. Create a ...
9
votes
2answers
604 views

SharePoint 2013 CSOM: Is it better to pass a Context object around or a Url?

In SharePoint 2013 CSOM is it better to pass a Context object around, or a Url to open a context? Which would be the best example: (Please consider there may be a lot of methods preforming tasks) ...
1
vote
1answer
173 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 ...
0
votes
1answer
63 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?
1
vote
2answers
35 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 ...
2
votes
2answers
294 views

Best practice to add list item in SharePoint Server OM?

from the below codes, which one is best practice and performance wise also:- CASE 1: using (SPSite oSPsite = new SPSite("http://website url/")) { using (SPWeb oSPWeb = oSPsite.OpenWeb()) { ...
2
votes
1answer
47 views

What is good practice to log information in SharePoint?

We are creating a timer job that imports AD users into SharePoint list. I would liek to log this information somewhere so that at a later time I can check which users were pulled in and/why the ...
2
votes
1answer
368 views

Can we access list from other site collection sites using javascript object model?

ECMAScript object model can only be used in SharePoint sites. So you can’t use this object model in an asp.net site to access SharePoint resources deployed in another url as this is cross-site ...
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
64 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
64 views

Do we need separate Unattended service account for each SharePoint Server 2013 BI service applications?

SharePoint 2013 - I'm planning to use 'unattended service account' method of Secure Store Service - for Excel, Performance Point and Visio services. I'm about to create Active directory accounts for ...
1
vote
2answers
212 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 ...
0
votes
1answer
102 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
1answer
1k views

Distributed Cache Service Accounts

Recently saw a health warning in my 2013 CA that stated: The farm account is used for the SharePoint timer service and the central administration site, it is highly privileged and should not be ...
2
votes
1answer
708 views

Web Application or Site Collection Architecture for My Sites in SharePoint 2013

I am designing a solution for our client which have the following 'Areas' Teams Committees My Sites Projects (MS project server) Apps I see the best approach is creating a Web Application (WA) ...
0
votes
1answer
34 views

What is the proper method for installation of a team site with custom solutions?

What is the proper method for installation of a team site that has parts and webparts configured using PowerShell as well as six custom C#.NET applications for select webparts? Should I make a ...
0
votes
1answer
81 views

Best practice in SP2013 for simple ASP.NET functionality?

Disclaimer: I am not a Sharepoint developer, but I know my way around ASP.NET fairly well. I have inherited a simple ASP.NET web forms page (one .ASPX and a code-behind) in our current Sharepoint ...
0
votes
2answers
662 views

SP 2010 - to BLOB or not to BLOB?

Here is my situation: We are working on a scan-to-SP solution for our remote locations. The scanning will take place throughout the day/night. Our current estimated Total Daily Scans will number ...
0
votes
0answers
154 views

SharePoint 2013 Central Admin - Subsite

I am planning to develop a solution that will deploy a few central administration pages. However, the whole solution will do some specific tasks and I need to create a custom site for that. I was ...
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?
1
vote
1answer
634 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?
6
votes
5answers
3k views

Best practices for building a SharePoint Extranet

What are the best practices when it comes to building a SharePoint Extranet? Any good resources out there? One question that I am particularly looking for some thoughts on is how to best create a ...
0
votes
2answers
963 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 ...
0
votes
2answers
89 views

Sharepoint Development Process Best Practices

I would like to ask some simple questions regarding the best practices of Sharepoint 2010 development process. 1) I am supposed to maintain and add new sites to an already installed Sharepoint site. ...
10
votes
2answers
773 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 ...
2
votes
2answers
647 views

(De)Commission SharePoint Database Servers

In our SharePoint Farm, We are running with 2 Database Servers and on which we have 20+ Databases.Now, due to some issues we would like to decommission the existing database servers and commission 2 ...
6
votes
2answers
190 views

Best Practice changing usernames for Sharepoint 2010

We are using SharePoint 2010 Enterprise and have a User Profile service set to synchronize against AD DS. When a user's username changes, because of marriage or mis spelling, there are a set of ...
10
votes
1answer
1k views

Is Calling base.ItemUpdating(properties); necessary?

In an event receiver, is it necessary to call base.ItemAdding(properties);, base.ItemUpdating(properties);, etc. at the beginning of your event handler? I've seen people arguing that it isn't ...
4
votes
2answers
542 views

Instantiating SPListItems in Event Receivers - Best Practices

In the MSDN article Best Practices with Event Receivers it is clearly stated: Do not instantiate an SPWeb, SPSite, SPList, or SPListItem object within an event receiver. The article goes on to ...
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 ...
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 ...
3
votes
1answer
201 views

Should this be a sandboxed solution?

My company outsourced the creation of a SharePoint WebPart for connecting to our cloud service. The WebPart connects to our service by using our REST API. When configuring the WebPart you supply ...
2
votes
2answers
1k views

Best way of getting SPWeb in Event Receiver [Best Practices]

what would be the best way of getting SPWeb and List in context below, specially when list title can be different for different cultural websites, private bool ...
0
votes
1answer
129 views

Auto-Update Statics On/Off

MS recommends disabling auto-create statistics on SP DBs (ref). What about auto-update statistics? Looking at our TFS installation, for the SP DBs, these two options are disabled for you when TFS is ...
0
votes
1answer
596 views

Add documents to library or assign them to items?

We have a checklist for projects, this list is represented as a project tasklist so we can track to progress. At the moment we add documents to a document library on the same page, but this way they ...
0
votes
0answers
85 views

Proper way to get all lists of a certain type from an entire site collection regardless of current location

I'm creating a webpart that gives the user a feed of any annoucement list in the entire site collection, so they can aggregate data to a central portal. I'm currently using the following, but can't ...
1
vote
1answer
254 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. ...
3
votes
2answers
1k views

Use SPQuery.RowLimit also on large lists with small query results?

I frequently read one should use RowLimit on SPQuerys on a large list, especially with more than 2000 items. Best Practices: Common Coding Issues When Using the SharePoint Object Model: An ...
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
608 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 ...
0
votes
2answers
99 views

What are some tips for a SharePoint Server?

I have set up a SharePoint Server as the new Intranet for the company I work for. I have been thinking that it would be good to have an area where everyone can post ideas and tips they think everyone ...
2
votes
2answers
968 views

Reason people don't use SPContext when executing web.Lists[“ListName”].GetItems(query)

I'm building a Site Definition that will be the core of a SharePoint product. I want to use best practices building the data access architecture. Since I do not know what the URL of the site will ...
2
votes
3answers
100 views

Best Practice: Javascript Registration SP2007

There is always the ASP.net way of registering javascript on the page using the Page.ClientScript.RegisterClientScript() method, but I was wondering if there was a better way to register your ...
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 ...