Skip to main content
Solved

Generic Writer (File GDB)

  • February 10, 2017
  • 3 replies
  • 33 views

runneals
Supporter
Forum|alt.badge.img+29

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

Best answer by ciarab

@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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

erik_jan
Contributor
Forum|alt.badge.img+23
  • Contributor
  • February 10, 2017

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.


ciarab
Contributor
Forum|alt.badge.img+9
  • Contributor
  • Best Answer
  • February 12, 2017

@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
Supporter
Forum|alt.badge.img+29
  • Author
  • Supporter
  • February 13, 2017

@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.