pietro117
Posts: 0
Joined: Fri Mar 16, 2012 12:09 am

local variables disappear

I'm not sure if anyone else has had this problem, but I find that my local variables (all except one of them) disappear when I close the builder, and then re-open it. The variables still work, bizarrely. Where I have set a property to be updated from the local variable, it stil functions, but the local variable field is blank.

Thanks
Peter

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

local variables disappear

Is there any way you can tell us how to reproduce this problem?

PatrickMoore
Posts: 0
Joined: Sat Apr 28, 2012 3:45 am

local variables disappear

I have the issue, as well as all my local variables not being visible when I try to add more events to the screen. See question posted as this:Variable not in dropdown, even though they clearly exist

PatrickMoore
Posts: 0
Joined: Sat Apr 28, 2012 3:45 am

local variables disappear

More details in that question - copied here:

I am trying to display a local variable that was stored. I used the the following Component, Event, and Action: viewscreen - load - set property. When setting the configuration for the item I set the component name, then property name as text, check the read from local storage variable option, and then try to select the variable from the drop down. I see no variables listed, even though I can go to the Data Mapping tab and look on the right hand side and see the local variables. I have tried this in IE, Firefox and Chrome...nada in each. This worked yesterday, but not today. I have put a lot of work into this, so please don't tell me I need to delete and create a new app...that would not be good.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

local variables disappear

Please attach screen shots of how this looks in your project (Set Property and Mapping)

PatrickMoore
Posts: 0
Joined: Sat Apr 28, 2012 3:45 am

local variables disappear

Thanks for the response. Below is some more detail, including additional things I have learned, and screenshots:

First is a shot of my "view" screen, specifically the data mapping tab. In this you will see that it does not have any of the local variables showing. In this case to replicate I opened the app in the tool and went straight to the "view" screen:

Image

Second is a shot of my "view" screen, specifically the data mapping tab. In this you will see that it does have the local variables showing. In this case to replicate I opened the app in the tool and went to the "add" information screen first (where the variables are defined), and then to the "view" screen:

Image

Third is the Event screen when I do the procedure described in the "second" section above. It does have the variables in the drop down:

Image

Fourth is the Event screen when I go straight to the "view" screen. It has blank drop downs:

Image

It appears that some relationship between the screen/code creating the variables is not happening unless you open that screen in the app first and then go to the screen(s) that you are coding to display the local variables.

I hope all of that made sense. :-)

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

local variables disappear

[quote:]
Fourth is the Event screen when I go straight to the "view" screen. It has blank drop downs:
[/quote]
This happens when you open the project and go the Events time right away?

The variables are back if you go to Mapping tab and then back to Events?

PatrickMoore
Posts: 0
Joined: Sat Apr 28, 2012 3:45 am

local variables disappear

I open the viewscreen (screen I am pulling from local storage and displaying the data) and then go to Events and it happens regardless of going to Mapping or not. In this case the variables are blank.

The way for it to work correctly is to go to the addscreen (the screen from which I actually save the variables to local storage) first and then to the viewscreen and its Events screen. In this case everything looks and works fine...i.e. variables are listed.

PatrickMoore
Posts: 0
Joined: Sat Apr 28, 2012 3:45 am

local variables disappear

The good news is I have this workaround that keeps everything usable, so I am fine. Just appears to be a weirdness going on there :-)

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

local variables disappear

I tried to reproduce the problem, but not able to. Please share the app for collaboration with a href="mailto:support@tiggzi.com" rel="nofollow"support@tiggzi.com/a

Return to “Issues”