-
Notifications
You must be signed in to change notification settings - Fork 6
Description
One of the parameter types that exists inside LiveOS is called FileList. It is basically a GDD Select, but the items in the list are dynamic based on the content of a folder.
A typical use case (and one that is used every day in production by multiple LiveOS clients) is a folder with images. Without updating the graphics template, operators can manipulate the list of images to select from by simply adding/removing files from that folder. You might argue that you could use the GDD File path (or Image File path) type, but then the operator needs to search the image every time somewhere on the file system. And in some cases, the computer of the operator doesn't have access to that folder.
The final name of this new type is to be discussed, but it should contain the following options:
folder: the folder to scan the files. In LiveOS, this is currently restricted to a relative path from the base folder (i.e. the folder of the manifest file). To be discussed whether we want this broader.extensions: a filter to only show files based on extensions (I assume this is sufficient, we probably don't need a full regex-based filter)
What are your thoughts?