Page 1 of 2

When I click a list item how can I get the item info?

Posted: Sun Jul 12, 2015 5:46 am
by A.W.H.

When I click on a list item how do I get the information about that item and use it to upload/update the db?


When I click a list item how can I get the item info?

Posted: Sun Jul 12, 2015 10:06 am
by Evgene Karachevtsev

Avery,

Sorry I'm not sure I understand you correctly, could you please provide us with more details of your request? What information do you want to get?


When I click a list item how can I get the item info?

Posted: Sun Jul 12, 2015 1:10 pm
by A.W.H.

I want to get the information stored in hidden labels.

Such as ID, etc. Those labels are currently inside the list items.


When I click a list item how can I get the item info?

Posted: Sun Jul 12, 2015 8:27 pm
by Illya Stepanov

Hi Avery -

You can use one of the approaches described here: https://devcenter.appery.io/documenta... -- and modify it for your needs.


When I click a list item how can I get the item info?

Posted: Mon Jul 20, 2015 4:42 pm
by A.W.H.

Hi, I'm still having an error.

The items save info in the database as the text from the caption labels. Instead, I need it to store the variable display names mapped from another database.


When I click a list item how can I get the item info?

Posted: Mon Jul 20, 2015 9:22 pm
by Illya Stepanov

Could you please be more specific, about what you're trying to do? Please provide some screen shots for clear explanation.


When I click a list item how can I get the item info?

Posted: Tue Jul 21, 2015 10:57 pm
by A.W.H.

Here you see the reply database empty.

Image

Next you see the page where the user can click on a text to reply to it. In the 'reply' database I store the information about that reply.

Image

Next you see the database after the user replies. Note that 'ping_ID' is stored as "Ping ID Here", the placeholder text for the custom label.

Image

Next we see the mapping to the "Ping ID Here" placeholder text, which maps the _id (shown in screenshot 2) to the first label on each text (the long ID).

Image

What is going on?


When I click a list item how can I get the item info?

Posted: Sun Jul 26, 2015 1:25 pm
by Alena Prykhodko

Hello,

Please show us service settings screen shot.
How do you get this ID, and how do you pass this to service?


When I click a list item how can I get the item info?

Posted: Sun Jul 26, 2015 11:42 pm
by A.W.H.

I just map the ID from the database and loop through a list as in the Appery tutorials..

Image


When I click a list item how can I get the item info?

Posted: Mon Jul 27, 2015 2:18 pm
by Illya Stepanov

Could you please clarify what these records are: http://prntscr.com/7xkk63