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
  • Just to clarify, I have implemented the functionality where a file is uploaded and the data from the file is imported into a custom table. I now need to read the data from this custom table into a collection, the issue is I don't know how to check if the table in the backend is "ready" to be loaded into a collection.
Reply
  • Just to clarify, I have implemented the functionality where a file is uploaded and the data from the file is imported into a custom table. I now need to read the data from this custom table into a collection, the issue is I don't know how to check if the table in the backend is "ready" to be loaded into a collection.
Children
No Data