Skip to main content
Solved

Save Parameters for use in other workbenches

  • September 10, 2023
  • 8 replies
  • 116 views

ingalla
Contributor
Forum|alt.badge.img+10

Hello

Is it possible to create user parameters and save them for use in other workbenches?

I have numerous workbenches that all load different data however some of the parameters will be the same and used in every workbench.

I have looked at the documentation, but cant see anything obvious. If these created parameters could be saved to either a database, or file to allow sharing with others that would be even better...

Regards

Andy

 

 

Best answer by mattmatsafe

@ingalla​ If you have FME Flow 2023+ in addition to FME Workbench 2023+, you can use deployment parameters. Deployment parameters are stored centrally on FME Flow and can be referenced across many workspaces. Please see Getting Started with Deployment Parameters to learn more.

View original
Did this help you find an answer to your question?

8 replies

redgeographics
Celebrity
Forum|alt.badge.img+49

You can create a template workspace with all those user parameters, but otherwise empty, then use that as a starting point for any new workspace you're going to develop.


joepk
Influencer
Forum|alt.badge.img+20
  • Influencer
  • September 11, 2023

You could look into using something like a CSV or an Excel file to store your parameters. Then if you want to use the parameters you can fetch them using a Reader and store them in an attribute.


ingalla
Contributor
Forum|alt.badge.img+10
  • Author
  • Contributor
  • September 16, 2023
joepk wrote:

You could look into using something like a CSV or an Excel file to store your parameters. Then if you want to use the parameters you can fetch them using a Reader and store them in an attribute.

Thanks both for the responses - i guess what i am after is a database. I could potentially have over 100 workspaces, therefore if the values in the parameter needed to change, i only wanted to change it once and it would then show across all workspaces using that parameter...going to have to think about this one.

Thanks again


mattmatsafe
Safer
Forum|alt.badge.img+13
  • Safer
  • Best Answer
  • September 20, 2023

@ingalla​ If you have FME Flow 2023+ in addition to FME Workbench 2023+, you can use deployment parameters. Deployment parameters are stored centrally on FME Flow and can be referenced across many workspaces. Please see Getting Started with Deployment Parameters to learn more.


ingalla
Contributor
Forum|alt.badge.img+10
  • Author
  • Contributor
  • September 20, 2023

@mattmatsafe​ that is perfect, absolutely what I was after, just the smallest request, could the icon stay green and not change back to pink in desktop to save confusion and differentiate the parameter types


mattmatsafe
Safer
Forum|alt.badge.img+13
  • Safer
  • September 21, 2023
ingalla wrote:

@mattmatsafe​ that is perfect, absolutely what I was after, just the smallest request, could the icon stay green and not change back to pink in desktop to save confusion and differentiate the parameter types

Great!

For the most part, the icon should remain green, however, I do see that if a deployment parameter is used as a Rule Configuration value in an Attribute Validator, or in other cases where the control is an inline drop-down list, it does not. I have created an internal ticket for that to be addressed in a future version (ID FMEFORM-29466).


ingalla
Contributor
Forum|alt.badge.img+10
  • Author
  • Contributor
  • September 21, 2023
mattmatsafe wrote:

Great!

For the most part, the icon should remain green, however, I do see that if a deployment parameter is used as a Rule Configuration value in an Attribute Validator, or in other cases where the control is an inline drop-down list, it does not. I have created an internal ticket for that to be addressed in a future version (ID FMEFORM-29466).

@mattmatsafe​ where are these deployment parameters stored? and is there a way to export them to share them with other authorities? I checked the docs but cant see anything???


mattmatsafe
Safer
Forum|alt.badge.img+13
  • Safer
  • September 21, 2023
mattmatsafe wrote:

Great!

For the most part, the icon should remain green, however, I do see that if a deployment parameter is used as a Rule Configuration value in an Attribute Validator, or in other cases where the control is an inline drop-down list, it does not. I have created an internal ticket for that to be addressed in a future version (ID FMEFORM-29466).

@ingalla​ they are stored in FME Flow in the Deployment Parameter Store.

You can export and import them into different FME Flow instances by creating an FME Flow Project using the web UI.

For database and web connection deployment parameters, you'd need to include the connections as well, since the deployment parameter value just points to the name of the connection to use. But for text deployment parameters, this isn't necessary.

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings