Hello,
So currently, we have an action that allows users to request one parameter from a drop-down using x-ms-dynamic-values like this:
We would like to expand it to allow users to select more than one variable. As multiple select on drop-downs is not available my idea was to use type: array and have each item as x-ms-dynamic schema. It seems that the UI and swagger allows to define this:
parameter:
x-ms-summary: Variable 123
required: true
in: query
name: parameter
description: Select a variable from the collection
x-ms-visibility: important
type: array
items:
type: string
x-ms-dynamic-values:
operationId: GetGeoenrichmentParameters
value-path: id
value-title: name
parameters:
country:
parameter: country
datacollection:
parameter: datacollection
(note this code is autogenerated from the wizard)
However, in the flow, this seems to not be working as the fields are not dropdowns.
I tried to manually move the x-ms-dynamic-values under the items but it has the same result.
Does anybody know if it is possible to have an array with multiple dynamic values? This is an option in the wizard so it seems to be a bug on PA side.
Some additional finding for anyone else who's encountering this. It looks like x-ms-dynamic-values is supported for arrays in the "legacy designer" but not the new designer. I'm not sure where we can go to report issues with the new designer tho...
Same issue here on my end.
Michael E. Gernaey
497
Super User 2025 Season 1
David_MA
436
Super User 2025 Season 1
Riyaz_riz11
244
Super User 2025 Season 1