SlideShare a Scribd company logo
1 of 16
Random Tip Rotator
 Fun with XSL!




                                                       Elaine Krause
                     Software Developer, Applied Information Sciences
ABOUT ME

• Elaine Krause
• Software Engineer, Applied Information Sciences
• We’re hiring!

• Contact: elaine.krause@appliedis.com




                                                    2 | SharePoint Saturday Austin 2013
ASSEMBLE THE PARTS
BUILD THE LIST

• Site Actions -> More Options -> List -> Custom List




                                                        4 | SharePoint Saturday Austin 2013
ADD A COLUMN

• Add a Column named TipText (List Tools -> List Settings ->Create Column)
• Set it to be a multiple lines of text type column




                                                                             5 | SharePoint Saturday Austin 2013
ADD DATA
• Add a few Tips to your list:




                                 6 | SharePoint Saturday Austin 2013
• ADD THE PAGE

• In SharePoint Designer “Pages”, Add New Page and open it in design mode
• From Insert tab in Designer ribbon, choose Display Item Form




                                                             7 | SharePoint Saturday Austin 2013
CONFIGURE ITEM LIST IN PAGE

• In Display Item Form dialog, choose the new
  list




• Choose “Display item form” and uncheck
  “Show standard toolbar”
                                                8 | SharePoint Saturday Austin 2013
SHAPE HTML
•   In Design view, right click first column and choose Delete Column. Then switch to Code view to finish html
    edits




                                                                                            9 | SharePoint Saturday Austin 2013
CONFIGURE FORM IN SPD

• From ribbon, select Paging and choose Display All Items




                                                            10 | SharePoint Saturday Austin 2013
ASYNCH REFRESH

Check Asynchronous Update in ribbon to enable the Refresh Interval link. Then
select a Refresh Interval.




                                                                11 | SharePoint Saturday Austin 2013
THE FUN STUFF: XSL

• In SPD, switch to Code View tab. First, find the select:

       <xsl:for-each select=“$Rows”>


• Modify the select so that it doesn’t get all rows but rather gets only one
  random row. Do this by adding an indexer at the end of $Rows.

  <xsl:variable name=“Random” select=“ddwrt:Random(1,count($Rows))” />
  <xsl:for-each select=“$Rows[position()=$Random]”>




                                                                    12 | SharePoint Saturday Austin 2013
IT’S DONE!
VIEW THE PAGE!

• Save the page and then browse to it in the sharepoint site.

• The tip changes randomly on page refresh and by itself if the page is not
  refreshed.




                                                                  14 | SharePoint Saturday Austin 2013
PLEASE FILL OUT SESSION EVALUATIONS
               AND
     THANK YOU FOR ATTENDING!
THANKS TO OUR SPONSORS!




                          16 | SharePoint Saturday Austin 2013

More Related Content

Similar to Tip Rotator Lightning Talk

Spsatx slides (widescreen)
Spsatx slides (widescreen)Spsatx slides (widescreen)
Spsatx slides (widescreen)Ryan Dennis
 
Optimizing SharePoint 2010 for Internet sites
Optimizing SharePoint 2010 for Internet sitesOptimizing SharePoint 2010 for Internet sites
Optimizing SharePoint 2010 for Internet sitesKanwal Khipple
 
Searching for SharePoint Analytics
Searching for SharePoint AnalyticsSearching for SharePoint Analytics
Searching for SharePoint AnalyticsJeff Fried
 
Let's build an adoption centre in office 365
Let's build an adoption centre in office 365Let's build an adoption centre in office 365
Let's build an adoption centre in office 365Joanne Klein
 
Top 10 Performance Tips for making Your Public Facing SharePoint 2010 Site Fa...
Top 10 Performance Tips for making Your Public Facing SharePoint 2010 Site Fa...Top 10 Performance Tips for making Your Public Facing SharePoint 2010 Site Fa...
Top 10 Performance Tips for making Your Public Facing SharePoint 2010 Site Fa...Kanwal Khipple
 
SharePoint and the Story of the Mutant Frog
SharePoint and the Story of the Mutant FrogSharePoint and the Story of the Mutant Frog
SharePoint and the Story of the Mutant FrogThomas Duff
 
Analysis for office training
Analysis for office   trainingAnalysis for office   training
Analysis for office trainingKibrom Gebrehiwot
 
