asebojr.blogg.se

Install tableau public
Install tableau public








  1. INSTALL TABLEAU PUBLIC INSTALL
  2. INSTALL TABLEAU PUBLIC CODE

The work was sponsored by the Vital Signs project, part of Bay Area Metro (formerly known as MTC).(Edited: I think this approach would work with any newer Tableau Desktop version that has that annoying processor check.

  • mobile: whether this sheet contains mobile layouts ( Requires the enquire.js library).
  • sheet: human readable name of the sheet.
  • $sheets: This is a second array that contains the sheets you want to render.
  • dynamic: indicate whether the title should change based on the sheet.
  • This tells the javascript where to insert the viz
  • title: the human readable title for this viz.
  • $viz: This is an array that contains the basic info for the viz you want to render:.
  • tableau_public_add_viz($viz, $sheets): This is where the magic happens.
  • Just pass the $vars array from your preprocess function. But you can run it yourself on any function you want. Currently runs on hook_preprocess_node() and hook_preprocess_entity().
  • tableau_public_check($vars): This is a simple function to check whether a Tableau viz is present in an entity.
  • The functions to actually display a Tableau viz have been abstracted, so you can use them in your own custom themes or modules. Visit /admin/structure/tableau_public to change the default classes. However, you can modify these to pick up classes from your own theme. The module comes with some basic css and default classes for the button group and individual buttons. If your Tableau viz contains multiple sheets or dashboards, you can display these as native tab buttons (see above). Save your content and the Tableau viz should automagically appear. The module will reload the viz when it hits certain breakpoints. for tablets or smartphones), check this box.
  • Mobile layout: If your sheet contains one or more mobile layouts (eg.
  • Sheet name: Use the human readable name for each sheet in your viz.
  • Each sheet requires two pieces of information:
  • Sheets: Enter as many of these as you wish.
  • INSTALL TABLEAU PUBLIC CODE

    Don't use the embed code from Tableau Public! Just the regular web address as if you were visiting the Tableau Public page in your web browser.

  • Viz url: This is the URL for the Tableau viz.
  • Note: try to keep this short, 4-6 characters, with no spaces or punctuation. You need to do enter something here if you want to display more than viz on the same page.
  • Short code: This is an internal short code that the module will use to embed the right viz in the right place.
  • If you don't want the title to change, or if you only have one sheet, you can leave this unchecked.
  • Dynamic title: Check this box if you want the title to change, depending on which sheet is selected.
  • Viz title: This is the human readable title and will be displayed above your viz.
  • Enter contentĬreate a new entity or edit an existing one and add the information for your Tableau viz: Tableau Sheets should be hidden entirely. The module will override the display in order to show the Tableau viz. Tableau Visualization should be visible, but no label. Manage DisplayĬlick on the "manage display" tab for your entity. For Tableau Sheets, you can have as many as you want. Tableau Visualization should be limited to one item per entity. content type) and add the two Tableau Public fields: This can be a node, field collection, taxonomy term, or even a user!Įdit your entity (eg.
  • Some sort of entity where you'll display your viz.
  • Tableau Public account with a publicly displayed visualization.
  • Usageįollow these steps to get up & running with your own Tableau vizualizations! Prerequisites: Note: This step is optional, but without it, your Tableau viz won't automatically resize at mobile breakpoints. ( Direct link) Load in your libraries directory, so it looks like this: sites/all/libraries/ Install enquire.jsĭownload the latest production version from. The project will be maintained in both places with the latest version. You can also pull directly from the public Github repository.

    INSTALL TABLEAU PUBLIC INSTALL

    You can install this as a normal Drupal module from, using Drush, or Composer.

  • jquery_update (need at least jQuery 1.7).
  • The dashboard module simply presents dashboards as-is.
  • How this module is different: Tableau Public pulls in sheets, not dashboards, and presents custom buttons to switch between sheets.
  • Tableau dashboard module: Pulls in Tableau dashboards only.
  • The Tableau module only pulls from stand-alone Tableau servers, not Tableau Public.
  • How this module is different: Tableau Public only pulls visualizations from the Tableau Public cloud server.
  • Tableau module: Pull in visualizations & other objects from a stand-alone Tableau server.
  • We will respond to issues reported in both locations. A non-technical business user can create and modify visualizations on Tableau Public and easily publish live to a public website. This module allows easy display of Tableau visualizations without any coding required.










    Install tableau public