Table of Contents
Overview
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.
Syntax
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. |
Example
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).