Easymorph 4.3 : Tableau Hyper Addon logs

If you install Easymorph in Program Files, no problem the config files and the log are still generated in your user folder (Appdata) so there is no issue about administration rights.

But if you install Tableau Hyper Add on in this case, it will be installed at the same place so Program Files. In this case the logic is that Tableau Hyper logs would be generated in user folder but they aren’t : they are currently generated in Program Files so if you’re not admin of your workstation it fails.

Is there any way to produce Tableau logs in user folder instead of install folder, for example modifying Morph.AddOn.TableauHyper.exe.config ?

Hi Romain,

We can’t write logs to the user’s AppData folder by default because Tableau Hyper API which is used internally by EasyMorph, can’t write logs to a folder which contains non-ASCII characters in it’s path. And user name may have non-ASCII characters.

There is no way to configure logs folder for the Tableau Hyper Add-On.

May be it will be possible for you to grant write access just to the Tableau Hyper Add-On folder for all the users who are using EasyMorph?

We can’t unfortunately. And we all have ASCII characters in our name here I think. A pity you don’t propose anything for those who are ASCII compatible.

Is there any way to deactivate Tableau Hyper logs ?

Unfortunately, there is no documented way to turn off logging in the Tableau Hyper API.

If this can help, under the hood the Hyper add-on runs a command-line utility that simply converts a .dset into a .hyper file. Which means that you can replicate export to Hyper by exporting to .dset and then running the utility under a particular Windows account.

Interesting ! What is this utility ? Other solution : put Hyper folder in user folder and create a virtual folder “Hyper” in Easymorph installation folder using mklink command :rofl:

@andrew.rybka, can you please post the example (the one with XSLT) that runs the utility from an EasyMorph project.

Here is an example project which converts DSET file to a Hyper file with a direct call to the Tableau Hyper Add-On executable. Direct execution of the executable gives you access to some additional features:

  • Hyper Add-On can be placed to any folder
  • You can create columns with Numeric type (not available from the “Export to Tableau extract” action)

In order this example project to work, you’ll have to:

  • Update your Hyper Add-On to the version 1.0.0.1 with you can get from our download page
  • Specify path to the Morph.AddOn.TableauHyper.exe file (located in the Hyper Add-On folder)
  • Specify path to the output file (if that file already exists, it will be deleted by the project)
  • Modify lists of column names and columns types in the “Create metadata file” table to match your DSET file. Also, you have to specify Precision and Scale columns with numeric values for the columns which have “Numeric” type and empty values for all the other columns.

Export to Tableau Hyper.morph (7.4 KB)

Ok I see. Very complex solution, virtual folder is more viable :slight_smile: By the way I saw in your projet we could use create list action to create a table with multiple columns, I thought it was restricted to only 1 column and did not imagine that usage :joy: Thank you for your help, you’re awesome !

Romain, you are welcome!

Hi,

does it means that we could use the Hyper add-on to run some SQL queries on a Hyper file ?
Could we create several tables in an Hyper file ?

Regards

Hi Christophe,

No. The Hyper Add-On only supports export. And it can create only a single table with a default name.