Page 1 of 2

Cannot Edit Button Event.

Posted: Mon Apr 21, 2014 1:02 am
by sunil_rinku

I have a attached login event to REST service and there is code I execute when something is returned via service.

Somehow I am not able to edit the event.

Here is my URL http://appery.io/app/project/066d1790...
page is Login. I have already tried ctrl+F5 no change.

And attached is the screenshot. It stuck on loading. Please help
Image


Cannot Edit Button Event.

Posted: Mon Apr 21, 2014 3:17 am
by Illya Stepanov

Hi -

As I can see you have added service on this button already.
As shown on screenshot - just click Edit event on the right side and you done it.


Cannot Edit Button Event.

Posted: Mon Apr 21, 2014 6:41 pm
by sunil_rinku

I have already created event, but I need to manipulate response that I get from API.

See attached. Image


Cannot Edit Button Event.

Posted: Mon Apr 21, 2014 7:09 pm
by Alena Prykhodko

Hello,

You can use Run JS action and invoke Service with JS:

preService.execute({})/pre


Cannot Edit Button Event.

Posted: Mon Apr 21, 2014 7:51 pm
by sunil_rinku

But I already have code within it that is already working! I just need to append some more.

When the REST service returns data it redirects to Dashboard page. If i go by your logic I have to rewrite my code and find the logic related to service executing manually.

Can you please tell me why it is not working!? If not can you please transfer to somebody who actually can look at the app itself and figure out the problem?

See attached console.log for FF. I have tested this with both chrome and Firefox same results. The request it is doing is not returning anything. gives 502 if i open it in another window. Image


Cannot Edit Button Event.

Posted: Tue Apr 22, 2014 1:06 am
by sunil_rinku

Just wondering, any update on this? Or idea when it can be resolved?

I cannot move my work forward without solving this issue.

Thanks again for help.


Cannot Edit Button Event.

Posted: Tue Apr 22, 2014 1:49 am
by Illya Stepanov

Hi - Sorry for inconvenience, we escalated your issue to our developers, we'll try to fix it asap.


Cannot Edit Button Event.

Posted: Tue Apr 22, 2014 9:58 am
by Maryna Brodina

Hello!

We reported this issue as a bug and developers are working on it.


Cannot Edit Button Event.

Posted: Tue Apr 22, 2014 11:43 am
by Maryna Brodina

Sorry for misunderstanding. You can change event and datasource, but to change component and/or action you have to create new event.


Cannot Edit Button Event.

Posted: Tue Apr 22, 2014 1:22 pm
by sunil_rinku

What About the code I have put into event. Where an I fetch it?

I just want to get old code and might create new event see if it works.