Skip to content

Ability to loop through multi-choice parameter #332

@Gwen-Microsoft

Description

@Gwen-Microsoft

It would be nice to be able to loop through the multichoice parameter type, since the values are already stored in a string array. Example:

PlasterManifest.xml:

<parameters>
  <parameter name='Regions' type='multichoice' store='string' prompt='Select regions'>
    <choice label="Europe"
            value="Europe"/>
    <choice label="Asia"
            value="Asia"/>
  </parameter>
</parameters>
<content>
  <file source='' destination='${Plaster_PARAM_Regions}\build.ps1' />
</content>

If both were selected, would create:

Europe\build.ps1
Asia\build.ps1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions