simplifyinsights / tableau-datatables-extension

Tableau DataTables Extension
MIT License
9 stars 13 forks source link

Configure Screen Not Displaying When Installed On Premise #1

Open jordiyeh opened 5 years ago

jordiyeh commented 5 years ago

Thanks for creating this functionality.

If I use the trex pointing to tableaumagic, the configuration screen shows without any problem.

However when I install the tableau-datatables-extension internally, I can only se the intro screen "Please Configure the DataTable Extension" and once I click the Configure... menu, I just get a white screen.

How can I further debug this?

tfoldi commented 5 years ago

Use this patch @jordiyeh

diff --git a/public/js/index.js b/public/js/index.js
index 1b09307..af55550 100644
--- a/public/js/index.js
+++ b/public/js/index.js
@@ -254,7 +254,7 @@
   // This is called when you click on the Configure button.
   function configure() {

-    const popupUrl = `${window.location.origin}/dialog.html`;
+    const popupUrl = `./dialog.html`;

     let input = "";

@tableaumagic if you need a PR just let me know. We use this extension at many clients on-premises.

simplifyinsights commented 5 years ago

@tfoldi thank you for answering, and I will update the code. It is awesome to hear that you use this at Extension on client sites.

A PR?

jordiyeh commented 5 years ago

I tried the updated index.js, but I am still not getting the dialog.html to display. I am not seeing any attempts to render dialog.html from the web server logs.

The dialog.html is one level up from the index.js, and I tried the following

const popupUrl = ../dialog.html;

but that did not work either.

The only way I was able to display the configuration was to have an absolute URL, such as

const popupUrl = https://tableau-extensions.domain.com:8765/tableau-datatables-extension/public/dialog.html;

Any other ideas?

Thanks @tfoldi @tableaumagic

simplifyinsights commented 4 years ago

I am looking to make a major overhaul in the next few weeks and will be exploring this issue. Kind Regards,

On Wed, Feb 19, 2020 at 10:25 PM +0000, "Emanuelv19" notifications@github.com wrote:

Is there any progress on this?

thx!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

andymiller-og commented 4 years ago

@tableaumagic Awesome news - looking forward to any updates. thanks for your work on this!!!