The easiest way to do this correctly, is to configure a (Feature)Reader reading a file geodatabase, and then from the existing dataset, choose User Parameters → Create User Parameter.
If you want to do it manually from the User Parameters config, you need to choose the type File/Folder/URL and make sure “Items to select” is set at Geodatabase.
File geodatabases need a different approach as it is a folder with an extension and do not behave as expected.
Hi @nielsgerrits
Thanks for this, so i can’t use a generic reader to read a gdb on FME flow?
My Gallery App needs to be able to read in a number of different formats, and i don’t want another feature reader using the specific gdb reader.
Thanks,
No experience with gallery apps, so I’m not sure on that part.
I think you can use one generic reader, but you will need 2 different parameters, one for regular files and one for file geodatabases. I can imagine that is what you prefer not to have.
A workaround could be to create a choice parameter for filetype, then 2 parameters for file or geodatabase with conditional visibility based on the choice.