Returns a Pipebar (|) delimited String value that lists the files in the selected folder.
SppGetFiles([Root Folder],[File Extension],[Include File Extension])
Where:
Root Folder is the folder from which the files will be listed.
File Extension is the file extension of the files to show. Leave as empty string to show all files.
Include File Extension is TRUE to show the extension for each file, FALSE to just show the file name.
Rule | Result | Meaning |
---|---|---|
SppGetFiles("C:\MyDocuments\SW\Roller","",TRUE) | Bearing.SLDPRT|Bracket.SLDPRT|RollerMountAssembly.SLDASM| RollerMountAssembly.SLDDRW | Will list all files, including extension, in the specified folder. |
SppGetFiles("C:\MyDocuments\SW\RollerBracket",".SLDDRW",TRUE) | RollerMountAssembly.SLDDRW | Will list all files with the extension .SLDDRW in the specified folder. |