SlideShare une entreprise Scribd logo
1  sur  65
Tableau Partner Education

2007 © Tableau Software – All rights reserved
Tableau Embedding and Branding




                                                     Russell Christopher
                                                     Sales Consultant – OEM / Channel




2007 © Tableau Software – All rights reserved
Agenda

• Embedding: URL or JavaScript?
• Embedding and Filtering: The Basics
• Embedding and Filtering via
  Objects/JavaScript
• Fun with JavaScript
• But wait, there‟s more!


2007 © Tableau Software – All rights reserved
Demo – Frame/URL & Object Embedding



                    PowerPoint is Boring




2007 © Tableau Software – All rights reserved
Frames/URLs or Objects?



                 Thinking about which
               technique to use takes
                longer than using one


2007 © Tableau Software – All rights reserved
Frames/URLs


                            Pro                          Con
•          Host application                     •   “Manual” control
           may not support                          only
           JavaScript                           •   Can‟t control load
•          Very, very easy                          order




2007 © Tableau Software – All rights reserved
Object/JavaScript


                            Pro                         Con
•          Tableau‟s                            •   You might need
           JavaScript API                           some JavaScript
•          Control load order                       know-how
•          Easier to eyeball                    •   More verbose
•          Additional “fun
           stuff”

2007 © Tableau Software – All rights reserved
URL Embed Parameters



                                  Building Blocks




2007 © Tableau Software – All rights reserved
URL Embed Parameters

                                                • This parameter is required
                                                • Hides top navigation area
                                                • Allows VizQL to do

            :embed                                authentication
                                                • Valid value: yes
                                                • URL Parameter Only




 http://server/views/wb/sheet?:embed=yes

2007 © Tableau Software – All rights reserved
URL Embed Parameters

                                                 • Hides “Remember my
                                                   changes” option
                                                 • Valid value: no

  :customViews



http://server/views/wb/sheet?:embed=yes&:customViews=no

 2007 © Tableau Software – All rights reserved
URL Embed Parameters

                                                 • Hides “Share” option
                                                 • Valid value: yes,no


 :display_share



http://server/views/wb/sheet?:embed=yes&:display_share=no

 2007 © Tableau Software – All rights reserved
Embed Parameters

                                                 • Renders view as PDF or
                                                   Image (PNG)
                                                 • Valid values: pdf, png

                    :format                      • URL Parameter Only




http://server/views/wb/sheet?:embed=yes&:format=png

 2007 © Tableau Software – All rights reserved
Embed Parameters

                                                 • Controls how external
                                                   hyperlinks in view are
                                                   opened:
                                                 • Valid values:
             :linktarget                          • _blank
                                                  • _self




http://server/views/wb/sheet?:embed=yes&:linktarget=_blank

 2007 © Tableau Software – All rights reserved
_blank vs. _self


                                                _blank
                                                         Popup Blocker




                                                _self




2007 © Tableau Software – All rights reserved
URL Embed Parameters

                                                 • Re-renders the view
                                                 • Use to get up-to-date data in
                                                   conjunction w/ :embed

                  :refresh                       • Values: yes, no
                                                 • URL Parameter Only




http://server/views/wb/sheet?:embed=yes&:refresh=yes

 2007 © Tableau Software – All rights reserved
URL Embed Parameters

                                                 • Returns “Value” to it‟s
                                                   original state

                      :revert                    • Values:
                                                  • all : revert everything
                                                  • filters : revert filters
                                                  • sorts : reverts sorts
                                                  • axes : reverts axes
                                                  • shelves: revert shelves




http://server/views/wb/sheet?:embed=yes&:revert=axes

 2007 © Tableau Software – All rights reserved
URL Embed Parameters

                                                 • Display or hide tabs
                                                 • Values: yes, no

                          :tabs



http://server/views/wb/sheet?:embed=yes&:tabs=no

 2007 © Tableau Software – All rights reserved
URL Embed Parameters

                                                 • Display or hide the toolbar
                                                 • Values: yes, no, top

                   :toolbar



http://server/views/wb/sheet?:embed=yes&:toolbar=no

 2007 © Tableau Software – All rights reserved
URL Embed Parameters


                                           The Basics:

       “Show me sheet foo from
         workbook bar with no
           toolbar or tabs”

2007 © Tableau Software – All rights reserved
URL Embed Parameters


 http://./views/bar/foo?
 :embed=yes&:toolbar=no&
 :tabs=no*
*Is this the worst use of color you‟ve ever seen, or what?




2007 © Tableau Software – All rights reserved
URL Embed Parameters


                                            The Basics:

 “Show me sheet foo from
workbook bar rendered as an
image with un-cached data”

2007 © Tableau Software – All rights reserved
URL Embed Parameters



 http://./views/bar/foo?
 :embed=yes&:format=png&
 :refresh=yes


2007 © Tableau Software – All rights reserved
Filtering on the URL


              Dimension / Parameter
                   =Value[s]
          http://./views/wb/sheet?:embed=yes&Region=North

    http://./views/wb/sheet?:embed=yes&Region=North,West

http://./views/wb/sheet?:embed=yes&Product=3&Color=Red



2007 © Tableau Software – All rights reserved
Filtering on the URL


        Don‟t forget to encode as
                necessary
 http://./views/wb/sheet?:embed=yes&Name=Bill%20Gates




2007 © Tableau Software – All rights reserved
Filtering on the URL - Measures

                                No Ranges
                              No Greater Than
                               No Less Than
              http://./views/wb/sheet?:embed=yes&Sales=300




2007 © Tableau Software – All rights reserved
Filtering on the URL - Measures

    Consider Parameters in a
    Calculated Fields as a filter
     http://./views/wb/sheet?:embed=yes&s1=300&s2=1000

                        [Sales] >= [Parameters].[s1] AND
                        [Sales] <= [Parameters].[s2]



2007 © Tableau Software – All rights reserved
Filtering on the URL – Dates / Times


          Must be sumbitted as:
                yyyy-mm-dd hh:mm:ss
       http://./views/wb/sheet?:embed=yes&Date=2011-02-17

/views/wb/sheet?:embed=yes&Date=2011-02-17%2013:02:05


                                                 Must be 24-hour clock
                                                 format
 2007 © Tableau Software – All rights reserved
Filtering on the URL


                          Save you some
                          time reminder:
Don‟t forget the : in front of
     your parameters
2007 © Tableau Software – All rights reserved
Object Parameters



                                  Building Blocks




2007 © Tableau Software – All rights reserved
Object Parameters

                                                • (Generally) Required for
                                                  Object Parameters

                 host_url                       • Your server name
                                                • Object Parameter only




<object…>
      <parameter name= “filter”
       value=“http://foo.com” />
</object>


2007 © Tableau Software – All rights reserved
Object Parameters

                                                • Required for Object
                                                  Parameters

               site_root                        • Defines name of site to
                                                  communicate with
                                                • Default site value = zero
                                                  length string
                                                • Object Parameter only
<object…>
      <parameter name= “site_root” value=“” />
</object>



