CF Admin API - collections
I am trying to access the collections api for the CF Admin and have a question. I am executing a call to the reloadCollection method but it does not appear to return any value. Here is a sample snippet of the code I am trying to execute/
collectionObj = createObject("component","cfide.adminapi.collections");
collectionObj.reloadCollection("testCollection");The above executes without issue but if I try setting the method call to a variable and then try and dump the variable the code generates an error that the variable was undefined.
tempTest = collectionObj.reloadCollection("testCollection");
writeDump(var="#tempTest#",format="html");Is there a way to determine if the call has executed successfully?
