i am facing the problem that i have to update an arbitrary amount of objects via the cloud code.
as each object has to be identified itself i can not use the multiple update call, but have to issue an update for each object independently.
i know that librarys such as Q or the $.Deferred of jQuery exist to handle this, but they are not available in cloud code.
so what would be the best practice to achieve this in cloud code?
and would it be possible to fire these calls in parallel rather than in sequence so that the possible timeout window would not be reached?
5 Answers, 1 is accepted
Unfortunately the cloud code currently does not support the functionality in question. We are aware of this limitation and we are planning on implementing a solution soon.
Please let me know if there is anything else I can assist you with.
Regards,
Vasil
Telerik
not quite the answer, that i was hoping for.
any expected timeframe for this solution?
guess i will have to fix the amount and than hardcode for these cases, which makes the code even more complex
We will consider adding this functionality in some form or another during our next iteration. However unfortunately I cannot give you a specific timeframe as it depends on the currently pending tasks. I hope we would be able to roll out an update within a month or so. Do you think that would work for you?
Regards,
Vasil
Telerik
Keep an eye on the "What's new" page in the documentation as we update it on a regular basis and we will post information regarding this functionality as soon as we have implemented it.
Let us know if you have further questions or suggestions, we will be happy to help.
Regards,
Vasil
Telerik