Page 1 of 1

List Database Files collection in a list

Posted: Fri Mar 13, 2015 8:50 pm
by leonardo

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?


List Database Files collection in a list

Posted: Sat Mar 14, 2015 8:38 am
by Illya Stepanov

Hi Leonardo --

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


List Database Files collection in a list

Posted: Mon Mar 16, 2015 7:02 pm
by leonardo

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?


List Database Files collection in a list

Posted: Wed Mar 18, 2015 5:10 am
by Yurii Orishchuk

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.


List Database Files collection in a list

Posted: Wed Mar 18, 2015 6:05 am
by leonardo

Thanks. Will test it.