{"id":31832232,"url":"https://github.com/fostercommerce/tableauconnect","last_synced_at":"2026-07-31T13:31:48.469Z","repository":{"id":62506744,"uuid":"151212469","full_name":"FosterCommerce/tableauconnect","owner":"FosterCommerce","description":"A plugin to integrate Tableau visualizations in Craft 3.x","archived":false,"fork":false,"pushed_at":"2019-10-23T16:02:54.000Z","size":41,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-14T22:56:39.685Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FosterCommerce.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-02T06:52:49.000Z","updated_at":"2019-10-23T16:01:54.000Z","dependencies_parsed_at":"2022-11-02T12:45:54.026Z","dependency_job_id":null,"html_url":"https://github.com/FosterCommerce/tableauconnect","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/FosterCommerce/tableauconnect","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FosterCommerce%2Ftableauconnect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FosterCommerce%2Ftableauconnect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FosterCommerce%2Ftableauconnect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FosterCommerce%2Ftableauconnect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FosterCommerce","download_url":"https://codeload.github.com/FosterCommerce/tableauconnect/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FosterCommerce%2Ftableauconnect/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279009179,"owners_count":26084555,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-11T22:59:54.970Z","updated_at":"2025-10-11T22:59:55.951Z","avatar_url":"https://github.com/FosterCommerce.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tableau Connect for Craft CMS 3.x\n\nTableau integration plugin for Craft\n\n## Requirements\n\nThis plugin requires Craft CMS 3.x and a Tableau 2.x server.\n\n## Installation\n\nInstall ShipStation Connect from the Plugin Store or with Composer\n\n### From the Plugin Store\n\nGo to the Plugin Store in your project’s Control Panel and search for Tableau Connect.” Click on the “Install” button in its modal window.\n\n### With Composer\n\nOpen your terminal (command line) and run the following commands:\n\n```\n# go to the project directory\ncd /path/to/my-project\n\n# tell Composer to load the plugin\ncomposer require fostercommerce/tableauconnect\n\n# tell Craft to install the plugin\n./craft install/plugin tableauconnect\n```\n\nAfter installing with composer, go to the Craft control panel plugin settings page to install and configure the settings for the plugin.\n\n## Configuration\n\n### Tableau Server URL\n\nThis is the URL to your Tableau installation, example: https://tableau.my-org.com\n\n### Requires Authorization\n\nEnable this setting if you need to access views which require user authorization.\n\n**Note:** This uses Tableau's \"trusted\" scheme which requires your web server's IP address to be add to the Tableau servers list of trusted addresses. See [Adding Trusted IP Addresses](https://onlinehelp.tableau.com/current/server/en-us/trusted_auth_trustIP.htm)\n\n## Template Usage\n\n### Render Visualization\n\n#### Parameters\n\n**view**\n\nThe view to render.\n\n```twig\n{{ craft.tableauconnect.renderVisualization('Workbook/SomeView', {...}) }}\n```\n\n**options**\n\nSupports all options supported by [Tableau JS API](https://onlinehelp.tableau.com/current/api/js_api/en-us/JavaScriptAPI/js_api_ref.htm#vizcreateoptions_record)\n\n`onFirstInteractive` and `onFirstVizSizeKnown` should be passed in as strings to Tableau Connect.\n\nSee [onFirstInteractive](https://onlinehelp.tableau.com/current/api/js_api/en-us/JavaScriptAPI/js_api_ref.htm#tableauevent_class) and [onFirstVizSizeKnown](https://onlinehelp.tableau.com/current/api/js_api/en-us/JavaScriptAPI/js_api_ref.htm#vizresizeevent_class) event classes for details about the function callback arguments.\n\n**requiresAuthorization**\n\nOverride the system-wide authorization configuration for this specific view:\n\n```twig\n{{ craft.tableauconnect.renderVisualization('Your/View', {...}, false) }}\n```\n\n#### Example\n\n```twig\n{{craft.tableauconnect.renderVisualization('Your/View', {\n  hideTabs: true,\n  hideToolbar: true,\n  width: '600px',\n  height: '480px',\n  onFirstInteractive: 'myCustomOnFirstInteractive',\n  onFirstVizSizeKnown: 'myCustomOnFirstVizSizeKnown',\n})}}\n\n{% js %}\n/**\n * args: {\n *   key: Key applied to visualization container\n *   container: Element visualization is loaded into\n * }\n */\nfunction myCustomOnFirstInteractive(e, args) {\n  // Do something...\n}\n\n/**\n * args: {\n *   key: Key applied to visualization container\n *   container: Element visualization is loaded into\n * }\n */\nfunction myCustomOnFirstVizSizeKnown(e, args) {\n  // Do something\n}\n{% endjs %}\n```\n\n### Tableau Authorization Check\n\nIf the \"Requires Authorization\" setting is enabled, you can check if a logged in user is authorized by Tableau to view a visualization. If the setting is disabled, this will always return `true`.\n\n```twig\n{% if craft.tableauconnect.token %}\n  \u003c!-- Render visualization --\u003e\n{% else %}\n  Not authorized to view visualization\n{% endif %}\n```\n\n### Embed Visualization\n\n```twig\n\u003ciframe\n  src=\"{{craft.tableauconnect.embedUrl('Your/View')}}\"\n\u003e\n\u003c/iframe\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffostercommerce%2Ftableauconnect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffostercommerce%2Ftableauconnect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffostercommerce%2Ftableauconnect/lists"}