Page 1 of 3

Window items javascript code is GONE

Posted: Sun Sep 21, 2014 9:43 pm
by Dirk Gissing

Hello,

In the new appbuilder my custom javascript code in the "success" event in the mapping is GONE. I had mapped an item received from REST service and mapped that item to a Window (javascript in the old builder) and had A LOT of code in there. Basically the entire code for my app. Now that mapping is gone and so is the code (in the new builder). What is going here?? The new builder is awesome but if something like this happens and our codes just vanish, that's just unacceptable!!

Please advise, what am I to do here??


Window items javascript code is GONE

Posted: Sun Sep 21, 2014 10:02 pm
by Illya Stepanov

Hi Dirk,

The mapping has been redesigned in new version builder, if you're experiencing problems after upgrading your app, you can switch back to the old version of your app. (http://devcenter.appery.io/documentat...)


Window items javascript code is GONE

Posted: Sun Sep 21, 2014 10:05 pm
by Dirk Gissing

Hello Illya,

I know that it's changed but WHERE can I find the mapping from my response item to my Window items?? I know I can switch back to the old version builder, but the new builder has a lot of advantages and I would like to keep using it.

But in order to use it, I do need to know WHERE my custom app logic is placed now.

Thank you


Window items javascript code is GONE

Posted: Sun Sep 21, 2014 10:26 pm
by Illya Stepanov

Hi Dirk,

Hope this screenshot will help:
Image

Image

Also please check this doc.: http://devcenter.appery.io/documentat...


Window items javascript code is GONE

Posted: Sun Sep 21, 2014 11:06 pm
by Dirk Gissing

Hello Illya,

Thank you for the screenshots but that's not what I mean.
My even was fired in the success mapping not in the before send mapping.


Window items javascript code is GONE

Posted: Sun Sep 21, 2014 11:51 pm
by Illya Stepanov

Could you please clarify do you see any bindings in success mapping section?


Window items javascript code is GONE

Posted: Mon Sep 22, 2014 2:54 pm
by Dirk Gissing

Illya:

Image

In the old builder the reponse item "wrong" had a mapping to a javascript code called "msg", in the new builder this javascript code element is called "window". But the mapping is GONE, all of my code in that javascript is GONE. In the old builder the mapping is still there and the code is still there.

What that code does is the following: check for certain values and then navigate the user to the next screen.

How is it possible that the mapping just disappeared and my code also??

Here is a screenshot of the old builder mapping:
Image

As you can see, the mapping is there and my code is in there also "edit JS"


Window items javascript code is GONE

Posted: Tue Sep 23, 2014 3:03 am
by Yurii Orishchuk

Hi Dirk,

Please please give us your app public link(for old builder version).

Wee need to take a look into your app.

Thanks & regards.


Window items javascript code is GONE

Posted: Tue Sep 23, 2014 3:08 pm
by Dirk Gissing

Window items javascript code is GONE

Posted: Tue Sep 23, 2014 4:01 pm
by Dirk Gissing

Hello Yurii,

Due to security reasons (api key etc.) I cannot publish the link here. Can I mail it to you?