Page 2 of 2

Nested array mapping (e.g., VCARD) to GUI list.

Posted: Thu Oct 17, 2013 9:29 am
by Kateryna Grynko

Hi,

JavaScript is case-sensitive.

On you page, listitem name is "mobilelistitem_CustomerList", and in the JavaScript code you use:codeAppery('mobilelistitem_customerList').closest("li").hide();/code


Nested array mapping (e.g., VCARD) to GUI list.

Posted: Thu Oct 17, 2013 2:11 pm
by K. C. Lee

Tried the following:

alert("before the call");
Appery('mobilelistitem_CustomerList').closest("li").hide();
alert("after the call");

Two pop up show up and the hide has no effect!

The list (random names are used for the test) to hide is in the following image.

Image


Nested array mapping (e.g., VCARD) to GUI list.

Posted: Thu Oct 17, 2013 7:04 pm
by Maryna Brodina

Hello! If you want to hide entire list try:
preAppery('mobilelistitem_CustomerList').closest("ul").hide();/pre


Nested array mapping (e.g., VCARD) to GUI list.

Posted: Thu Oct 17, 2013 7:09 pm
by K. C. Lee

Thanks. It worked.

Any information or pointer to where I can find the definition of mapping of array of array will be greatly appreciated.

I also need to know where to find the entry points to
do alternatives that you suggested:

1) Add elements/entries using JS on service success
2) Create Generic service and using JS create response you'll be able to map

Thanks.


Nested array mapping (e.g., VCARD) to GUI list.

Posted: Thu Oct 17, 2013 8:38 pm
by Maryna Brodina

[quote:]the definition of mapping of array[/quote] http://docs.appery.io/documentation/u...
[quote:]Add elements/entries using JS on service success [/quote] http://docs.appery.io/documentation/u...
[quote:]Create Generic service and using JS create response you'll be able to map[/quote] https://getsatisfaction.com/apperyio/...