Skip to main content
Version: 21 R4 BETA

METHOD GET FOLDERS

METHOD GET FOLDERS ( arrNames : Text array {; filter : Text}{; *} )

ParameterTypeDescription
arrNamesText array←Array of Home page folder names
filterText→Name filter
*Operator→If passed = command applies to host database when executed from a component (parameter ignored outside of this context)
History
ReleaseChanges
13Created

Description​

The METHOD GET FOLDERS command returns, in the arrNames array, the names of folders created on the Home page of the 4D Explorer:

Since folder names must be unique, the hierarchy is not returned in this array.

You can limit this list of folders by passing a comparison string in the filter parameter: in this case, only folders whose names match the filter are returned. You can use the @ character in order to specify "starts with", "ends with" or "contains" type filters. If you pass an empty string, the filter parameter is ignored.

If the command is executed from a component, it returns by default the paths of the component methods. If you pass the * parameter, the array contains the paths of the methods of the host database.

See also​

METHOD GET PATHS

Properties​

Command number1206
Thread safeno