SAP Business Objects - Lopes Supermarket
SAP   Business Objects - Lopes SupermarketSAP   Business Objects - Lopes Supermarket
SAP Business Objects - Lopes SupermarketDouglas Bernardini
 
What's in a List?
What's in a List?What's in a List?
What's in a List?M Allmond
 
SharePoint 2013 Preview
SharePoint 2013 PreviewSharePoint 2013 Preview
SharePoint 2013 PreviewRegroove
 
Jornata llc sps baltimore 2012 - share point branding
Jornata llc   sps baltimore 2012 - share point brandingJornata llc   sps baltimore 2012 - share point branding
Jornata llc sps baltimore 2012 - share point brandingjcsturges
 
Top 8 things you didn’t know SharePoint could do: Turbocharging your SharePoi...
Top 8 things you didn’t know SharePoint could do: Turbocharging your SharePoi...Top 8 things you didn’t know SharePoint could do: Turbocharging your SharePoi...
Top 8 things you didn’t know SharePoint could do: Turbocharging your SharePoi...Emagination ®
 
SPS St Louis - SSRS 2012 SharePoint 2013 List Reporting
SPS St Louis -  SSRS 2012 SharePoint 2013 List ReportingSPS St Louis -  SSRS 2012 SharePoint 2013 List Reporting
SPS St Louis - SSRS 2012 SharePoint 2013 List ReportingPatrick Tucker
 
A day in the life of a SharePoint power user
A day in the life of a SharePoint power userA day in the life of a SharePoint power user
A day in the life of a SharePoint power userSerge Tremblay
 
SPSDenver - SharePoint & jQuery - What I wish I would have known
SPSDenver - SharePoint & jQuery - What I wish I would have knownSPSDenver - SharePoint & jQuery - What I wish I would have known
SPSDenver - SharePoint & jQuery - What I wish I would have knownMark Rackley
 
SPSATX Shifting the Paradigm of Requirements Gathering
SPSATX Shifting the Paradigm of Requirements GatheringSPSATX Shifting the Paradigm of Requirements Gathering
SPSATX Shifting the Paradigm of Requirements GatheringMichelle Caldwell, PSM, SSGB
 

Similar to Tip Rotator Lightning Talk (20)

Spsatx slides (widescreen)
Spsatx slides (widescreen)Spsatx slides (widescreen)
Spsatx slides (widescreen)
 
Optimizing SharePoint 2010 for Internet sites
Optimizing SharePoint 2010 for Internet sitesOptimizing SharePoint 2010 for Internet sites
Optimizing SharePoint 2010 for Internet sites
 
Searching for SharePoint Analytics
Searching for SharePoint AnalyticsSearching for SharePoint Analytics
Searching for SharePoint Analytics
 
Let's build an adoption centre in office 365
Let's build an adoption centre in office 365Let's build an adoption centre in office 365
Let's build an adoption centre in office 365
 
Top 10 Performance Tips for making Your Public Facing SharePoint 2010 Site Fa...
Top 10 Performance Tips for making Your Public Facing SharePoint 2010 Site Fa...Top 10 Performance Tips for making Your Public Facing SharePoint 2010 Site Fa...
Top 10 Performance Tips for making Your Public Facing SharePoint 2010 Site Fa...
 
Sharepoint Presentation
Sharepoint PresentationSharepoint Presentation
Sharepoint Presentation
 
SharePoint and the Story of the Mutant Frog
SharePoint and the Story of the Mutant FrogSharePoint and the Story of the Mutant Frog
SharePoint and the Story of the Mutant Frog
 
Analysis for office training
Analysis for office   trainingAnalysis for office   training
Analysis for office training
 
SAP Business Objects - Lopes Supermarket
SAP   Business Objects - Lopes SupermarketSAP   Business Objects - Lopes Supermarket
SAP Business Objects - Lopes Supermarket
 
What's in a List?
What's in a List?What's in a List?
What's in a List?
 
March spug
March spugMarch spug
March spug
 
March Spug
March SpugMarch Spug
March Spug
 
SharePoint 2013 Preview
SharePoint 2013 PreviewSharePoint 2013 Preview
SharePoint 2013 Preview
 
Jornata llc sps baltimore 2012 - share point branding
Jornata llc   sps baltimore 2012 - share point brandingJornata llc   sps baltimore 2012 - share point branding
Jornata llc sps baltimore 2012 - share point branding
 
