SlideShare a Scribd company logo
1 of 32
ORG CHART/SITE MAP MASHUP
How 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 LIST
Field Name               Type                     Notes
Title                    Single Line of Text
Parent                   Lookup                   This lookup field references
                                                  the Title field in the same list.

         Content

         Title                           Parent
         IT
         Database                        IT
         Systems                         IT
         Collaboration                   IT
SITE MAP CONTENT
Field Name    Type                  Notes
Content       Single Line of Text   Rename Title field
Url           Single Line of Text
Position      Number                Set to Zero decimal places,
                                    minimum number 1
SiteMapNode   Lookup                Lookup to the Site Map list
                                    and reference Title field
CONTENT FOR SITE MAP CONTENT LIST
Content                      Url   Position   SiteMapNode

Director: Jim Smith                1          IT

Manager: Bob Blisand               1          Database

Oracle Team                  #     2          Database

MSSQL Team                   #     3          Database

MySQL Team                   #     4          Database

Manager: Chris Cooper              1          Systems

Microsoft Systems Team       #     2          Systems

Linux Team                   #     3          Systems

Manager: Wesley Willingham         1          Collaboration

SharePoint Development       #     2          Collaboration

Web Development              #     3          Collaboration
DEMO
To the code…and beyond…
Folder Structure
• resources
     • content
           • sitemap.js
     • css
     • images
           • background-image
     • js
           • jquery
           • spservices
IE




Firefox
IE




Firefox
Use background image
IE




Firefox
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

More Related Content

Viewers also liked

Tulsa Tech Fest - SharePoint 2013: Intro To Branding & Design Manager
Tulsa Tech Fest - SharePoint 2013: Intro To Branding & Design ManagerTulsa Tech Fest - SharePoint 2013: Intro To Branding & Design Manager
Tulsa Tech Fest - SharePoint 2013: Intro To Branding & Design Manager
April Dunnam
 
Organization chart english umb
Organization chart  english umbOrganization chart  english umb
Organization chart english umb
johnhdezo
 

Viewers also liked (10)

Tulsa Tech Fest - SharePoint 2013: Intro To Branding & Design Manager
Tulsa Tech Fest - SharePoint 2013: Intro To Branding & Design ManagerTulsa Tech Fest - SharePoint 2013: Intro To Branding & Design Manager
Tulsa Tech Fest - SharePoint 2013: Intro To Branding & Design Manager
 
2012 asq rd org chart
2012 asq rd org chart2012 asq rd org chart
2012 asq rd org chart
 
Organization chart english umb
Organization chart  english umbOrganization chart  english umb
Organization chart english umb
 
Organsiational chart
Organsiational chartOrgansiational chart
Organsiational chart
 
How to manage Users information with the Docebo E-Learning platform - Part 01...
How to manage Users information with the Docebo E-Learning platform - Part 01...How to manage Users information with the Docebo E-Learning platform - Part 01...
How to manage Users information with the Docebo E-Learning platform - Part 01...
 
Organization chart kamal
Organization chart  kamalOrganization chart  kamal
Organization chart kamal
 
12 steps to successful social learning
12 steps to successful social learning12 steps to successful social learning
12 steps to successful social learning
 
Redrawing Org Charts; Rethinking Organizational Boundaries: Opportunities for...
Redrawing Org Charts; Rethinking Organizational Boundaries: Opportunities for...Redrawing Org Charts; Rethinking Organizational Boundaries: Opportunities for...
Redrawing Org Charts; Rethinking Organizational Boundaries: Opportunities for...
 
Are You Equipped to Lead L&D Into the Future?
Are You Equipped to Lead L&D Into the Future?Are You Equipped to Lead L&D Into the Future?
Are You Equipped to Lead L&D Into the Future?
 
Foundations of planning, types of plans, approaches to planning, planning in ...
Foundations of planning, types of plans, approaches to planning, planning in ...Foundations of planning, types of plans, approaches to planning, planning in ...
Foundations of planning, types of plans, approaches to planning, planning in ...
 

Similar to Org Chart jQuery/SharePoint/Google Charting Mashup

OSCON 2012 MongoDB Tutorial
OSCON 2012 MongoDB TutorialOSCON 2012 MongoDB Tutorial
OSCON 2012 MongoDB Tutorial
Steven Francia
 
Web search engines and search technology
Web search engines and search technologyWeb search engines and search technology
Web search engines and search technology
Stefanos Anastasiadis
 
Seo power point
Seo power pointSeo power point
Seo power point
160201058
 

Similar to Org Chart jQuery/SharePoint/Google Charting Mashup (20)

OSCON 2012 MongoDB Tutorial
OSCON 2012 MongoDB TutorialOSCON 2012 MongoDB Tutorial
OSCON 2012 MongoDB Tutorial
 
MongoDB for Genealogy
MongoDB for GenealogyMongoDB for Genealogy
MongoDB for Genealogy
 
