Hello everyone. Before I start this I have to admit I nicked the idea completely from Dave Hart of Interworks, who came up with it when he was working with us. But he doesn’t blog or tweet so that leaves me to claim all the glory… Actually I’m just passing on his superior knowledge..
Many of you probably use mailto: actions in your Tableau dashboards, to kick off a mail to someone that might be highlighted in a viz etc. And you might also have some sort of internal IM system like MS Lync or something like that.
Well you can just as easily initiate a chat session to one or multiple recipients using Tableau.
This uses the Session Initiation Protocol (SIP) to open the session in whatever IM client is in use. You just need to open Tableau Server like this
tabadmin set vizqlserver.url_scheme_whitelist sip tabadmin set vizqlserver.url_scheme_whitelist im tabadmin restart
sip: allows Lync to lookup people using their email address
im: tells Lync to open it as a group chat
This is an example of an URI Scheme. There are dozens of others, such as callto: which tells mobile phones to call as well as facetime: and of course mailto:.
Once you’ve opened the server up you can then create a Tableau action to fire off the command. Note that if you try and IM yourself it will usually default to email.
im:<sip:firstname.lastname@example.org> im:<sip:email@example.com><sip:firstname.lastname@example.org> im:<sip:email@example.com><sip:firstname.lastname@example.org><sip:email@example.com>
When it comes to the action Tableau won’t let you use multiple items without specifying a delimiter so what you do is use “><” as the delimiter and then put [url encoded] “<” and “>” around the data field.
Anyway I posted this on the Tableau Forum and there’s a workbook attached to that post so you should be able to download it and see how you get on. I reckon there’s some potentially way cool stuff possible using URI schemes. There’s also lastfm:, spotify: and skype: amongst them – so much fun to be had here I think.