cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
pbijvani
Level: Powered On

multiselect dropdown with x-ms-dynamic-values

I there any way allow the user to select multiple values when using x-ms-dynamic-values for a parameter? May be a dropdown with multi select option or a list box where we can select multiple value. Basically trigger from my custom connector  need to send an array of string for subscription. I have tried to set property type as array but its not helping.

 

        "features": {
          "description": "features",
          "type": "array",		  
          "items": {
            "type": "string"
			},
			"x-ms-dynamic-values": {
			  "operationId": "getForms",
			  "value-path": "Id",
			  "value-title": "title"
			}		  
        }	

Is there some other way to implement this or is it not supported?

 
 
2 REPLIES 2
Community Support Team
Community Support Team

Re: multiselect dropdown with x-ms-dynamic-values

Hi pbijvani,

 

Please check these two docs for a reference:
https://swagger.io/docs/specification/2-0/describing-parameters/#path-parameters

https://swagger.io/docs/specification/2-0/describing-parameters/#array-and-multi-value-parameters

 

From the above doc we know that Path, query, header and form parameters can accept a list of values, a multi-value parameter must be defined with type: array and the appropriate collectionFormat. Please check the above doc for more details.


Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
pbijvani
Level: Powered On

Re: multiselect dropdown with x-ms-dynamic-values

Thanks for information. 

 

Actully my question was how to configure x-ms-dynamic-values to render multi-select dropdown in Microsoft workflow interface? I got your point that all types of parameter supports multi-value but to capture that value dynamically using dropdown or listbox? As noted in my orginal question I have configured x-ms-dynamic-values but its not rendering multiselect dropdown in workflow neither the documentation of x-ms-dynamic-values mentions anything about that.

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Users online (5,381)