Jack Bua
Posts: 0
Joined: Sun Jun 28, 2015 10:16 pm

Unusual Mapping Capabilities

I noticed that I could map an included object from a service request to things like grids and mobilelistitems, but could not map them to other things like text fields, like I can with " $ ".

Image

Why is this? Could you please give me an example of why this would be used?

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Unusual Mapping Capabilities

Dear Jack,

You can find more about mapping in collections here https://devcenter.appery.io/documenta...

You can not map them because they have fields included, they can be mapped to text, etc.

Jack Bua
Posts: 0
Joined: Sun Jun 28, 2015 10:16 pm

Unusual Mapping Capabilities

Hi Alena,
I did not find what I am talking about in that documentation, but it did help since I learned about "Combining requests from several components". Thank you.

I am a bit confused at your response, however. "You CAN NOT map them because they have fields included, they CAN be mapped to text, etc". I know they CANNOT be mapped to text fields. Am I safe in assuming that they can be treated similarly to the top array element ($)?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Unusual Mapping Capabilities

Hello Jack,

This functionality is necessary for using more than one parameter in one field.
E.g.: I have storage model: http://prntscr.com/87kxi0
Now I am able to use JS:
prereturn value.firstName + " " + value.secondName;/pre
in the mapping like this: http://prntscr.com/87kxmo

Jack Bua
Posts: 0
Joined: Sun Jun 28, 2015 10:16 pm

Unusual Mapping Capabilities

Hello Sergiy,

Thank you for your reply. I think I understand that now.

Thank you.

Return to “Issues”