Essentials for the SharePoint Power User - SharePoint Engage Raleigh 2017
Essentials for the SharePoint Power User - SharePoint Engage Raleigh 2017Essentials for the SharePoint Power User - SharePoint Engage Raleigh 2017
Essentials for the SharePoint Power User - SharePoint Engage Raleigh 2017
 
Web search engines and search technology
Web search engines and search technologyWeb search engines and search technology
Web search engines and search technology
 
SharePoint goes Microsoft Graph
SharePoint goes Microsoft GraphSharePoint goes Microsoft Graph
SharePoint goes Microsoft Graph
 
Annotating search results from web databases-IEEE Transaction Paper 2013
Annotating search results from web databases-IEEE Transaction Paper 2013Annotating search results from web databases-IEEE Transaction Paper 2013
Annotating search results from web databases-IEEE Transaction Paper 2013
 
From Legacy Web Application To SharePoint - a case study
From Legacy Web Application To SharePoint - a case studyFrom Legacy Web Application To SharePoint - a case study
From Legacy Web Application To SharePoint - a case study
 
Seo power point
Seo power pointSeo power point
Seo power point
 
Reviewing RESTful Web Apps
Reviewing RESTful Web AppsReviewing RESTful Web Apps
Reviewing RESTful Web Apps
 
Large-Scale Semantic Search
Large-Scale Semantic SearchLarge-Scale Semantic Search
Large-Scale Semantic Search
 
Spring data presentation
Spring data presentationSpring data presentation
Spring data presentation
 
Hacking with Semantic Web
Hacking with Semantic WebHacking with Semantic Web
Hacking with Semantic Web
 
Tagging search solution design
Tagging search solution designTagging search solution design
Tagging search solution design
 
Cross Site Collection Navigation using SPFx, Powershell PnP & PnP-JS
Cross Site Collection Navigation using SPFx, Powershell PnP & PnP-JSCross Site Collection Navigation using SPFx, Powershell PnP & PnP-JS
Cross Site Collection Navigation using SPFx, Powershell PnP & PnP-JS
 
Cross Site Collection Navigation
Cross Site Collection NavigationCross Site Collection Navigation
Cross Site Collection Navigation
 
SharePoint architecture-site
SharePoint architecture-siteSharePoint architecture-site
SharePoint architecture-site
 
Essentials for the SharePoint Power User - SPTechCon San Francisco 2016
Essentials for the SharePoint Power User - SPTechCon San Francisco 2016Essentials for the SharePoint Power User - SPTechCon San Francisco 2016
Essentials for the SharePoint Power User - SPTechCon San Francisco 2016
 
DC presentation 1
DC presentation 1DC presentation 1
DC presentation 1
 
Building a Dataset Search Engine with Spark and Elasticsearch: Spark Summit E...
Building a Dataset Search Engine with Spark and Elasticsearch: Spark Summit E...Building a Dataset Search Engine with Spark and Elasticsearch: Spark Summit E...
Building a Dataset Search Engine with Spark and Elasticsearch: Spark Summit E...
 
Social Media Data Collection & Analysis
Social Media Data Collection & AnalysisSocial Media Data Collection & Analysis
Social Media Data Collection & Analysis
 

Recently uploaded

Recently uploaded (20)

Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 

Org Chart jQuery/SharePoint/Google Charting Mashup

  • 1. ORG CHART/SITE MAP MASHUP How to create a List-driven, Graphical Org Chart using jQuery, Web Services and the Google Charting API
  • 2. INTRODUCTION • David Petersen • Twitter: @dipetersen • Email: david@dipetersen.com
  • 5. 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
  • 7. 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
  • 8. 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)
  • 9. SITE MAP LIST Field Name Type Notes Title Single Line of Text Parent Lookup This lookup field references the Title field in the same list. Content Title Parent IT Database IT Systems IT Collaboration IT
  • 10. SITE MAP CONTENT Field Name Type Notes Content Single Line of Text Rename Title field Url Single Line of Text Position Number Set to Zero decimal places, minimum number 1 SiteMapNode Lookup Lookup to the Site Map list and reference Title field
  • 11. CONTENT FOR SITE MAP CONTENT LIST Content Url Position SiteMapNode Director: Jim Smith 1 IT Manager: Bob Blisand 1 Database Oracle Team # 2 Database MSSQL Team # 3 Database MySQL Team # 4 Database Manager: Chris Cooper 1 Systems Microsoft Systems Team # 2 Systems Linux Team # 3 Systems Manager: Wesley Willingham 1 Collaboration SharePoint Development # 2 Collaboration Web Development # 3 Collaboration
  • 13.
  • 14.
  • 15.
  • 16.
  • 17. Folder Structure • resources • content • sitemap.js • css • images • background-image • js • jquery • spservices
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 26.
  • 28.
  • 30.
  • 32. 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