Forum Discussion
FICO
17 years agoCommunity Manager
Reg: RMA display
Reg: RMA display Hi , i need to know is there any way by which we can link two parameters together. Example there is a drop down which contains some values for example A,B and C now when i select...
FICO
17 years agoCommunity Manager
One way to link them is to implement another parameter to the "canadian states provider". Just create a single parameter(NdStaticSingle...?) the same place those other parameter definitions are created. You only need a name, I think, other than that the defaults will be fine. Let's call it "selectedItem".
Now, in addition to being able to specify a key/value list, the provider can also take another parameter ('selectedItem'), and the process of providing that parameteris the same as for the code template with a template argument.
Let's say you have a function template F1, with value holders V1 and V2. V1 is the value holder whose type is a class properties provider, whereas V2 is the value holder whose type is the "canadian states" provider. Expand the definition of V2, click "Set Arguments". For "selectedItem" (or whatever you called the argument), choose "Dynamic Override", and select V1 as the source of the value.
Because V2 is defined by a custom provider, you need to write some code in the custom provider to accept the parameter, validate it, and set the selected value in your value holder accordingly.
Good luck
Regards,
Jostein