Page 9 of 13

More Detail on using the select menu

Posted: Mon Aug 25, 2014 8:31 pm
by eascards

I believe the null part should be a book _id. When it says null there, it says null in the popup.(screenshot 5) But that is only in google chrome.

When I do the exact same thing in safari, I states the book _id correctly. (screenshot 1/3)


More Detail on using the select menu

Posted: Tue Aug 26, 2014 11:43 pm
by Illya Stepanov

It's very strange behaviour, could you please provide us with a public app link (http://devcenter.appery.io/documentat...) and steps to reproduce.


More Detail on using the select menu

Posted: Tue Aug 26, 2014 11:47 pm
by eascards

http://appery.io/app/mobile-frame?src...

Use Google Chrome. Select a book from the menu at the top of the page. Go to the search page (upper right corner). Search for "test". No results from the search come up when they should.

I have also shared this app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a. It is called The Calving Book.


More Detail on using the select menu

Posted: Wed Aug 27, 2014 3:39 am
by Yurii Orishchuk

Hi Escards,

See details about what is wrong in your implementation:

1 You store LSV with name "bookid": http://prntscr.com/4gv93k/direct

2 But use LSV with name "bookidd" http://prntscr.com/4gv9i6/direct

That is why you don't have correct value when try to use it.

You did it on purpose?

Regards.


More Detail on using the select menu

Posted: Wed Aug 27, 2014 12:17 pm
by eascards

I was using just "bookid" and I think it was only storing the book name, which we didn't want. After going throughout the tutorial that you sent me, I make the invisible label to have the _id and made a LSV that was "bookidd"

So I need to delete "bookid?


More Detail on using the select menu

Posted: Wed Aug 27, 2014 10:19 pm
by Yurii Orishchuk

Hi Escards,

Nope you just need to use one LSV name instead of several (like you have now).

Please read our answer above.

Regards.


More Detail on using the select menu

Posted: Wed Aug 27, 2014 11:51 pm
by eascards

I also store "bookidd". With that LSV it holds the _id instead of just the name.


More Detail on using the select menu

Posted: Thu Aug 28, 2014 3:29 am
by Yurii Orishchuk

Escards,

Please take a look on our response.

I've show you there that you have store in "bookid" LSV, but read from "bookidd".

So you can not get in this "bookidd" LSV correct value.

I'm just show what is wrong.. Now you need fix it.

To be clear - it's not a cross browser issue.. It just implementation mistake.

Regards.


More Detail on using the select menu

Posted: Thu Aug 28, 2014 12:20 pm
by eascards

Well now I am back to where I was a while ago with it saying the book name, not the id.


More Detail on using the select menu

Posted: Thu Aug 28, 2014 11:29 pm
by Yurii Orishchuk

Eascards,

You need to get "_id" field not name.

So please open your implementation and try to debug it.

General usecase:
1 when item builds "_id" stored to the "bookid" hidden label.
2 user click on item.
3 app set "bookid" LSV with text of "bookid" label.
4 invoke service where app uses "bookid" lsv.

Regards.