2007 © Tableau Software – All rights reserved
Object Parameters

                                                • Required for Object
                                                  Parameters

                       name                     • Defines workbook & sheet
                                                  name to be viewed
                                                • Can point to a custom view
                                                  (username@domain/[viewna
                                                  me]
                                                • Object Parameter only
<object…>
      <parameter name= “name”
       value=“WorkbookName/SheetName” />
</object>


2007 © Tableau Software – All rights reserved
Object Parameters

                                                • Controls embedded <object>
                                                  view rendering order when

           load-order                             multiple <objects> exist in
                                                  the same page
                                                • Valid values – number
                                                • Object Parameter only


<object…>
      <parameter name= “load-order” value=“4” />
</object>



2007 © Tableau Software – All rights reserved
Object Parameters

                                                • Shows or hides tabs
                                                • Valid values: yes, no

                          tabs

<object…>
      <parameter name= “tabs” value=“yes” />
</object>



2007 © Tableau Software – All rights reserved
Object Parameters

                                                • Show or hide the toolbar
                                                • Valid values: yes, no, top

                   toolbar

<object…>
      <parameter name= “toolbar” value=“no” />
</object>



2007 © Tableau Software – All rights reserved
What does this do?
<html>
<head/>
<body>
<script type="text/javascript"
src="http://public.tableausoftware.com/javascripts/api/viz_v1.js"></script>
<div class="tableauPlaceholder" id="tableauPlaceholder" style="width:654px;
height:1469px; top: 0px; left: 0px; width: 100%; margin-left: 76px;">
   <object class="tableauViz" width="654" height="1469">
     <param name="host_url" value="http://public.tableausoftware.com/"/>
     <param name="site_root" value="" />
     <param name="name" value="AnalyticsIncJavaScript/AnalyticsInc" />
     <param name="tabs" value="no" />
     <param name="toolbar" value=“yes" />
</object>
</div>
</body>
</html>
 2007 © Tableau Software – All rights reserved
Object Parameters



                                                Basic +




2007 © Tableau Software – All rights reserved
Object Parameters

                                                • Hides “Remember my
                                                  changes” option

   customViews                                  • Valid value: no




<object…>
      <parameter name= “customViews” value=“no” />
</object>



2007 © Tableau Software – All rights reserved
Object Parameters

                                                • Hides “Share” option
                                                • Valid value: yes, no

 display_share

<object…>
      <parameter name= “display_share” value=“no” />
</object>



2007 © Tableau Software – All rights reserved
Object Parameters

                                                • Controls how external
                                                  hyperlinks in view are

              linktarget                          opened
                                                • Valid values:
                                                 • _blank
                                                 • _self


<object…>
      <parameter name= “linktarget”
       value=“_self” />
</object>


2007 © Tableau Software – All rights reserved
Object Parameters

                                                • Specifies the trusted ticket to
                                                  present to Tableau Server

                        ticket                  • Cannot be used with path
                                                  parameter
                                                • Must be used with name
                                                  parameter
                                                • Valid value: a number
                                                • Object Parameter only
<object…>
      <parameter name= “ticket” value=“987651124” />
</object>


2007 © Tableau Software – All rights reserved
Object Parameters

                                                • Only to be use with trusted
                                                  authentication

                          path                  • Overrides name parameter
                                                • Can‟t be used with ticket
                                                  parameter
                                                • Can also include site
                                                  information
                                                • Object Parameter only
<object…>
      <parameter name= “path”
       value=“trusted/123456789/views/wb/sheet”/>
</object>


2007 © Tableau Software – All rights reserved
Object Parameters

                                                • Filters view
                                                • Filter by string, numbers,

                          filter                  datetime, measure values
                                                • Object Parameter only




<object…>
      <parameter name= “filter” value=“Region=East,West” />
</object>



2007 © Tableau Software – All rights reserved
Filtering an Object
<html>
<head/>
<body>
<script type="text/javascript" src="http://public.tableausoftware.com/javascripts/api/viz_v1.js"></script>
<div class="tableauPlaceholder" id="tableauPlaceholder" style="width:654px; height:1469px; top: 0px; left:
0px; width: 100%; margin-left: 76px;">
  <object class="tableauViz" width="654" height="1469">
     <param name="host_url" value="http://public.tableausoftware.com/"/>
     <param name="site_root" value="" />
     <param name="name" value="AnalyticsIncJavaScript/AnalyticsInc" />
     <param name="tabs" value="no" />
     <param name="toolbar" value="no" />
     <param name="filter" value ="ClientName=Big%20Air%20Domestic,Big%20Air%20International"/>
  </object>
</div>
</body>
</html>




 2007 © Tableau Software – All rights reserved
Filtering an Object - Measures

    Consider Parameters in a
    Calculated Fields as a filter
     http://./views/wb/sheet?:embed=yes&s1=300&s2=1000

                        [Sales] >= [Parameters].[s1] AND
                        [Sales] <= [Parameters].[s2]



2007 © Tableau Software – All rights reserved
Filtering an Object - Measures
<html>
<head/>
<body>
<script type="text/javascript" src="http://public.tableausoftware.com/javascripts/api/viz_v1.js"></script>
<div class="tableauPlaceholder" id="tableauPlaceholder" style="width:654px; height:1469px; top: 0px; left:
0px; width: 100%; margin-left: 76px;">
  <object class="tableauViz" width="654" height="1469">
     <param name="host_url" value="http://public.tableausoftware.com/"/>
     <param name="site_root" value="" />
     <param name="name" value="AnalyticsIncJavaScript/AnalyticsInc" />
     <param name="tabs" value="no" />
     <param name="toolbar" value="no" />
     <param name="filter" value ="ClientName=Big%20Air%20Domestic,Big%20Air%20International"/>
     <param name="filter" value =“s1=300"/>
     <param name="filter" value =“s2=310"/>
  </object>
</div>
</body>
</html>




 2007 © Tableau Software – All rights reserved
Filtering an Object – Date / Time
<html>
<head/>
<body>
<script type="text/javascript" src="http://public.tableausoftware.com/javascripts/api/viz_v1.js"></script>
<div class="tableauPlaceholder" id="tableauPlaceholder" style="width:654px; height:1469px; top: 0px; left:
0px; width: 100%; margin-left: 76px;">
  <object class="tableauViz" width="654" height="1469">
     <param name="host_url" value="http://public.tableausoftware.com/"/>
     <param name="site_root" value="" />
     <param name="name" value="AnalyticsIncJavaScript/AnalyticsInc" />
     <param name="tabs" value="no" />
     <param name="toolbar" value="no" />
     <param name="filter" value ="ClientName=Big%20Air%20Domestic,Big%20Air%20International"/>
     <param name="filter" value ="BeginDate=2009-01-01"/>
     <param name="filter" value ="EndDate=2009-05-01%2015:00:00"/>
</object>
</div>
</body>
</html>                                                          Must be 24-hour clock format


 2007 © Tableau Software – All rights reserved
JavaScript



                                JavaScript fun!!!




2007 © Tableau Software – All rights reserved
JavaScript and the URL



       Use JavaScript to re-write
       the URL on your iframe‟s
              .Location


2007 © Tableau Software – All rights reserved
JavaScript and the URL
<html>
<head/>

        <body>
             <script>

                 function HideToolbar()
                 {
                        window.f1.location="http://server/views/WB/S?:embed=y&:toolbar=no";
                 }

                 </script>

        <div>
                 <input type="button" id="Button1" value="Click to hide Toolbar" onclick="HideToolbar()" />
        </div>

        <iframe name=“f1”
               src="http://server/views/WB/S?:embed=y">
        </iframe>

        </body>


</html>Tableau Software – All rights reserved
  2007 ©
JavaScript and the URL
<html>
<head/>

        <body>
             <script>

                 function FilterMe()
                 {
                        window.f1.location="http://server/views/WB/S?:embed=y&ClientName=EuroRail";
                 }

                 </script>

        <div>
                 <input type="button" id="Button1" value="Click to hide Toolbar" onclick=“FilterMe()" />
        </div>

        <iframe name=“f1”
               src="http://server/views/WB/S?:embed=y">
        </iframe>

        </body>


</html>Tableau Software – All rights reserved
  2007 ©
This isn’t a JavaScript class, but….



     Cross-frame scripting
   operations are restricted by
      “Same Origin Policy”


2007 © Tableau Software – All rights reserved
JavaScript and the Object



       Use the JavaScript API to
          manipulate the viz



2007 © Tableau Software – All rights reserved
JavaScript and the Object

                                                refresh()
                                                 revert()
                                                 show()
                                                  hide()
                                                  filter()
2007 © Tableau Software – All rights reserved
JavaScript and the Object
<html>
<head/>
<body>
<script type="text/javascript" src="http://tableau.russellchristopher.org/javascripts/api/viz_v1.js"></script>
<div>
          <input type="button" id="Button1" value="Show Viz" onclick="ShowHideViz('Show')" />
          <input type="button" id="Button2" value="Hide Viz" onclick="ShowHideViz('Hide')" />
</div>
<div class="tableauPlaceholder" id="tableauPlaceholder" style="width:654px; height:1469px; top: 0px; left: 0px; width: 100%; margin-left: 76px;">
.
</div>
<script>
       function ShowHideViz( WhatToDo ){
              var viz = window.tableau.vizs[0];
              if( WhatToDo ==="Show")
              {
                    viz.show();
              }
              else
              {
                    viz.hide();
              }
       }
</script>
</body>
</html>
  2007 © Tableau Software – All rights reserved
JavaScript and the Object
<html>
<head/>
<body>
<script type="text/javascript" src="http://tableau.russellchristopher.org/javascripts/api/viz_v1.js"></script>
<div>
       <input type="button" id="Button1" value=“Refresh" onclick="RefreshRevert(„Refresh')" />
       <input type="button" id="Button2" value=“Revert" onclick=“RefreshRevert(„Revert')" />
</div>
<div class="tableauPlaceholder" id="tableauPlaceholder" style="width:654px; height:1469px; top: 0px; left: 0px; width: 100%; margin-left: 76px;">
.
</div>
<script>
       function RefreshRevert( WhatToDo ){
              var viz = window.tableau.vizs[0];
              if( WhatToDo ===“Refresh")
              {
                      viz.refresh();
              }
              else
              {
                      viz.revert();
              }
       }
</script>
</body>
</html>Tableau Software – All rights reserved
  2007 ©
JavaScript and the Object
<html>
<head/>
<body>
<script type="text/javascript" src="http://tableau.russellchristopher.org/javascripts/api/viz_v1.js"></script>
<div>

                 <input type="button" id="Button1" value="EuroRail Only" onclick="FilterStuff('EuroRail')" />
                 <input type="button" id="Button2" value="All Railroads" onclick="FilterStuff('All')" />
</div>
<div class="tableauPlaceholder" id="tableauPlaceholder" style="width:654px; height:1469px; top: 0px; left: 0px; width: 100%; margin-left: 76px;">
.
</div>
<script>
         function FilterStuff ( WhatToDo ){
                var viz = window.tableau.vizs[0];
                var myFilter = {}; //same as "new Object()"
                myFilter["Client_Name"] = []; //same as "new Array()"
                  if(WhatToDo==="EuroRail") {
                        myFilter["Client_Name"].push('EuroRail');
                }
                else
                {
                        myFilter["Client_Name"].push('EuroRail');
                        myFilter["Client_Name"].push('US Rail');
                }
                viz.filter(myFilter);
         }
</script>
</body>© Tableau Software – All rights reserved
   2007
</html>
Other Goodness


Turn Share Off
   Globally

tabadmin set vizqlserver.showshare false


2007 © Tableau Software – All rights reserved
Other Goodness

        Turn
        Download
        Off
        Globally
tabadmin set vizqlserver.showdownload false

2007 © Tableau Software – All rights reserved
Change Server Logo & Login Text:

        Change
        Logo &
        Login Text

tabadmin customize name “Generic Company”
tabadmin customize logo “c:mylogo.gif”
2007 © Tableau Software – All rights reserved
Other Goodness - Undocumented


               Additional object
           parameters were built for
                Tableau Public



2007 © Tableau Software – All rights reserved
Other Goodness - Undocumented


             Many of these work in
            “normal” Tableau Server




2007 © Tableau Software – All rights reserved
Other Goodness - Undocumented



                     Use at your own risk!




2007 © Tableau Software – All rights reserved
Other Goodness - Undocumented

                                   static_image
                              display_static_image
                               animate_transition
                                 display_overlay
                                 display_spinner


2007 © Tableau Software – All rights reserved
QA / Other?




2007 © Tableau Software – All rights reserved

Contenu connexe

Tendances

Data Visualization With Tableau | Edureka
Data Visualization With Tableau | EdurekaData Visualization With Tableau | Edureka
Data Visualization With Tableau | EdurekaEdureka!
 
Tableau Tutorial For Beginners | Tableau Training For Beginners | Tableau Cer...
Tableau Tutorial For Beginners | Tableau Training For Beginners | Tableau Cer...Tableau Tutorial For Beginners | Tableau Training For Beginners | Tableau Cer...
Tableau Tutorial For Beginners | Tableau Training For Beginners | Tableau Cer...Edureka!
 
Power BI Desktop | Power BI Tutorial | Power BI Training | Edureka
Power BI Desktop | Power BI Tutorial | Power BI Training | EdurekaPower BI Desktop | Power BI Tutorial | Power BI Training | Edureka
Power BI Desktop | Power BI Tutorial | Power BI Training | EdurekaEdureka!
 
Power BI Made Simple
Power BI Made SimplePower BI Made Simple
Power BI Made SimpleJames Serra
 
Working with Microsoft Power Business Inteligence Tools - Presented by Atidan
Working with Microsoft Power Business Inteligence Tools - Presented by AtidanWorking with Microsoft Power Business Inteligence Tools - Presented by Atidan
Working with Microsoft Power Business Inteligence Tools - Presented by AtidanDavid J Rosenthal
 
Microsoft Power BI Overview
Microsoft Power BI OverviewMicrosoft Power BI Overview
Microsoft Power BI OverviewNetwoven Inc.
 
Power BI vs Tableau
Power BI vs TableauPower BI vs Tableau
Power BI vs TableauDon Hyun
 
Oracle WebLogic Server Basic Concepts
Oracle WebLogic Server Basic ConceptsOracle WebLogic Server Basic Concepts
Oracle WebLogic Server Basic ConceptsJames Bayer
 
Power BI Overview
Power BI OverviewPower BI Overview
Power BI OverviewJames Serra
 
Tableau presentation
Tableau presentationTableau presentation
Tableau presentationkt166212
 
Introduction to Power BI and Data Visualization
Introduction to Power BI and Data VisualizationIntroduction to Power BI and Data Visualization
Introduction to Power BI and Data VisualizationSwapnil Jadhav
 

Tendances (20)

Data Visualization With Tableau | Edureka
Data Visualization With Tableau | EdurekaData Visualization With Tableau | Edureka
Data Visualization With Tableau | Edureka
 
Tableau
TableauTableau
Tableau
 
Tableau Tutorial For Beginners | Tableau Training For Beginners | Tableau Cer...
Tableau Tutorial For Beginners | Tableau Training For Beginners | Tableau Cer...Tableau Tutorial For Beginners | Tableau Training For Beginners | Tableau Cer...
Tableau Tutorial For Beginners | Tableau Training For Beginners | Tableau Cer...
 
Data Visualization with Tableau - by Knowledgebee Trainings
Data Visualization with Tableau - by Knowledgebee TrainingsData Visualization with Tableau - by Knowledgebee Trainings
Data Visualization with Tableau - by Knowledgebee Trainings
 
Power BI Desktop | Power BI Tutorial | Power BI Training | Edureka
Power BI Desktop | Power BI Tutorial | Power BI Training | EdurekaPower BI Desktop | Power BI Tutorial | Power BI Training | Edureka
Power BI Desktop | Power BI Tutorial | Power BI Training | Edureka
 
Power BI Made Simple
Power BI Made SimplePower BI Made Simple
Power BI Made Simple
 
Introduction to Tableau
Introduction to Tableau Introduction to Tableau
Introduction to Tableau
 
Power BI Overview
Power BI OverviewPower BI Overview
Power BI Overview
 
Working with Microsoft Power Business Inteligence Tools - Presented by Atidan
Working with Microsoft Power Business Inteligence Tools - Presented by AtidanWorking with Microsoft Power Business Inteligence Tools - Presented by Atidan
Working with Microsoft Power Business Inteligence Tools - Presented by Atidan
 
Microsoft Power BI Overview
Microsoft Power BI OverviewMicrosoft Power BI Overview
Microsoft Power BI Overview
 
Power BI vs Tableau
Power BI vs TableauPower BI vs Tableau
Power BI vs Tableau
 
Oracle WebLogic Server Basic Concepts
Oracle WebLogic Server Basic ConceptsOracle WebLogic Server Basic Concepts
Oracle WebLogic Server Basic Concepts
 
Power bi overview
Power bi overview Power bi overview
Power bi overview
 
Power BI Overview
Power BI OverviewPower BI Overview
Power BI Overview
 
Tableau presentation
Tableau presentationTableau presentation
Tableau presentation
 
Tableau Server Basics
Tableau Server BasicsTableau Server Basics
Tableau Server Basics
 
Introduction to Power BI
Introduction to Power BIIntroduction to Power BI
Introduction to Power BI
 
Power BI
Power BIPower BI
Power BI
 
Tableau
TableauTableau
Tableau
 
Introduction to Power BI and Data Visualization
Introduction to Power BI and Data VisualizationIntroduction to Power BI and Data Visualization
Introduction to Power BI and Data Visualization
 

Similaire à Embedding with Tableau Server

Best Practices for Users - Connecting Tableau to OBIEE with BI Connector
Best Practices for Users - Connecting Tableau to OBIEE with BI ConnectorBest Practices for Users - Connecting Tableau to OBIEE with BI Connector
Best Practices for Users - Connecting Tableau to OBIEE with BI ConnectorBI Connector
 
Global Azure Bootcamp 2017 at Betabit Utrecht
Global Azure Bootcamp 2017 at Betabit UtrechtGlobal Azure Bootcamp 2017 at Betabit Utrecht
Global Azure Bootcamp 2017 at Betabit UtrechtDaniël te Winkel
 
Best Practices for IT - Integrating Tableau to OBIEE with BI Connector
Best Practices for IT - Integrating Tableau to OBIEE with BI ConnectorBest Practices for IT - Integrating Tableau to OBIEE with BI Connector
Best Practices for IT - Integrating Tableau to OBIEE with BI ConnectorBI Connector
 
D41 - Web 2.0 Protocols.ppt
D41 - Web 2.0 Protocols.pptD41 - Web 2.0 Protocols.ppt
D41 - Web 2.0 Protocols.pptMatthew Perrins
 
SharePoint Saturday Belgium 2014 - Best Practices for Configuring the ShareP...
SharePoint Saturday Belgium 2014 -  Best Practices for Configuring the ShareP...SharePoint Saturday Belgium 2014 -  Best Practices for Configuring the ShareP...
SharePoint Saturday Belgium 2014 - Best Practices for Configuring the ShareP...BIWUG
 
SharePoint 2010 Upgrade Strategies and Best Practices - MS Days Bulgaria - Jo...
SharePoint 2010 Upgrade Strategies and Best Practices - MS Days Bulgaria - Jo...SharePoint 2010 Upgrade Strategies and Best Practices - MS Days Bulgaria - Jo...
SharePoint 2010 Upgrade Strategies and Best Practices - MS Days Bulgaria - Jo...Joel Oleson
 
Migration und ihre Tücken – Welche Anpassungen gibt es?
Migration und ihre Tücken – Welche Anpassungen gibt es?Migration und ihre Tücken – Welche Anpassungen gibt es?
Migration und ihre Tücken – Welche Anpassungen gibt es?Dennis Hobmaier
 
#SPSBrussels 2017 vincent biret #azure #functions microsoft #flow
#SPSBrussels 2017 vincent biret #azure #functions microsoft #flow#SPSBrussels 2017 vincent biret #azure #functions microsoft #flow
#SPSBrussels 2017 vincent biret #azure #functions microsoft #flowVincent Biret
 
Introduction to Microsoft Flow and Azure Functions
Introduction to Microsoft Flow and Azure FunctionsIntroduction to Microsoft Flow and Azure Functions
Introduction to Microsoft Flow and Azure FunctionsBIWUG
 
Migration und ihre Tücken @ShareConf
Migration und ihre Tücken @ShareConfMigration und ihre Tücken @ShareConf
Migration und ihre Tücken @ShareConfDennis Hobmaier
 
Web frameworks don't matter
Web frameworks don't matterWeb frameworks don't matter
Web frameworks don't matterTomas Doran
 
SUG Bangalore - Overview of Sitecore Experience Accelerator with Pratik Satik...
SUG Bangalore - Overview of Sitecore Experience Accelerator with Pratik Satik...SUG Bangalore - Overview of Sitecore Experience Accelerator with Pratik Satik...
SUG Bangalore - Overview of Sitecore Experience Accelerator with Pratik Satik...Anindita Bhattacharya
 
Provisioning Azure Virtual Machines to run SQL Server
Provisioning Azure Virtual Machines to run SQL ServerProvisioning Azure Virtual Machines to run SQL Server
Provisioning Azure Virtual Machines to run SQL ServerAmit Banerjee
 
OOW15 - personalize and extend oracle ebs for desktops and tablets
OOW15 - personalize and extend oracle ebs for desktops and tabletsOOW15 - personalize and extend oracle ebs for desktops and tablets
OOW15 - personalize and extend oracle ebs for desktops and tabletsvasuballa
 
A deep dive session on Tableau
A deep dive session on TableauA deep dive session on Tableau
A deep dive session on TableauVisual_BI
 
Postgres Foreign Data Wrappers
Postgres Foreign Data Wrappers  Postgres Foreign Data Wrappers
Postgres Foreign Data Wrappers EDB
 
[db tech showcase Tokyo 2016] E34: Oracle SE - RAC, HA and Standby are Still ...
[db tech showcase Tokyo 2016] E34: Oracle SE - RAC, HA and Standby are Still ...[db tech showcase Tokyo 2016] E34: Oracle SE - RAC, HA and Standby are Still ...
[db tech showcase Tokyo 2016] E34: Oracle SE - RAC, HA and Standby are Still ...Insight Technology, Inc.
 
Advanced EPUB creation for iPad with Adobe InDesign CC - Digital Book World 2014
Advanced EPUB creation for iPad with Adobe InDesign CC - Digital Book World 2014Advanced EPUB creation for iPad with Adobe InDesign CC - Digital Book World 2014
Advanced EPUB creation for iPad with Adobe InDesign CC - Digital Book World 2014DouglasWaterfall
 

Similaire à Embedding with Tableau Server (20)

Best Practices for Users - Connecting Tableau to OBIEE with BI Connector
Best Practices for Users - Connecting Tableau to OBIEE with BI ConnectorBest Practices for Users - Connecting Tableau to OBIEE with BI Connector
Best Practices for Users - Connecting Tableau to OBIEE with BI Connector
 
Global Azure Bootcamp 2017 at Betabit Utrecht
Global Azure Bootcamp 2017 at Betabit UtrechtGlobal Azure Bootcamp 2017 at Betabit Utrecht
Global Azure Bootcamp 2017 at Betabit Utrecht
 
Best Practices for IT - Integrating Tableau to OBIEE with BI Connector
Best Practices for IT - Integrating Tableau to OBIEE with BI ConnectorBest Practices for IT - Integrating Tableau to OBIEE with BI Connector
Best Practices for IT - Integrating Tableau to OBIEE with BI Connector
 
D41 - Web 2.0 Protocols.ppt
D41 - Web 2.0 Protocols.pptD41 - Web 2.0 Protocols.ppt
D41 - Web 2.0 Protocols.ppt
 
SharePoint Saturday Belgium 2014 - Best Practices for Configuring the ShareP...
SharePoint Saturday Belgium 2014 -  Best Practices for Configuring the ShareP...SharePoint Saturday Belgium 2014 -  Best Practices for Configuring the ShareP...
SharePoint Saturday Belgium 2014 - Best Practices for Configuring the ShareP...
 
SharePoint 2010 Upgrade Strategies and Best Practices - MS Days Bulgaria - Jo...
SharePoint 2010 Upgrade Strategies and Best Practices - MS Days Bulgaria - Jo...SharePoint 2010 Upgrade Strategies and Best Practices - MS Days Bulgaria - Jo...
SharePoint 2010 Upgrade Strategies and Best Practices - MS Days Bulgaria - Jo...
 
Migration und ihre Tücken – Welche Anpassungen gibt es?
Migration und ihre Tücken – Welche Anpassungen gibt es?Migration und ihre Tücken – Welche Anpassungen gibt es?
Migration und ihre Tücken – Welche Anpassungen gibt es?
 
SQL Server on AWS
SQL Server on AWSSQL Server on AWS
SQL Server on AWS
 
#SPSBrussels 2017 vincent biret #azure #functions microsoft #flow
#SPSBrussels 2017 vincent biret #azure #functions microsoft #flow#SPSBrussels 2017 vincent biret #azure #functions microsoft #flow
#SPSBrussels 2017 vincent biret #azure #functions microsoft #flow
 
Introduction to Microsoft Flow and Azure Functions
Introduction to Microsoft Flow and Azure FunctionsIntroduction to Microsoft Flow and Azure Functions
Introduction to Microsoft Flow and Azure Functions
 
Migration und ihre Tücken @ShareConf
Migration und ihre Tücken @ShareConfMigration und ihre Tücken @ShareConf
Migration und ihre Tücken @ShareConf
 
Web frameworks don't matter
Web frameworks don't matterWeb frameworks don't matter
Web frameworks don't matter
 
SUG Bangalore - Overview of Sitecore Experience Accelerator with Pratik Satik...
SUG Bangalore - Overview of Sitecore Experience Accelerator with Pratik Satik...SUG Bangalore - Overview of Sitecore Experience Accelerator with Pratik Satik...
SUG Bangalore - Overview of Sitecore Experience Accelerator with Pratik Satik...
 
Provisioning Azure Virtual Machines to run SQL Server
Provisioning Azure Virtual Machines to run SQL ServerProvisioning Azure Virtual Machines to run SQL Server
Provisioning Azure Virtual Machines to run SQL Server
 
OOW15 - personalize and extend oracle ebs for desktops and tablets
OOW15 - personalize and extend oracle ebs for desktops and tabletsOOW15 - personalize and extend oracle ebs for desktops and tablets
OOW15 - personalize and extend oracle ebs for desktops and tablets
 
A deep dive session on Tableau
A deep dive session on TableauA deep dive session on Tableau
A deep dive session on Tableau
 
Siebel server cloning
Siebel server cloningSiebel server cloning
Siebel server cloning
 
Postgres Foreign Data Wrappers
Postgres Foreign Data Wrappers  Postgres Foreign Data Wrappers
Postgres Foreign Data Wrappers
 
[db tech showcase Tokyo 2016] E34: Oracle SE - RAC, HA and Standby are Still ...
[db tech showcase Tokyo 2016] E34: Oracle SE - RAC, HA and Standby are Still ...[db tech showcase Tokyo 2016] E34: Oracle SE - RAC, HA and Standby are Still ...
[db tech showcase Tokyo 2016] E34: Oracle SE - RAC, HA and Standby are Still ...
 
Advanced EPUB creation for iPad with Adobe InDesign CC - Digital Book World 2014
Advanced EPUB creation for iPad with Adobe InDesign CC - Digital Book World 2014Advanced EPUB creation for iPad with Adobe InDesign CC - Digital Book World 2014
Advanced EPUB creation for iPad with Adobe InDesign CC - Digital Book World 2014
 

Dernier

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
 
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
 
🐬 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
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
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
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
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
 
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
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
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
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
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
 
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.pdfsudhanshuwaghmare1
 
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
 
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
 

Dernier (20)

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...
 
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...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
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
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
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
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
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
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
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
 
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
 
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
 
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
 

Embedding with Tableau Server

  • 1. Tableau Partner Education 2007 © Tableau Software – All rights reserved
  • 2. Tableau Embedding and Branding Russell Christopher Sales Consultant – OEM / Channel 2007 © Tableau Software – All rights reserved
  • 3. Agenda • Embedding: URL or JavaScript? • Embedding and Filtering: The Basics • Embedding and Filtering via Objects/JavaScript • Fun with JavaScript • But wait, there‟s more! 2007 © Tableau Software – All rights reserved
  • 4. Demo – Frame/URL & Object Embedding PowerPoint is Boring 2007 © Tableau Software – All rights reserved
  • 5. Frames/URLs or Objects? Thinking about which technique to use takes longer than using one 2007 © Tableau Software – All rights reserved
  • 6. Frames/URLs Pro Con • Host application • “Manual” control may not support only JavaScript • Can‟t control load • Very, very easy order 2007 © Tableau Software – All rights reserved
  • 7. Object/JavaScript Pro Con • Tableau‟s • You might need JavaScript API some JavaScript • Control load order know-how • Easier to eyeball • More verbose • Additional “fun stuff” 2007 © Tableau Software – All rights reserved
  • 8. URL Embed Parameters Building Blocks 2007 © Tableau Software – All rights reserved
  • 9. URL Embed Parameters • This parameter is required • Hides top navigation area • Allows VizQL to do :embed authentication • Valid value: yes • URL Parameter Only http://server/views/wb/sheet?:embed=yes 2007 © Tableau Software – All rights reserved
  • 10. URL Embed Parameters • Hides “Remember my changes” option • Valid value: no :customViews http://server/views/wb/sheet?:embed=yes&:customViews=no 2007 © Tableau Software – All rights reserved
  • 11. URL Embed Parameters • Hides “Share” option • Valid value: yes,no :display_share http://server/views/wb/sheet?:embed=yes&:display_share=no 2007 © Tableau Software – All rights reserved
  • 12. Embed Parameters • Renders view as PDF or Image (PNG) • Valid values: pdf, png :format • URL Parameter Only http://server/views/wb/sheet?:embed=yes&:format=png 2007 © Tableau Software – All rights reserved
  • 13. Embed Parameters • Controls how external hyperlinks in view are opened: • Valid values: :linktarget • _blank • _self http://server/views/wb/sheet?:embed=yes&:linktarget=_blank 2007 © Tableau Software – All rights reserved
  • 14. _blank vs. _self _blank Popup Blocker _self 2007 © Tableau Software – All rights reserved
  • 15. URL Embed Parameters • Re-renders the view • Use to get up-to-date data in conjunction w/ :embed :refresh • Values: yes, no • URL Parameter Only http://server/views/wb/sheet?:embed=yes&:refresh=yes 2007 © Tableau Software – All rights reserved
  • 16. URL Embed Parameters • Returns “Value” to it‟s original state :revert • Values: • all : revert everything • filters : revert filters • sorts : reverts sorts • axes : reverts axes • shelves: revert shelves http://server/views/wb/sheet?:embed=yes&:revert=axes 2007 © Tableau Software – All rights reserved
  • 17. URL Embed Parameters • Display or hide tabs • Values: yes, no :tabs http://server/views/wb/sheet?:embed=yes&:tabs=no 2007 © Tableau Software – All rights reserved
  • 18. URL Embed Parameters • Display or hide the toolbar • Values: yes, no, top :toolbar http://server/views/wb/sheet?:embed=yes&:toolbar=no 2007 © Tableau Software – All rights reserved
  • 19. URL Embed Parameters The Basics: “Show me sheet foo from workbook bar with no toolbar or tabs” 2007 © Tableau Software – All rights reserved
  • 20. URL Embed Parameters http://./views/bar/foo? :embed=yes&:toolbar=no& :tabs=no* *Is this the worst use of color you‟ve ever seen, or what? 2007 © Tableau Software – All rights reserved
  • 21. URL Embed Parameters The Basics: “Show me sheet foo from workbook bar rendered as an image with un-cached data” 2007 © Tableau Software – All rights reserved
  • 22. URL Embed Parameters http://./views/bar/foo? :embed=yes&:format=png& :refresh=yes 2007 © Tableau Software – All rights reserved
  • 23. Filtering on the URL Dimension / Parameter =Value[s] http://./views/wb/sheet?:embed=yes&Region=North http://./views/wb/sheet?:embed=yes&Region=North,West http://./views/wb/sheet?:embed=yes&Product=3&Color=Red 2007 © Tableau Software – All rights reserved
  • 24. Filtering on the URL Don‟t forget to encode as necessary http://./views/wb/sheet?:embed=yes&Name=Bill%20Gates 2007 © Tableau Software – All rights reserved
  • 25. Filtering on the URL - Measures No Ranges No Greater Than No Less Than http://./views/wb/sheet?:embed=yes&Sales=300 2007 © Tableau Software – All rights reserved
  • 26. Filtering on the URL - Measures Consider Parameters in a Calculated Fields as a filter http://./views/wb/sheet?:embed=yes&s1=300&s2=1000 [Sales] >= [Parameters].[s1] AND [Sales] <= [Parameters].[s2] 2007 © Tableau Software – All rights reserved
  • 27. Filtering on the URL – Dates / Times Must be sumbitted as: yyyy-mm-dd hh:mm:ss http://./views/wb/sheet?:embed=yes&Date=2011-02-17 /views/wb/sheet?:embed=yes&Date=2011-02-17%2013:02:05 Must be 24-hour clock format 2007 © Tableau Software – All rights reserved
  • 28. Filtering on the URL Save you some time reminder: Don‟t forget the : in front of your parameters 2007 © Tableau Software – All rights reserved
  • 29. Object Parameters Building Blocks 2007 © Tableau Software – All rights reserved
  • 30. Object Parameters • (Generally) Required for Object Parameters host_url • Your server name • Object Parameter only <object…> <parameter name= “filter” value=“http://foo.com” /> </object> 2007 © Tableau Software – All rights reserved
  • 31. Object Parameters • Required for Object Parameters site_root • Defines name of site to communicate with • Default site value = zero length string • Object Parameter only <object…> <parameter name= “site_root” value=“” /> </object> 2007 © Tableau Software – All rights reserved
  • 32. Object Parameters • Required for Object Parameters name • Defines workbook & sheet name to be viewed • Can point to a custom view (username@domain/[viewna me] • Object Parameter only <object…> <parameter name= “name” value=“WorkbookName/SheetName” /> </object> 2007 © Tableau Software – All rights reserved
  • 33. Object Parameters • Controls embedded <object> view rendering order when load-order multiple <objects> exist in the same page • Valid values – number • Object Parameter only <object…> <parameter name= “load-order” value=“4” /> </object> 2007 © Tableau Software – All rights reserved
  • 34. Object Parameters • Shows or hides tabs • Valid values: yes, no tabs <object…> <parameter name= “tabs” value=“yes” /> </object> 2007 © Tableau Software – All rights reserved
  • 35. Object Parameters • Show or hide the toolbar • Valid values: yes, no, top toolbar <object…> <parameter name= “toolbar” value=“no” /> </object> 2007 © Tableau Software – All rights reserved
  • 36. What does this do? <html> <head/> <body> <script type="text/javascript" src="http://public.tableausoftware.com/javascripts/api/viz_v1.js"></script> <div class="tableauPlaceholder" id="tableauPlaceholder" style="width:654px; height:1469px; top: 0px; left: 0px; width: 100%; margin-left: 76px;"> <object class="tableauViz" width="654" height="1469"> <param name="host_url" value="http://public.tableausoftware.com/"/> <param name="site_root" value="" /> <param name="name" value="AnalyticsIncJavaScript/AnalyticsInc" /> <param name="tabs" value="no" /> <param name="toolbar" value=“yes" /> </object> </div> </body> </html> 2007 © Tableau Software – All rights reserved
  • 37. Object Parameters Basic + 2007 © Tableau Software – All rights reserved
  • 38. Object Parameters • Hides “Remember my changes” option customViews • Valid value: no <object…> <parameter name= “customViews” value=“no” /> </object> 2007 © Tableau Software – All rights reserved
  • 39. Object Parameters • Hides “Share” option • Valid value: yes, no display_share <object…> <parameter name= “display_share” value=“no” /> </object> 2007 © Tableau Software – All rights reserved
  • 40. Object Parameters • Controls how external hyperlinks in view are linktarget opened • Valid values: • _blank • _self <object…> <parameter name= “linktarget” value=“_self” /> </object> 2007 © Tableau Software – All rights reserved
  • 41. Object Parameters • Specifies the trusted ticket to present to Tableau Server ticket • Cannot be used with path parameter • Must be used with name parameter • Valid value: a number • Object Parameter only <object…> <parameter name= “ticket” value=“987651124” /> </object> 2007 © Tableau Software – All rights reserved
  • 42. Object Parameters • Only to be use with trusted authentication path • Overrides name parameter • Can‟t be used with ticket parameter • Can also include site information • Object Parameter only <object…> <parameter name= “path” value=“trusted/123456789/views/wb/sheet”/> </object> 2007 © Tableau Software – All rights reserved
  • 43. Object Parameters • Filters view • Filter by string, numbers, filter datetime, measure values • Object Parameter only <object…> <parameter name= “filter” value=“Region=East,West” /> </object> 2007 © Tableau Software – All rights reserved
  • 44. Filtering an Object <html> <head/> <body> <script type="text/javascript" src="http://public.tableausoftware.com/javascripts/api/viz_v1.js"></script> <div class="tableauPlaceholder" id="tableauPlaceholder" style="width:654px; height:1469px; top: 0px; left: 0px; width: 100%; margin-left: 76px;"> <object class="tableauViz" width="654" height="1469"> <param name="host_url" value="http://public.tableausoftware.com/"/> <param name="site_root" value="" /> <param name="name" value="AnalyticsIncJavaScript/AnalyticsInc" /> <param name="tabs" value="no" /> <param name="toolbar" value="no" /> <param name="filter" value ="ClientName=Big%20Air%20Domestic,Big%20Air%20International"/> </object> </div> </body> </html> 2007 © Tableau Software – All rights reserved
  • 45. Filtering an Object - Measures Consider Parameters in a Calculated Fields as a filter http://./views/wb/sheet?:embed=yes&s1=300&s2=1000 [Sales] >= [Parameters].[s1] AND [Sales] <= [Parameters].[s2] 2007 © Tableau Software – All rights reserved
  • 46. Filtering an Object - Measures <html> <head/> <body> <script type="text/javascript" src="http://public.tableausoftware.com/javascripts/api/viz_v1.js"></script> <div class="tableauPlaceholder" id="tableauPlaceholder" style="width:654px; height:1469px; top: 0px; left: 0px; width: 100%; margin-left: 76px;"> <object class="tableauViz" width="654" height="1469"> <param name="host_url" value="http://public.tableausoftware.com/"/> <param name="site_root" value="" /> <param name="name" value="AnalyticsIncJavaScript/AnalyticsInc" /> <param name="tabs" value="no" /> <param name="toolbar" value="no" /> <param name="filter" value ="ClientName=Big%20Air%20Domestic,Big%20Air%20International"/> <param name="filter" value =“s1=300"/> <param name="filter" value =“s2=310"/> </object> </div> </body> </html> 2007 © Tableau Software – All rights reserved
  • 47. Filtering an Object – Date / Time <html> <head/> <body> <script type="text/javascript" src="http://public.tableausoftware.com/javascripts/api/viz_v1.js"></script> <div class="tableauPlaceholder" id="tableauPlaceholder" style="width:654px; height:1469px; top: 0px; left: 0px; width: 100%; margin-left: 76px;"> <object class="tableauViz" width="654" height="1469"> <param name="host_url" value="http://public.tableausoftware.com/"/> <param name="site_root" value="" /> <param name="name" value="AnalyticsIncJavaScript/AnalyticsInc" /> <param name="tabs" value="no" /> <param name="toolbar" value="no" /> <param name="filter" value ="ClientName=Big%20Air%20Domestic,Big%20Air%20International"/> <param name="filter" value ="BeginDate=2009-01-01"/> <param name="filter" value ="EndDate=2009-05-01%2015:00:00"/> </object> </div> </body> </html> Must be 24-hour clock format 2007 © Tableau Software – All rights reserved
  • 48. JavaScript JavaScript fun!!! 2007 © Tableau Software – All rights reserved
  • 49. JavaScript and the URL Use JavaScript to re-write the URL on your iframe‟s .Location 2007 © Tableau Software – All rights reserved
  • 50. JavaScript and the URL <html> <head/> <body> <script> function HideToolbar() { window.f1.location="http://server/views/WB/S?:embed=y&:toolbar=no"; } </script> <div> <input type="button" id="Button1" value="Click to hide Toolbar" onclick="HideToolbar()" /> </div> <iframe name=“f1” src="http://server/views/WB/S?:embed=y"> </iframe> </body> </html>Tableau Software – All rights reserved 2007 ©
  • 51. JavaScript and the URL <html> <head/> <body> <script> function FilterMe() { window.f1.location="http://server/views/WB/S?:embed=y&ClientName=EuroRail"; } </script> <div> <input type="button" id="Button1" value="Click to hide Toolbar" onclick=“FilterMe()" /> </div> <iframe name=“f1” src="http://server/views/WB/S?:embed=y"> </iframe> </body> </html>Tableau Software – All rights reserved 2007 ©
  • 52. This isn’t a JavaScript class, but…. Cross-frame scripting operations are restricted by “Same Origin Policy” 2007 © Tableau Software – All rights reserved
  • 53. JavaScript and the Object Use the JavaScript API to manipulate the viz 2007 © Tableau Software – All rights reserved
  • 54. JavaScript and the Object refresh() revert() show() hide() filter() 2007 © Tableau Software – All rights reserved
  • 55. JavaScript and the Object <html> <head/> <body> <script type="text/javascript" src="http://tableau.russellchristopher.org/javascripts/api/viz_v1.js"></script> <div> <input type="button" id="Button1" value="Show Viz" onclick="ShowHideViz('Show')" /> <input type="button" id="Button2" value="Hide Viz" onclick="ShowHideViz('Hide')" /> </div> <div class="tableauPlaceholder" id="tableauPlaceholder" style="width:654px; height:1469px; top: 0px; left: 0px; width: 100%; margin-left: 76px;"> . </div> <script> function ShowHideViz( WhatToDo ){ var viz = window.tableau.vizs[0]; if( WhatToDo ==="Show") { viz.show(); } else { viz.hide(); } } </script> </body> </html> 2007 © Tableau Software – All rights reserved
  • 56. JavaScript and the Object <html> <head/> <body> <script type="text/javascript" src="http://tableau.russellchristopher.org/javascripts/api/viz_v1.js"></script> <div> <input type="button" id="Button1" value=“Refresh" onclick="RefreshRevert(„Refresh')" /> <input type="button" id="Button2" value=“Revert" onclick=“RefreshRevert(„Revert')" /> </div> <div class="tableauPlaceholder" id="tableauPlaceholder" style="width:654px; height:1469px; top: 0px; left: 0px; width: 100%; margin-left: 76px;"> . </div> <script> function RefreshRevert( WhatToDo ){ var viz = window.tableau.vizs[0]; if( WhatToDo ===“Refresh") { viz.refresh(); } else { viz.revert(); } } </script> </body> </html>Tableau Software – All rights reserved 2007 ©
  • 57. JavaScript and the Object <html> <head/> <body> <script type="text/javascript" src="http://tableau.russellchristopher.org/javascripts/api/viz_v1.js"></script> <div> <input type="button" id="Button1" value="EuroRail Only" onclick="FilterStuff('EuroRail')" /> <input type="button" id="Button2" value="All Railroads" onclick="FilterStuff('All')" /> </div> <div class="tableauPlaceholder" id="tableauPlaceholder" style="width:654px; height:1469px; top: 0px; left: 0px; width: 100%; margin-left: 76px;"> . </div> <script> function FilterStuff ( WhatToDo ){ var viz = window.tableau.vizs[0]; var myFilter = {}; //same as "new Object()" myFilter["Client_Name"] = []; //same as "new Array()" if(WhatToDo==="EuroRail") { myFilter["Client_Name"].push('EuroRail'); } else { myFilter["Client_Name"].push('EuroRail'); myFilter["Client_Name"].push('US Rail'); } viz.filter(myFilter); } </script> </body>© Tableau Software – All rights reserved 2007 </html>
  • 58. Other Goodness Turn Share Off Globally tabadmin set vizqlserver.showshare false 2007 © Tableau Software – All rights reserved
  • 59. Other Goodness Turn Download Off Globally tabadmin set vizqlserver.showdownload false 2007 © Tableau Software – All rights reserved
  • 60. Change Server Logo & Login Text: Change Logo & Login Text tabadmin customize name “Generic Company” tabadmin customize logo “c:mylogo.gif” 2007 © Tableau Software – All rights reserved
  • 61. Other Goodness - Undocumented Additional object parameters were built for Tableau Public 2007 © Tableau Software – All rights reserved
  • 62. Other Goodness - Undocumented Many of these work in “normal” Tableau Server 2007 © Tableau Software – All rights reserved
  • 63. Other Goodness - Undocumented Use at your own risk! 2007 © Tableau Software – All rights reserved
  • 64. Other Goodness - Undocumented static_image display_static_image animate_transition display_overlay display_spinner 2007 © Tableau Software – All rights reserved
  • 65. QA / Other? 2007 © Tableau Software – All rights reserved

Notes de l'éditeur

  1. Demo embedding via frames and objects using notepad
  2. Generally it makes sense to use JavaScript/object embedding if you can. It’s more versatile.
  3. Object/JavaScript embedding supports more parameters you can use to control the look/feel/behavior of your work. While it is more verbose, once you organize the &lt;parameter&gt; elements, it is much easier to read and modify than a URL is
  4. What is an axes revert?: Example: in a Server-rendered scatterplot viz, you begin zooming (not filtering) into a particular area of the chart. After examining whatever you care about, you want to see the whole chart with all data points again (zoom out): :revert=axes will get you there.What is shelves revert: You have a hierarchy on your Rows shelf, so in Server the user has the ability to start expanding that hierarchy out with our “+” symbols…You now want to close all this stuff in one fell swoop – revert=shelves is your friend.
  5. :toolbar=top displays toolbar at top of viz, else it shows at the bottom. There is specific “bottom” option.
  6. At some point, you’ll forget to add : to :toolbar or :tabs or :filter and waste tons of time trying to troubleshoot why Tableau isn’t working right. Tableau is working right. You aren’t. 75% of Dentists surveyed say they forget the : all the time, so this is the first thing you should look for.
  7. When using the &lt;param name=“toolbar” value=“top”&gt;, the toolbar will display at the top of the viz instead of underneath
  8. This object hits the public.tableausoftware.com serverIt also hits the “default” site of public – which doesn’t mean much, since public doesn’t “do” multi-tenancy, but whateverIt grabs the AnalyticsInc view from the AnalyticsIncJavaScript workbookIt shows us this sucker without tabs and with a toolbar
  9. Site specific path:&lt;object…&gt; &lt;parameter name= “path” value=“trusted/123456789/t/Site2/views/wb/sheet”/&gt;&lt;/object&gt;
  10. &lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;http://public.tableausoftware.com/javascripts/api/viz_v1.js&quot;&gt;&lt;/script&gt;&lt;div class=&quot;tableauPlaceholder&quot; id=&quot;tableauPlaceholder&quot; style=&quot;width:654px; height:1469px; top: 0px; left: 0px; width: 100%; margin-left: 76px;&quot;&gt; &lt;object class=&quot;tableauViz&quot; width=&quot;654&quot; height=&quot;1469&quot;&gt; &lt;param name=&quot;host_url&quot; value=&quot;http://public.tableausoftware.com/&quot;/&gt; &lt;param name=&quot;site_root&quot; value=&quot;&quot; /&gt; &lt;param name=&quot;name&quot; value=&quot;AnalyticsIncJavaScript/AnalyticsInc&quot; /&gt; &lt;param name=&quot;tabs&quot; value=&quot;no&quot; /&gt; &lt;param name=&quot;toolbar&quot; value=&quot;no&quot; /&gt; &lt;param name=&quot;filter&quot; value =&quot;ClientName=Big%20Air%20Domestic,Big%20Air%20International&quot;/&gt; &lt;/object&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;
  11. &lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;http://public.tableausoftware.com/javascripts/api/viz_v1.js&quot;&gt;&lt;/script&gt;&lt;div class=&quot;tableauPlaceholder&quot; id=&quot;tableauPlaceholder&quot; style=&quot;width:654px; height:1469px; top: 0px; left: 0px; width: 100%; margin-left: 76px;&quot;&gt; &lt;object class=&quot;tableauViz&quot; width=&quot;654&quot; height=&quot;1469&quot;&gt; &lt;param name=&quot;host_url&quot; value=&quot;http://public.tableausoftware.com/&quot;/&gt; &lt;param name=&quot;site_root&quot; value=&quot;&quot; /&gt; &lt;param name=&quot;name&quot; value=&quot;AnalyticsIncJavaScript/AnalyticsInc&quot; /&gt; &lt;param name=&quot;tabs&quot; value=&quot;no&quot; /&gt; &lt;param name=&quot;toolbar&quot; value=&quot;no&quot; /&gt; &lt;param name=&quot;filter&quot; value =&quot;ClientName=Big%20Air%20Domestic,Big%20Air%20International&quot;/&gt; &lt;/object&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;
  12. &lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;http://public.tableausoftware.com/javascripts/api/viz_v1.js&quot;&gt;&lt;/script&gt;&lt;div class=&quot;tableauPlaceholder&quot; id=&quot;tableauPlaceholder&quot; style=&quot;width:654px; height:1469px; top: 0px; left: 0px; width: 100%; margin-left: 76px;&quot;&gt; &lt;object class=&quot;tableauViz&quot; width=&quot;654&quot; height=&quot;1469&quot;&gt; &lt;param name=&quot;host_url&quot; value=&quot;http://public.tableausoftware.com/&quot;/&gt; &lt;param name=&quot;site_root&quot; value=&quot;&quot; /&gt; &lt;param name=&quot;name&quot; value=&quot;AnalyticsIncJavaScript/AnalyticsInc&quot; /&gt; &lt;param name=&quot;tabs&quot; value=&quot;no&quot; /&gt; &lt;param name=&quot;toolbar&quot; value=&quot;no&quot; /&gt; &lt;param name=&quot;filter&quot; value =&quot;ClientName=Big%20Air%20Domestic,Big%20Air%20International&quot;/&gt; &lt;param name=&quot;filter&quot; value =&quot;BeginDate=2009-01-01&quot;/&gt; &lt;param name=&quot;filter&quot; value =&quot;EndDate=2009-05-01%2015:00:00&quot;/&gt; &lt;/object&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;
  13. &lt;html&gt;&lt;head/&gt;&lt;body&gt; &lt;script&gt; function HideToolbar() { var frame=window.f1; window.f1.location=&quot;http://public.tableausoftware.com/views/AnalyticsIncJavaScript/AnalyticsInc?:embed=y&amp;:toolbar=no&quot;; } &lt;/script&gt; &lt;div&gt; &lt;input type=&quot;button&quot; id=&quot;Button1&quot; value=&quot;Click to hide Toolbar&quot; onclick=&quot;HideToolbar()&quot; /&gt; &lt;/div&gt; &lt;iframe width=&quot;820&quot; height=&quot;630&quot; id=&quot;f1&quot; name=&quot;f1&quot; frameBorder=&quot;0&quot; src=&quot;http://public.tableausoftware.com/views/AnalyticsIncJavaScript/AnalyticsInc?:embed=y&quot;&gt;&lt;/iframe&gt;&lt;/body&gt;&lt;/html&gt;
  14. &lt;html&gt;&lt;head/&gt;&lt;body&gt; &lt;script&gt; function HideToolbar() { var frame=window.f1; window.f1.location=&quot;http://public.tableausoftware.com/views/AnalyticsIncJavaScript/AnalyticsInc?:embed=y&amp;:toolbar=no&quot;; } &lt;/script&gt; &lt;div&gt; &lt;input type=&quot;button&quot; id=&quot;Button1&quot; value=&quot;Click to hide Toolbar&quot; onclick=&quot;HideToolbar()&quot; /&gt; &lt;/div&gt; &lt;iframe width=&quot;820&quot; height=&quot;630&quot; id=&quot;f1&quot; name=&quot;f1&quot; frameBorder=&quot;0&quot; src=&quot;http://public.tableausoftware.com/views/AnalyticsIncJavaScript/AnalyticsInc?:embed=y&quot;&gt;&lt;/iframe&gt;&lt;/body&gt;&lt;/html&gt;
  15. &lt;html&gt;&lt;head/&gt; &lt;body&gt; &lt;script&gt; function FilterMe() { var frame=window.f1; window.f1.location=&quot;http://public.tableausoftware.com/views/AnalyticsIncJavaScript/AnalyticsInc?:embed=y&amp;ClientName=EuroRail&quot;; } &lt;/script&gt; &lt;div&gt; &lt;input type=&quot;button&quot; id=&quot;Button1&quot; value=&quot;Filter Me&quot; onclick=&quot;FilterMe()&quot; /&gt; &lt;/div&gt; &lt;iframe width=&quot;820&quot; height=&quot;630&quot; id=&quot;f1&quot; name=&quot;f1&quot; frameBorder=&quot;0&quot; src=&quot;http://public.tableausoftware.com/views/AnalyticsIncJavaScript/AnalyticsInc?:embed=y&quot;&gt;&lt;/iframe&gt; &lt;/body&gt;&lt;/html&gt;
  16. &lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;http://tableau.russellchristopher.org/javascripts/api/viz_v1.js&quot;&gt;&lt;/script&gt; &lt;div&gt; &lt;input type=&quot;button&quot; id=&quot;Button1&quot; value=&quot;Show Viz&quot; onclick=&quot;ShowHideViz(&apos;Show&apos;)&quot; /&gt; &lt;input type=&quot;button&quot; id=&quot;Button2&quot; value=&quot;Hide Viz&quot; onclick=&quot;ShowHideViz(&apos;Hide&apos;)&quot; /&gt; &lt;/div&gt;&lt;div class=&quot;tableauPlaceholder&quot; id=&quot;tableauPlaceholder&quot; style=&quot;width:654px; height:1469px; top: 0px; left: 0px; width: 100%; margin-left: 76px;&quot;&gt; &lt;object class=&quot;tableauViz&quot; width=&quot;654&quot; height=&quot;1469&quot;&gt; &lt;param name=&quot;host_url&quot; value=&quot;http://tableau.russellchristopher.org/&quot;/&gt; &lt;param name=&quot;site_root&quot; value=&quot;&quot; /&gt; &lt;param name=&quot;name&quot; value=&quot;AnalyticsInc/AnalyticsInc&quot; /&gt; &lt;param name=&quot;tabs&quot; value=&quot;no&quot; /&gt; &lt;param name=&quot;toolbar&quot; value=&quot;no&quot; /&gt; &lt;/object&gt;&lt;/div&gt;&lt;script&gt;function ShowHideViz(WhatToDo){ var viz = window.tableau.vizs[0]; if(WhatToDo===&quot;Show&quot;) { viz.show(); } else { viz.hide(); }}&lt;/script&gt;&lt;/body&gt;&lt;/html&gt;
  17. &lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;http://tableau.russellchristopher.org/javascripts/api/viz_v1.js&quot;&gt;&lt;/script&gt; &lt;div&gt; &lt;input type=&quot;button&quot; id=&quot;Button1&quot; value=&quot;Refresh&quot; onclick=&quot;RefreshRevert(&apos;Refresh&apos;)&quot; /&gt; &lt;input type=&quot;button&quot; id=&quot;Button2&quot; value=&quot;Revert&quot; onclick=&quot;RefreshRevert(&apos;Revert&apos;)&quot; /&gt; &lt;/div&gt;&lt;div class=&quot;tableauPlaceholder&quot; id=&quot;tableauPlaceholder&quot; style=&quot;width:654px; height:1469px; top: 0px; left: 0px; width: 100%; margin-left: 76px;&quot;&gt; &lt;object class=&quot;tableauViz&quot; width=&quot;654&quot; height=&quot;1469&quot;&gt; &lt;param name=&quot;host_url&quot; value=&quot;http://tableau.russellchristopher.org/&quot;/&gt; &lt;param name=&quot;site_root&quot; value=&quot;&quot; /&gt; &lt;param name=&quot;name&quot; value=&quot;AnalyticsInc/AnalyticsInc&quot; /&gt; &lt;param name=&quot;tabs&quot; value=&quot;no&quot; /&gt; &lt;param name=&quot;toolbar&quot; value=&quot;no&quot; /&gt; &lt;/object&gt;&lt;/div&gt;&lt;script&gt;function RefreshRevert(WhatToDo){ var viz = window.tableau.vizs[0]; if(WhatToDo===&quot;Refresh&quot;) {viz.refresh(); } else {viz.revert(); }}&lt;/script&gt;&lt;/body&gt;&lt;/html&gt;
  18. &lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;http://tableau.russellchristopher.org/javascripts/api/viz_v1.js&quot;&gt;&lt;/script&gt; &lt;div&gt; &lt;input type=&quot;button&quot; id=&quot;Button1&quot; value=&quot;EuroRail Only&quot; onclick=&quot;FilterStuff(&apos;EuroRail&apos;)&quot; /&gt; &lt;input type=&quot;button&quot; id=&quot;Button2&quot; value=&quot;All Railroads&quot; onclick=&quot;FilterStuff(&apos;All&apos;)&quot; /&gt; &lt;/div&gt;&lt;div class=&quot;tableauPlaceholder&quot; id=&quot;tableauPlaceholder&quot; style=&quot;width:654px; height:1469px; top: 0px; left: 0px; width: 100%; margin-left: 76px;&quot;&gt; &lt;object class=&quot;tableauViz&quot; width=&quot;654&quot; height=&quot;1469&quot;&gt; &lt;param name=&quot;host_url&quot; value=&quot;http://tableau.russellchristopher.org/&quot;/&gt; &lt;param name=&quot;site_root&quot; value=&quot;&quot; /&gt; &lt;param name=&quot;name&quot; value=&quot;AnalyticsInc/AnalyticsInc&quot; /&gt; &lt;param name=&quot;tabs&quot; value=&quot;no&quot; /&gt; &lt;param name=&quot;toolbar&quot; value=&quot;no&quot; /&gt; &lt;/object&gt;&lt;/div&gt;&lt;script&gt;function FilterStuff (WhatToDo){ var viz = window.tableau.vizs[0]; var myFilter = {}; //same as &quot;new Object()&quot;myFilter[&quot;Client_Name&quot;] = []; //same as &quot;new Array()&quot; if(WhatToDo===&quot;EuroRail&quot;) {myFilter[&quot;Client_Name&quot;].push(&apos;EuroRail&apos;); } else {myFilter[&quot;Client_Name&quot;].push(&apos;EuroRail&apos;);myFilter[&quot;Client_Name&quot;].push(&apos;US Rail&apos;); }viz.filter(myFilter);}&lt;/script&gt;&lt;/body&gt;&lt;/html&gt;
  19. Except for static_image, all of these are yes, nostatic_image – a URL to a static image (generally of the already-rendered viz) while “real” viz is being rendered. This is often used in conjunction with the SAME image being added to the tableauPlaceholder div ala:&lt;div class=&quot;tableauPlaceholder&quot; style=&quot;width:654px; height:1469px; top: 0px; left: 0px; width: 100%; margin-left: 76px; background-image: url(&apos;http://tableau.russellchristopher.org:81/Background.gif‘;&quot;&gt;)display_static_image – do we DISPLAY that static image? (Note that if a background image is specified in the &lt;div&gt;, the div will show “its background image” regardless of this setting. This setting pertains to the &lt;object&gt; only.animate_transition – do we “fade” into the fully rendered viz?display_overlay – do we display a smoked-glass-like overlay on the viz while it is being rendered?display_spinner – do we display the “rendering spinner”