Skip to main content
Question

List parameter


Forum|alt.badge.img
Hi, I have a model that contains a files that has information about multiple projects. I would like to pass a parameter to allow the user to select on or multiple projects from a list. Any thoughts? guidance? advice?

 

Thank you

3 replies

takashi
Contributor
Forum|alt.badge.img+19
  • Contributor
  • August 17, 2013
Hi Gerardo,

 

 

How about creating a published parameter whose type is "Choice (Multiple)" ?

 

You can import  parameter values (i.e. choices) from a file when defining the parameter.

 

Takashi

Forum|alt.badge.img
  • Author
  • August 19, 2013
Takashi, thanks for your response!!

 

I had tried that,  but when  I ran the model, nothing happened, all projects ran. I

 

added a parameter fetcher and it didnt work either. Am I missing something?

 

 

Thanks

takashi
Contributor
Forum|alt.badge.img+19
  • Contributor
  • August 20, 2013
Hi Gerardo,

 

 

I suppose you need to run the projects (workspaces) whose file names were selected as the published parameter (choices).

 

If my understanding is right, this workflow might be a solution.

 

(image)

 

 

Assume the parameter (WORKSPACE_NAME) value is white-space-separated workspace names (full paths).

 

 

Takashi

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