Top 8 things you didn’t know SharePoint could do: Turbocharging your SharePoi...
Top 8 things you didn’t know SharePoint could do: Turbocharging your SharePoi...Top 8 things you didn’t know SharePoint could do: Turbocharging your SharePoi...
Top 8 things you didn’t know SharePoint could do: Turbocharging your SharePoi...
 
SPS St Louis - SSRS 2012 SharePoint 2013 List Reporting
SPS St Louis -  SSRS 2012 SharePoint 2013 List ReportingSPS St Louis -  SSRS 2012 SharePoint 2013 List Reporting
SPS St Louis - SSRS 2012 SharePoint 2013 List Reporting
 
A day in the life of a SharePoint power user
A day in the life of a SharePoint power userA day in the life of a SharePoint power user
A day in the life of a SharePoint power user
 
SPSDenver - SharePoint & jQuery - What I wish I would have known
SPSDenver - SharePoint & jQuery - What I wish I would have knownSPSDenver - SharePoint & jQuery - What I wish I would have known
SPSDenver - SharePoint & jQuery - What I wish I would have known
 
Discover SharePoint 2013
Discover SharePoint 2013Discover SharePoint 2013
Discover SharePoint 2013
 
SPSATX Shifting the Paradigm of Requirements Gathering
SPSATX Shifting the Paradigm of Requirements GatheringSPSATX Shifting the Paradigm of Requirements Gathering
SPSATX Shifting the Paradigm of Requirements Gathering
 

Recently uploaded

Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
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...apidays
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 

Recently uploaded (20)

Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
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...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 

Tip Rotator Lightning Talk

  • 1. Random Tip Rotator Fun with XSL! Elaine Krause Software Developer, Applied Information Sciences
  • 2. ABOUT ME • Elaine Krause • Software Engineer, Applied Information Sciences • We’re hiring! • Contact: elaine.krause@appliedis.com 2 | SharePoint Saturday Austin 2013
  • 4. BUILD THE LIST • Site Actions -> More Options -> List -> Custom List 4 | SharePoint Saturday Austin 2013
  • 5. ADD A COLUMN • Add a Column named TipText (List Tools -> List Settings ->Create Column) • Set it to be a multiple lines of text type column 5 | SharePoint Saturday Austin 2013
  • 6. ADD DATA • Add a few Tips to your list: 6 | SharePoint Saturday Austin 2013
  • 7. • ADD THE PAGE • In SharePoint Designer “Pages”, Add New Page and open it in design mode • From Insert tab in Designer ribbon, choose Display Item Form 7 | SharePoint Saturday Austin 2013
  • 8. CONFIGURE ITEM LIST IN PAGE • In Display Item Form dialog, choose the new list • Choose “Display item form” and uncheck “Show standard toolbar” 8 | SharePoint Saturday Austin 2013
  • 9. SHAPE HTML • In Design view, right click first column and choose Delete Column. Then switch to Code view to finish html edits 9 | SharePoint Saturday Austin 2013
  • 10. CONFIGURE FORM IN SPD • From ribbon, select Paging and choose Display All Items 10 | SharePoint Saturday Austin 2013
  • 11. ASYNCH REFRESH Check Asynchronous Update in ribbon to enable the Refresh Interval link. Then select a Refresh Interval. 11 | SharePoint Saturday Austin 2013
  • 12. THE FUN STUFF: XSL • In SPD, switch to Code View tab. First, find the select: <xsl:for-each select=“$Rows”> • Modify the select so that it doesn’t get all rows but rather gets only one random row. Do this by adding an indexer at the end of $Rows. <xsl:variable name=“Random” select=“ddwrt:Random(1,count($Rows))” /> <xsl:for-each select=“$Rows[position()=$Random]”> 12 | SharePoint Saturday Austin 2013
  • 14. VIEW THE PAGE! • Save the page and then browse to it in the sharepoint site. • The tip changes randomly on page refresh and by itself if the page is not refreshed. 14 | SharePoint Saturday Austin 2013
  • 15. PLEASE FILL OUT SESSION EVALUATIONS AND THANK YOU FOR ATTENDING!
  • 16. THANKS TO OUR SPONSORS! 16 | SharePoint Saturday Austin 2013