Populate parameterList at runtime

Comments

1 comment

  • Avatar
    michiel

    It's possible to add multiple options with <addChoiceOptionsFromText>.

    <addChoiceOptionsFromText>
          <name>your_parameter</name>
          <text>
    option1=Option 1
    option2=Option 2
    option3=Option 3
         </text>
    </addChoiceOptionsFromText>
    

    The script would need to output the options in that format to be able to use the stdout of <runProgram>:

    <addChoiceOptionsFromText>
          <name>your_parameter/name>
          <text>${program_stdout}</text>
    </addChoiceOptionsFromText>
    

Please sign in to leave a comment.