Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a workspace whose command line call is like so:

fme.exe DwgImporter.fmw
          --SourceDataset_ACAD Z:\FME\Data\DWGs\*.dwg
          --DestDataset_MSSQL_ADO IHS_TPW
          --SourceDataset_GEODATABASE_SDE sde

Is it possible to somehow add my own custom input arguments that can then be read from within the workflow? Something like:

fme.exe DwgImporter.fmw
          --SourceDataset_ACAD Z:\FME\Data\DWGs\*.dwg
          --DestDataset_MSSQL_ADO IHS_TPW
          --SourceDataset_GEODATABASE_SDE sde
          --CustomArg1 arg1
          --CustomArg2 arg2

Or does anyone know of another way to pass in variables at runtime?

share|improve this question

More generally, you need what is called a "published parameter" -- you don't have to use the ParameterFetcher to pull them out in a workflow either. This FAQ describes what I'm talking about very concisely, and if you grab section 4 of the online FME self study course at, on page 4-24 and 4-25 these are explained more as well.

Hope this helps.


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.