• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Org Chart jQuery/SharePoint/Google Charting Mashup
 

Org Chart jQuery/SharePoint/Google Charting Mashup

on

  • 3,620 views

This is a presentation I did at SharePoint Saturday - Twin Cities on Oct. 29, 2011.

This is a presentation I did at SharePoint Saturday - Twin Cities on Oct. 29, 2011.

Statistics

Views

Total Views
3,620
Views on SlideShare
3,616
Embed Views
4

Actions

Likes
0
Downloads
13
Comments
0

2 Embeds 4

http://www.linkedin.com 3
http://www.docseek.net 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Org Chart jQuery/SharePoint/Google Charting Mashup Org Chart jQuery/SharePoint/Google Charting Mashup Presentation Transcript

    • ORG CHART/SITE MAP MASHUPHow to create a List-driven, Graphical Org Chart using jQuery, Web Services and the Google Charting API
    • INTRODUCTION• David Petersen• Twitter: @dipetersen• Email: david@dipetersen.com
    • BLOG – WHATSTHESHAREPOINT.COM
    • PRO SHAREPOINT DESIGNER 2010
    • THE PROBLEM• Business user created an Org Chart as a JPG• Web programmer sliced it up and created HTML to display it on a SharePoint page• Lost the original graphic• Needed to make a change, asked for my help• Another JPG was not a good solution• Business user always had to have a programmer help update
    • ORIGINAL
    • THE SOLUTION• SharePoint list-driven solution• Content Editor Web Part• Use jQuery to query the SP Web Services • SPServices jQuery library for SharePoint Web Services – Marc Anderson • http://spservices.codeplex.com/• Use Google OrgChart Visualization API • http://code.google.com/apis/chart/interactive/docs/gallery/orgchart.html
    • SHARE POINT LISTS• Site Map • Fields • Title – The name of each box. • Parent – Defines the parent-child relationship. • Provides the structure of the org chart.• Site Map Content • Fields • Content – of the box. • Url – Provided so that we can link to somewhere on the site. • Position – Defines what position in the box. • SiteMapNode – Lookup to the Title field in the Site Map list. (Relationship to first list)
    • SITE MAP LISTField Name Type NotesTitle Single Line of TextParent Lookup This lookup field references the Title field in the same list. Content Title Parent IT Database IT Systems IT Collaboration IT
    • SITE MAP CONTENTField Name Type NotesContent Single Line of Text Rename Title fieldUrl Single Line of TextPosition Number Set to Zero decimal places, minimum number 1SiteMapNode Lookup Lookup to the Site Map list and reference Title field
    • CONTENT FOR SITE MAP CONTENT LISTContent Url Position SiteMapNodeDirector: Jim Smith 1 ITManager: Bob Blisand 1 DatabaseOracle Team # 2 DatabaseMSSQL Team # 3 DatabaseMySQL Team # 4 DatabaseManager: Chris Cooper 1 SystemsMicrosoft Systems Team # 2 SystemsLinux Team # 3 SystemsManager: Wesley Willingham 1 CollaborationSharePoint Development # 2 CollaborationWeb Development # 3 Collaboration
    • DEMOTo the code…and beyond…
    • Folder Structure• resources • content • sitemap.js • css • images • background-image • js • jquery • spservices
    • IEFirefox
    • IEFirefox
    • Use background image
    • IEFirefox
    • MORE INFORMATION• 4 Part Series – Step by Step • http://whatsthesharepoint.com • Download sitemap.js • Download background graphic• CSS3 Reference: http://www.css3.info• Amazon Search for: Pro SharePoint Designer 2010• Google Chart Tools • code.google.com/apis/chart/index.html• @dipetersen• http://www.linkedin.com/in/dpetersen