I Didn’t Know You Could Do That With SharePoint

56
I Didn’t Know You Could Do That With SharePoint Easy, No-Code Solutions To Increase Productivity

description

"I Didn't Know You Could Do That With SharePoint" is the name of a class I teach to our SharePoint power users at my company. The goal of this class is to demonstrate some advanced solutions that they can implement on their team sites, without having to write any code. We cover eight advanced topics in just an hour, so the "training" is very demo intensive. It covers more of the what than the how. The how will be addressed in future hands-on training sessions for each topic, and as I prepare each advanced training session I will upload the slides here. I've written a blog post about the class at http://www.sharepointwendy.com/2012/06/i-didnt-know-you-could-do-that-with.html.

Transcript of I Didn’t Know You Could Do That With SharePoint

Page 1: I Didn’t Know You Could Do That With SharePoint

I Didn’t Know You Could Do That With

SharePoint

Easy, No-Code SolutionsTo Increase Productivity

Page 2: I Didn’t Know You Could Do That With SharePoint

Cool Stuff:◦ Reusable content using CEWP◦ Easy Tabs – tabbed interface◦ Adding CSS to your site◦ Conditional formatting on lists◦ Utilizing lookup lists◦ Query string filtering with the CQWP◦ Content types◦ Parent/child list relationships

Tips & Best Practices

Agenda

Page 3: I Didn’t Know You Could Do That With SharePoint

Reusable ContentDisplay content in multiple places with the Content Editor Web Part (CEWP)

Page 4: I Didn’t Know You Could Do That With SharePoint

Add formatted text, tables, links, and images to a Web Part Page

What is the Content Editor Web Part?

Page 5: I Didn’t Know You Could Do That With SharePoint

Create using ribbon design interface

What is the Content Editor Web Part?

Page 6: I Didn’t Know You Could Do That With SharePoint

Can also directly modify the HTML

What is the Content Editor Web Part?

Page 7: I Didn’t Know You Could Do That With SharePoint

A better option: Content Link to a text file

What is the Content Editor Web Part?

Page 8: I Didn’t Know You Could Do That With SharePoint

Reusable Content Example

2 pages1 source

Page 9: I Didn’t Know You Could Do That With SharePoint

Easy TabsTabbed interface to maximize space and organize content

Page 10: I Didn’t Know You Could Do That With SharePoint

JavaScript text inside a CEWP Adds a tabbed interface to any web part

page Written by Christophe Humbert at

http://blog.pathtosharepoint.com

What are Easy Tabs?

Page 12: I Didn’t Know You Could Do That With SharePoint

Upload to a document library

How to Implement – Step 2

Page 13: I Didn’t Know You Could Do That With SharePoint

How to Implement – Step 3

Add a CEWP with link to your script file

Set web part to hidden

Move the CEWP under all the web parts you wish to “tabify” and exit edit mode

Page 14: I Didn’t Know You Could Do That With SharePoint

Easy Tabs Example

Page 15: I Didn’t Know You Could Do That With SharePoint

Easy Tabs Example

Page 16: I Didn’t Know You Could Do That With SharePoint

Easy Tabs Example

Page 17: I Didn’t Know You Could Do That With SharePoint

Adding CSS To Your Site

Change the way your site pages look using CSS

Page 18: I Didn’t Know You Could Do That With SharePoint

Stands for Cascading Style Sheets Styles define how to display HTML elements Separates look and feel from functionality

P { color:red; text-align:center;}

What is CSS?

Page 19: I Didn’t Know You Could Do That With SharePoint

Some elements can’t be modified through the user interface

Easier/quicker to change CSS than changing a master page or writing custom code

Why Change the Default CSS?

Page 20: I Didn’t Know You Could Do That With SharePoint

Use CEWP to embed CSS on your page

Page Level CSS

Page 21: I Didn’t Know You Could Do That With SharePoint

Upload alternate CSS file shared across entire site (site master page settings page)

Site Level CSS

Page 22: I Didn’t Know You Could Do That With SharePoint

CSS Example – Page Level Hide left navigation for this page

Page 23: I Didn’t Know You Could Do That With SharePoint

CSS Example – Site Level

Wiki Library - before Wiki Library – hide recently modified links

Page 24: I Didn’t Know You Could Do That With SharePoint

Conditional Formatting

Change background, font colors and other effects

Page 25: I Didn’t Know You Could Do That With SharePoint

Different visual effects to lists/libraries based on dynamic criteria

Examples:◦ Highlight row color based on status◦ Different KPI indicators when numbers pass

certain thresholds◦ Change text weight, style, color, based on field

value

What is Conditional Formatting?

Page 26: I Didn’t Know You Could Do That With SharePoint

Conditional Formatting Example

Page 27: I Didn’t Know You Could Do That With SharePoint

Lookup ListsStreamline data entry and provide consistent choices

