Description

  1. Add a "File Copy" writer to the workspace.  The "Destination File Copy Directory" should be the same name as your Geodatabase writer "Destination ESRI Geodatabase File" name. eg. c:/temp/austin.gdb
  2. Right-Click on your FILECOPY writer in the Navigator window, and move it to the top of the writers list.  This will ensure that the template file is copied before the Geodatabase writer writes the output file.
  3. To actually copy the file, a feature with the name of the template file must be passed to the FILECOPY writer.  This is done by using a Creator and an AttributeCreator.  Add a Creator to the canvas.  The default settings will work for this transformer.
  4. Connect an AttributeCreator to the Creator.  Create an attribute called filecopy_source_dataset  and set it to the absolute path of the template GDB file.  Use forward slashes--not back slashes.  eg. c:/temp/template.gdb.  Make sure the template file is in a location that is visible to the FME Server--either on the FME Server's local drive, or on a shared network drive.
  5. Connect the AttributeCreator to the FILECOPY destination feature type.
  6. You should probably un-publish the destination file name parameters for both writers.
You can now publish the workspace to FME Server.

A sample workspace is attached.