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 commanddate

Date when this command (or its oldest ancestor) was issued

STRING groupid

The group the get the list of objects of

Return value

RECORD

The result

error

Return a record with an 'error' cell of type string if an error occurred

objects

The list of objects

objects.data

Optional data for the object (see FetchObject return value, without status and error)

objects.id

The id of the object

requiredindexdate

If 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