Miscellaneous utilities

FOLDERSEARCH – Search path for file

289 views June 1, 2018 admin 1


This Custom Field searches a given path for a matching file.

A number of regular expressions can be supplied, the first match is returned.

This Custom Field does not search path subfolders. To include subfolders in the search use the Custom Field FOLDERDEEPSEARCH.


FOLDERSEARCH(‘FolderPath‘, FIELDSTR(code)_Front.*.jpg)

Element Description
FolderPath The folder path to be searched.
FIELDSTR(code)_Front.*.jpg The file(s) being searched for.


FOLDERSEARCH(‘Macintosh HD:Images’,FIELDSTR(my_image_field))

In this example the Custom Field will search ‘Macintosh HD:Images’ for the image returned by FIELDSTR(my_image_field).

See also


Was this helpful?