Question

Give parameter an attribute value


Badge
Hello,

 

 

I would like to know if there is a way to give a published parameter a default value from an attribute?

 

 

Thanks,

 

 

Gabriel

4 replies

Userlevel 2
Badge +17
Hi Gabriel,

 

 

No, we can't change published parameters at run-time unfortunately.

 

 

Takashi
Userlevel 2
Badge +17
If you have to set a value read from a dataset to a published parameter of the workspace, consider creating another workspace having a WorkspaceRunner. You can pass a value to a published parameter of the main workspace and run it through the WorkspaceRunner.

 

 

Takashi
Badge
I belive this will solve my problem, Takashi.

 

 

Thanks!
Userlevel 4
Badge +13
You could try to create an attribute containing the default value and publish it as described in here (see Parameters: Attribute Name Parameter)

 

Reply