leonardo
Posts: 0
Joined: Thu Mar 14, 2013 7:04 pm

List Database Files collection in a list

I have a page with a list component, a label item, and a list of files uploaded into my database. I want to capture all the File Names – file name created by Appery.io – in the label.

Can you tell me the steps to do that?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

List Database Files collection in a list

Hi Leonardo --

Please take a look in our documentation here -- http://devcenter.appery.io/documentat...

leonardo
Posts: 0
Joined: Thu Mar 14, 2013 7:04 pm

List Database Files collection in a list

Yes, I've read that. I can see the file list when I do a test, as in your reference. But I cannot get the file Names to show up in a label that I mapped to the file Names. What am I missing?

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

List Database Files collection in a list

Hi Leonardo,

Please follow these steps:

  1. Open your fileList service.

  2. Navigate to test tab and click "Test".

  3. Click "Import as response" button.
    Details: http://prntscr.com/6i6rku/direct

  4. Put grid component on the page.

  5. Put label inside the grid.

  6. Put "fileList" service on the page.

  7. In "Success" mapping create - following mapping:
    Details: http://prntscr.com/6i6sbw/direct

  8. Run this service datasource on the page show event.

    Regards.

leonardo
Posts: 0
Joined: Thu Mar 14, 2013 7:04 pm

List Database Files collection in a list

Thanks. Will test it.

Return to “Issues”