Global Variables work fine in "Open Link in Current Window" but not in "New Window/Tab" at v9.0.0.3679


#1

Hi, I think I found a bug in Global Variables.
Global Variables work fine in “Open Link in Current Window” but not in “New Window/Tab” at v9.0.0.3679.

It works fine in earlier versions(v9.0.0.3675).

Please check the attachment.

Bug_GlobalVariables.rp (51.0 KB)

Please Help!!!


#2

I don’t think this is a bug - opening a new window will start a new session of your prototype, resetting all global variables. If you want to use global variables, you need to have a single session so that the browser can store the values locally.


#3

Hi, Thanks for the reply.

So, why it works fine in earlier version? (v9.0.0.3675)

And, this is a definition of Global Variables in axure.com - Documentation.

Global variables and their values are accessible from every page in a project, so you can use them to pass information between pages.


#4

That should really read ‘pass information between pages within a single session’. When you open an Axure prototype page in a new tab, you’re creating a new instance of the prototype, with all of the variables set to their initial values.

I’m afraid I have the latest version installed so I can’t test to see if this worked in previous versions, but I would be very surprised if it did, as this behaviour is governed by the browser, not the prototype itself.


#5

Thank you for the answer, but I think differently.

It works every previous versions (even 8).
It doesn’t make sense to only have the latest version(9.0.0.3675).

I don’t agree with ‘pass information between pages within a single session’.
If it is true, global variables are useless component in the project.

And I think the browser is not relevant at all.

Please check this link, you can download previous versions.
https://www.axure.com/release-history


#6

@major7sw @davegoodman
Found the same bug while working in Axure 9 and I needed this to work for a presentation I’m giving tomorrow! :confused:

Yes, it does indeed work in Axure 8: https://e3ov2m.axshare.com
Date-working-in-New-Window-Axure-8.rp (57.4 KB)
(Obviously, you’ll have to have Axure 8 to open this to see it working which is why I put it on AxShare.)

Here’s the same file created in 8 and saved in 9 that DOESN’T work: https://s0gtpp.axshare.com/
Date-NOT-working-in-New-Window-Axure-9.rp (53.2 KB)


#7

[davegoodman], this has absolutly been working fine since Axure 8, for multiple years I have used Global Variabes across new tab/pages and it has always worked. Now you are trying to claim by design it does not work this way? I agree with [major7sw], this makes global variables useless and complete nonsense.

So where are we with this bug? This is a show stopper for me.


#8

@bblackstock

Hi,

I already emailed to Axure support team about this issue.

They answered:

“Thank you for writing in! I’ve tested out this global variable behavior in our second most recent stable build (3675), and compared it to the behavior with the latest build (3679), and I was able to reproduce some different behavior as well. The latest build included some changes to the “Open Link in New Window/Tab” action, so that the prototype player is included in the newly opened window, so that player features like notes and comments can be accessed. This change creates a new instance of the project, so that global variables do not pass between the two opened project pages. While this behavior is expected in this case, I’ve filed a feature request regarding this global variable functionality with our respective teams to review on your behalf.”

So, I am waiting for the bug to be fixed. I hope it’s resolved quickly. :sob: