Skip to main content

So I have two database connections in Tools | FME Options | Database Connections.

One connection connects to our TEST database, the other to our PRODUCTION database.

I am wanting to setup a published parameter so that the user is prompted for it, then they can select either of the two connection files, when they run the workbench.

I cannot work out how to create a parameter and reference the database connections.

Is this possible?

Do they have the same name?

Do they reference the same input tables/feature classes?

If yes:

Then you can export the corresponding connection files info as .xml file format, and share with other users so they can import at their end, all is done within the Database Connections dialog you mentioned. Just select both the TEST and PRODUCTION databases entries (multi-select) then, right click, choose Export..., but for other users to select Import... (one time setup process).

And as you have already added the Reader, its published parameter is ready for you to choose from either the TEST, or, the PRODUCTION database.


Reply