This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Upload file and read into collection

Hi Experts,

I have a file upload node using which I upload a file to a server. I think trigger an event and read that data into a table. So far so good. 

I now need to load this data into a collection. To do this, I though of using a while loop with the condition

0 = select count() from BulkUploadUsers

Inside the loop, I load the collection.

I thought the collection will be loaded in one go, however the while loop quits after it loads the first object.

 

Is there some way to effectively give feedback from the backend to the front end that it can now load the collection?

 

Thanks

Kin

Parents
  • Hi Sven,

    Thanks for your reply. I'm probably being stupid here but I'm not sure how I can read the data into my collection. The file uploaded has a list of users which I map to a uid_person in the table where I import the file. I now need to read data from this table into a collection. The idea is a user can upload a list of persons to do multiple requests instead of selecting users by hand.

    Thanks
    Kin
Reply
  • Hi Sven,

    Thanks for your reply. I'm probably being stupid here but I'm not sure how I can read the data into my collection. The file uploaded has a list of users which I map to a uid_person in the table where I import the file. I now need to read data from this table into a collection. The idea is a user can upload a list of persons to do multiple requests instead of selecting users by hand.

    Thanks
    Kin
Children
No Data