Skip to main content

I'm working on a project for FME Server where a user will be able to pass variables into a URL and get a download of a dataset. One of the requirements that I'm hitting a snag on is how to create a parameter that can be used to name the output file (geodatabase, pdf, or shapefile). Right now it's defaulting to dataset.gdb.

TIA,

David

In general the Generic writer takes the parameters of any writer for that output format in the workspace.

So create a dummy writer for the GDB output (without a fetaure type to write to) and the Generic writer will inherit the parameters from that writer if the GDB format for the Generic writer is chosen.


@runneals If you create a published parameter just a simple text field and then link this parameter to the output destination like below

Now when you publish you can allow the end user to select the output file name

Or if you didnt want the end user to select you can still create a filename from this location with a timestamp or other required information


@runneals If you create a published parameter just a simple text field and then link this parameter to the output destination like below

Now when you publish you can allow the end user to select the output file name

Or if you didnt want the end user to select you can still create a filename from this location with a timestamp or other required information

Doh! Thanks for the help, I didn't notice that until now.

 


Reply