Page 28: I Didn’t Know You Could Do That With SharePoint

Consists of two elements:◦ Lookup column (dropdown)◦ A SharePoint list (can be same list or different)

populates the choices for the Lookup column

Benefits:◦ Provides time savings◦ Allows for consistent data◦ Change list choices in one place

What are Lookup Lists?

Page 29: I Didn’t Know You Could Do That With SharePoint

Lookup List Example

Page 30: I Didn’t Know You Could Do That With SharePoint

Lookup Lists vs. Choice Fields

Lookup Listo Slightly more work to set upo Always dropdown listo Easier to update choiceso Change once, update everywhere

Choice Fieldo Easy to set upo Radio button, checkbox supporto Harder to update choiceso Updates are go-forward only

Page 31: I Didn’t Know You Could Do That With SharePoint

Filtering DataFilter data via the query string with the Content Query Web Part (CQWP)

Page 32: I Didn’t Know You Could Do That With SharePoint

Pull specific data from lists or libraries to display on different pages or sub-sites

Can “roll up” data queried from many sources

Supports filtering, grouping, sorting

What is the Content Query Web Part?

Page 33: I Didn’t Know You Could Do That With SharePoint

Source list “Products”

Adding the CQWP

Page 34: I Didn’t Know You Could Do That With SharePoint

Browse to your list

Adding the CQWP

Page 35: I Didn’t Know You Could Do That With SharePoint

Expand the Additional Filters instructions

Add query string parameter

Filtering the CQWP

Page 36: I Didn’t Know You Could Do That With SharePoint

Filtering Data Example

Page 37: I Didn’t Know You Could Do That With SharePoint

Filtering Data Example

Page 38: I Didn’t Know You Could Do That With SharePoint

Content TypesEnsure content standardization and enable re-use

Page 39: I Didn’t Know You Could Do That With SharePoint

Reusable collection of metadata (columns), workflow, behavior, and other settings for a category of items or documents

Enable you to manage the settings for a category of information in a centralized, reusable way

http://msdn.microsoft.com/en-us/library/ms472236.aspx

What are Content Types?

Page 40: I Didn’t Know You Could Do That With SharePoint

What does that mean?!!!

Page 41: I Didn’t Know You Could Do That With SharePoint

Utilizing different document templates (ex. Word, Excel, PowerPoint in the New menu)

Content Types Example

Page 42: I Didn’t Know You Could Do That With SharePoint

Different item types co-existing in same library (ex. documents, hyperlinks, videos)

Content Types Example

Page 43: I Didn’t Know You Could Do That With SharePoint

Different types of data or content, which may share some common properties, but also each has some unique attributes

Content Types Example

Page 44: I Didn’t Know You Could Do That With SharePoint

Product item Taxable product item

Content Types Example

‣ Both content types share common data

‣ If Taxable product item content type, then display the Tax Rate field

Page 45: I Didn’t Know You Could Do That With SharePoint

Centrally manage different groups of content

Can apply different policies, workflows, retention schedules, metadata

Data is organized consistently throughout the organization

Benefits of using Content Types

Page 46: I Didn’t Know You Could Do That With SharePoint

Parent/Child ListsUse list relationships to link your data

Page 47: I Didn’t Know You Could Do That With SharePoint

Links lists together Add one-to-many relationships Brings the capabilities of SharePoint data

models closer to those of relational databases

But…not as powerful as relational databases

What are list relationships?

Page 48: I Didn’t Know You Could Do That With SharePoint

Parent List - Tasks

Page 49: I Didn’t Know You Could Do That With SharePoint

Child List - Hours

Page 50: I Didn’t Know You Could Do That With SharePoint

Hooking the lists together – Step 1

‣ When creating child list, create IssueID Lookup field

‣ Map to the ID column of the Tasks list, and also show Title column

‣ Be sure to enforce relationship behavior

Page 51: I Didn’t Know You Could Do That With SharePoint

Hooking the lists together – Step 2

‣ Modify child list’s New Form in SharePoint Designer

‣ Add URL parameter to auto populate the IssueID field

Page 52: I Didn’t Know You Could Do That With SharePoint

Hooking the lists together – Step 3‣ Modify parent

list’s Display Form in SharePoint Designer

‣ Add a Related Item View web part

‣ Add JavaScript link to child list’s New Form

Page 53: I Didn’t Know You Could Do That With SharePoint

Tips & Best Practices

Page 54: I Didn’t Know You Could Do That With SharePoint

Append ?contents=1 to web part page URL Maintenance mode to remove bad web

parts

Troubleshooting bad web parts

Page 55: I Didn’t Know You Could Do That With SharePoint

Change default name of web parts to descriptive name

Use content links with CEWP whenever possible

Don’t just put any script on your site◦ Understand what it’s doing◦ If you don't understand, ASK!!

Best Practices

Page 56: I Didn’t Know You Could Do That With SharePoint

Questions??