Hello,
I'm using Analytics Designer to make reports into D2 application.
My organization has several environments as DEV, TEST, QA… my question is below.
I have a table with a Data item that is linked to hyperlink URI as → "http://mydevD2/D2?…"
I'm trying to change the literal “mydevD2” dinamically using a script onCreate handler in the data Item as:
this.action.setHyperlink("http://" + window.location.origin + "/D2…, "_blank");
Seems that window.location.origin (DOM)) is not accessible from here. Anyone can suggest how it could be implemented?
Regards
Sergi