Top Banner
Sustainable SharePoint 2010 Customizations By Bill Keys
21
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Sustainable SharePoint 2010 Customizations By Bill Keys.

Sustainable SharePoint 2010Customizations

By Bill Keys

Page 2: Sustainable SharePoint 2010 Customizations By Bill Keys.

Our Environment

● SharePoint 2010 Enterprise● Threat Management Gateway● Active Directory Integration● Production and Test Environments

● Two SharePoint servers and one database server for each environment

Page 3: Sustainable SharePoint 2010 Customizations By Bill Keys.

Challenges

● SSO with Third-party Applications● Supporting Multiple Computing

Environments● High Availability● Preparing for Next Version

Page 4: Sustainable SharePoint 2010 Customizations By Bill Keys.

Safe Guards

• Quotas• Recycle Bin• Backups• Max Upload – Protect our Database• Custom User Permissions

• No page deleting rights, no applying css, create groups, etc.

• Test environment – TEST TEST TEST!

Page 5: Sustainable SharePoint 2010 Customizations By Bill Keys.

Custom Development

Page 6: Sustainable SharePoint 2010 Customizations By Bill Keys.

Web Parts

● Content Editor Web Part● Custom HTML and JavaScript● <iframe>● Hidden Web Part for customization to local

CSSDemo

● Content Query Web Part● SharePoint list and CQWP is a great match!Demo

Page 7: Sustainable SharePoint 2010 Customizations By Bill Keys.

InfoPath FormBefore

After

Page 8: Sustainable SharePoint 2010 Customizations By Bill Keys.

SharePoint DesignerAdvantages Deployment is fast Build for SharePoint Rapid developmentDisadvantages

Server side code not supported Little software developers tools support

Usages Add HTML, CSS, JavaScript or JQuery to a page Workflows

Page 9: Sustainable SharePoint 2010 Customizations By Bill Keys.

Server Side Code

• Can’t developed on client side?• SSO Third Party Applications

• Trusted Keys• Get user profile information

• Need code to send email?

Page 10: Sustainable SharePoint 2010 Customizations By Bill Keys.

Using ASP.NET Code

• Inline code not support by default• <% Response.Write(“<b>Hello World</b>");%>• Need to edit web.config to allow

• Application Pages• Regular aspx pages• Usually reside in sub folder in_ layouts

Visual Studio comes to the rescue

Page 11: Sustainable SharePoint 2010 Customizations By Bill Keys.

Visual Studio● For Developers● Templates for SharePoint● Packaging● Deployment

Page 12: Sustainable SharePoint 2010 Customizations By Bill Keys.

VS Custom Development

Page 13: Sustainable SharePoint 2010 Customizations By Bill Keys.

Examples

• Daily Digest• SharePoint Lists and Forms• ASP.Net code to support sending email

• eColleage SSO• SharePoint User Profile• Code

Page 14: Sustainable SharePoint 2010 Customizations By Bill Keys.

Source Control

Now Supports Git!

Page 15: Sustainable SharePoint 2010 Customizations By Bill Keys.

Debugging• SharePoint Developer Dashboard

• Firebug• Fiddler – HTTP traffic debugger

Page 16: Sustainable SharePoint 2010 Customizations By Bill Keys.

SharePoint 2013

Prepare for migrating to SharePoint 2013•New App Model•XSLT replaced with JavaScript- based CSR•.Net 4.5 support•New Web Parts for customizations•Styling changes

Page 17: Sustainable SharePoint 2010 Customizations By Bill Keys.

2010 Solutions to 2013

• Import package into Visual Studio 2012• Edit your .cspro

• Build, package, deploy

Page 18: Sustainable SharePoint 2010 Customizations By Bill Keys.

2010 SPServices JQuery to 2013• Core of SPServices

works 2013.• DOM has changed• New CSS• Keep your 2010 code

clean and modular• Post to community

form

Page 19: Sustainable SharePoint 2010 Customizations By Bill Keys.

2013 Web PartsContent Editor

Content Query Improved

Page 20: Sustainable SharePoint 2010 Customizations By Bill Keys.

Best Practices

1. Don’t code if you don’t need too.2. Don’t manually make changes to config files3. Document all customizations4. Think future migrations

Page 21: Sustainable SharePoint 2010 Customizations By Bill Keys.

Thanks you!

Contact me at [email protected]://github.com/billkeys