FileMaker Command - Get(DocumentsPathListing)


Igeek take a look at this FileMaker database command.

Get(DocumentsPathListing)
Returns a list of all files and folders in the Documents folder returned by the Get(DocumentsPath) function.

Format 
Get ( DocumentsPathListing )

Parameters 
None

Data type returned 
text

Originated in version 
10.0

Description 
Each pathname in the Documents folder is listed separated by a line break. Files and folders are named according to FileMaker Pro naming conventions.

Use Get(DocumentsPathListing) with the Import Records script step and Export Records script step to determine if a file exists in the Documents folder before using the Open File script step to open the file. Get(DocumentsPathListing) ensures that multiple scripts can safely read from and write to the same FileMaker Pro database.

Notes 
•In FileMaker WebDirect, the FileMaker Data API, and Custom Web Publishing, this function is not supported and returns an empty string.

igeek are based in Weston-super-Mare and develop Claris / FileMaker database software for clients in Bristol and the South West of England.


Blog entry is closed for new comments.