Dirk Gissing
Posts: 0
Joined: Sat Oct 12, 2013 4:18 pm

Window items javascript code is GONE

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??

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Window items javascript code is GONE

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...)

Dirk Gissing
Posts: 0
Joined: Sat Oct 12, 2013 4:18 pm

Window items javascript code is GONE

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

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Window items javascript code is GONE

Hi Dirk,

Hope this screenshot will help:
Image

Image

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

Dirk Gissing
Posts: 0
Joined: Sat Oct 12, 2013 4:18 pm

Window items javascript code is GONE

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.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Window items javascript code is GONE

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

Dirk Gissing
Posts: 0
Joined: Sat Oct 12, 2013 4:18 pm

Window items javascript code is GONE

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"

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Window items javascript code is GONE

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.

Dirk Gissing
Posts: 0
Joined: Sat Oct 12, 2013 4:18 pm

Window items javascript code is GONE

Hello Yurii,

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

Return to “Issues”