Welcome to Catalog Tips

Search more than 200 articles to learn more about creating and automating your product catalogs

Tip: Start typing in the input box for immediate search results.

< All Topics
Print

FOLDERSEARCH – Search path for file

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).

See also

FOLDERDEEPSEARCH

Table of Contents