we use tableau as reporting platform , how can I connect it to outsystems?

Hi, There, 

we use  tableau as reporting platform , how can I connect it to outsystems?

Many Thanks, 

Jack

Hi Jack,

That completely depends on what Tableau needs - does it have an API? Does it need direct access to the database? And so on and so forth.

Solution

Hi Jack Bao,

 1- If to Integrate with Mobile, iFrame can be an approach:

Advance Safari & ChromeTab :

  https://www.outsystems.com/forge/component-overview/5311/safari-view-and-custom-chrome-tab

Regular InAppBrowser :

https://www.outsystems.com/forums/discussion/34075/in-app-browser-plugins/

Other :

Git Repo but Depricated- https://github.com/tableau/mobile-app-bootstrap-cordova


2- Solution by Harlin Setiadarma :

If you have Tableau Server, there are Tableau Javascript API that you can use.

https://onlinehelp.tableau.com/current/api/js_api/en-us/JavaScriptAPI/js_api.htm


In Outsystems, you just create container then give it a name (eg: vizContainer)

Then put expression AFTER that container, and set Escape Content property to false.

In the expression, type your javascript text enclosed in double-quote, eg:

 (I cannot validate this, this is outta my head):


<script src='https://YOUR-SERVER/javascripts/api/tableau-2.min.js'></script>

<script type='text/javascript'

    var vizContainer = getElementById('"+vizContainer.Id+"');

    var viz = new tableau.Viz(vizContainer, 'https://yourtableauserver.com/views/yourview');

</script>

Remember expression is a text, so enclose your javascript in double-quote, and use single-quote to enclose the javascript string

https://www.outsystems.com/forums/discussion/34738/integration-with-3rd-party-dashboard-bi-solutions/


Hope it Helps,

Assif


Solution

+ Addition to my Answer:

Forge Component for Web:

https://www.outsystems.com/forge/component-overview/5820/tableau-js-api

Thanks Jack Bao,

Happy to know it helps you :)

Keep Coding...


Cheers,

Assif