CustomContentBase::ListObjects2 (open)
Get a list of all objects within a group
Syntax
LOADLIB "mod::consilio/lib/contentproviders/customcontent.whlib";
RECORD FUNCTION ListObjects2(DATETIME commanddate, STRING groupid, RECORD ARRAY current_objects)Parameters
DATETIME commanddateDate when this command (or its oldest ancestor) was issued
STRING groupidThe group the get the list of objects of
RECORD ARRAY current_objectsList of currently present objects. Fields can be specified with GetListObjectFields (only filled in update mode, not in rebuild mode)
Return value
RECORDThe result
errorReturn a record with an 'error' cell of type string if an error occurred
objectsThe list of objects
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