Page 1 of 2

Mapping not working after update

Posted: Mon May 26, 2014 3:24 am
by MKicon

All of the mapping that I had from REST services to page components on a particular page have stopped working since the update. The services seem to be returning records successfully, and I can write the results to the console, but the elements on the page don't populate. I have already tried removing and readding the service and mappings to the page, but it did not work. I was planning to launch my app this week, please let me know fix.


Mapping not working after update

Posted: Mon May 26, 2014 3:50 am
by Igor

Hello,

Let us know if this doc will help:
http://devcenter.appery.io/documentat...


Mapping not working after update

Posted: Mon May 26, 2014 4:04 am
by MKicon

That document states all existing mappings will be moved automatically, and they have been moved, to the Before Start and Success events, but they don't work. As I mentioned, I even tried building a set of mappings from scratch by removing and adding the service again, but data still does not populate even though the service returns 200 success.


Mapping not working after update

Posted: Mon May 26, 2014 1:38 pm
by Maryna Brodina

Hello!

When you run app on preview are there any errors in console?


Mapping not working after update

Posted: Mon May 26, 2014 1:47 pm
by Cristian Fuentes

Hello! Same problem here, no errors on console.

In my case mapping is lost when navigate to another page and back to first one.

Thanks!


Mapping not working after update

Posted: Mon May 26, 2014 2:07 pm
by Cristian Fuentes

Just to inform, if set "Use full screen refresh" on back button, mapping works again.

Kind Regards.


Mapping not working after update

Posted: Mon May 26, 2014 2:28 pm
by Abu Ali

same problem with me , local storage are not mapped correctly to the service request


Mapping not working after update

Posted: Mon May 26, 2014 2:35 pm
by Maryna Brodina

Hello @Cristian Fuentes!

Any errors in console when you don't use full screen refresh?


Mapping not working after update

Posted: Mon May 26, 2014 2:36 pm
by Maryna Brodina

@Abu Ali

Could you clarify what do you mean on "not mapped correctly"? Any errors in console?


Mapping not working after update

Posted: Mon May 26, 2014 3:23 pm
by Abu Ali

14a670b0-2cd6-4115-bcc2-df3fd9f8dd23 is my GUID

i am using the FB API, on the login btn it should call the service Facebook_MeService and get user data, but it show me error

----------------------

"error": {
"message": "An active access token must be used to query information about the current user.",
"type": "OAuthException",
"code": 2500

-----------------------

i checked the access_token in local storage and tried it with Test and it working fine, so in this service the access token is not sent with the request.