Let's follow up this discussion at the Neptune Community
(this forum will be kept in read-only mode)
it would be nice, if the callback of the ModelData.find function would get the result of "Find" handed over as an input parameter.
var data = ModelData.Find(obj, "keyField", "keyValue", "operator", callBack);
It would be nice to get this:
var data = ModelData.Find(obj, "keyField", "keyValue", "operator", callBack(data));
Hi Fabian Mayerhofer,
thanks for your interesting request.
It has been added to our development queue and will be taken into consideration for our next Support Package.
Thank you for the feedback and your great suggestion. The solution is now implemented and ready for SP03.
If you want to implement it into your system, attached you find the new script you can replace in SE80 - Mime repository /neptune/server/js - use rightclick on the two files, and Upload and Replace.