CustomContentBase::ListObjects (open)
Get a list of all objects within a group
Syntax
LOADLIB "mod::consilio/lib/contentproviders/customcontent.whlib";
RECORD FUNCTION ListObjects(DATETIME commanddate, STRING groupid)Parameters
DATETIME commanddateDate when this command (or its oldest ancestor) was issued
STRING groupidThe group the get the list of objects of
Return value
RECORDThe result
errorReturn a record with an 'error' cell of type string if an error occurred
objectsThe list of objects
objects.dataOptional data for the object (see FetchObject return value, without status and error)
objects.idThe id of the object
requiredindexdateIf the indexdate of the version of the object currently stored in the index is at least this value, it is kept as-is and not re-fetched. (warning: don't use this if FetchObject returns other objects not returned by this ListObjects, because those objects will not be discovered, and subsequently removed).
status"result" if call succeeded, "error" if an error ocurred