Skip to main content

Notifications

Power Automate - Using Connectors
Unanswered

Custom Connector: Dynamic dropdown values not loading

(0) ShareShare
ReportReport
Posted on by 5

Hi,

 

I'm trying to use custom action as dynamic drop down but its not working.

 

Here is the sample details

 

V1 Sample is working

V2 Sample is not working

 

Swagger 

 

 

{
 "swagger": "2.0",
 "info": {
 "title": "RM-RestAPI",
 "description": "",
 "version": "1.0"
 },
 "host": "rm-restapi.azurewebsites.net",
 "basePath": "/",
 "schemes": [
 "https"
 ],
 "consumes": [],
 "produces": [],
 "paths": {
 "/api/Values": {},
 "/api/Values/{id}": {
 "get": {
 "responses": {
 "default": {
 "description": "default",
 "schema": {}
 }
 },
 "summary": "V2 Sample",
 "operationId": "v2_sample",
 "x-ms-visibility": "important",
 "parameters": [
 {
 "name": "id",
 "in": "path",
 "description": "request id",
 "required": true,
 "type": "integer",
 "x-ms-visibility": "important",
 "format": "int32",
 "x-ms-dynamic-list": {
 "operationId": "get_v2_addresses",
 "itemsPath": "data/addresses",
 "itemValuePath": "return_address_id",
 "itemTitlePath": "address_name"
 },
 "x-ms-dynamic-values": {
 "operationId": "get_v2_addresses",
 "value-path": "return_address_id",
 "value-collection": "data/addresses",
 "value-title": "address_name"
 }
 }
 ]
 },
 "delete": {
 "responses": {
 "default": {
 "description": "default",
 "schema": {}
 }
 },
 "summary": "V1 Sample",
 "operationId": "v1_sample",
 "parameters": [
 {
 "name": "id",
 "in": "path",
 "required": true,
 "type": "integer",
 "x-ms-visibility": "important",
 "format": "int32",
 "x-ms-dynamic-values": {
 "operationId": "get_v1_addresses",
 "value-path": "return_address_id",
 "value-collection": "data",
 "value-title": "address_name"
 }
 }
 ],
 "x-ms-visibility": "important"
 }
 },
 "/api/V1Addresses/": {
 "get": {
 "responses": {
 "default": {
 "description": "default",
 "schema": {
 "type": "object",
 "properties": {
 "data": {
 "type": "array",
 "items": {
 "type": "object",
 "properties": {
 "return_address_id": {
 "type": "integer",
 "format": "int32",
 "description": "return_address_id"
 },
 "address_name": {
 "type": "string",
 "description": "address_name"
 },
 "address_country": {
 "type": "string",
 "description": "address_country"
 }
 }
 },
 "description": "data"
 }
 }
 }
 }
 },
 "summary": "Get V1 Addresses",
 "operationId": "get_v1_addresses",
 "x-ms-visibility": "important",
 "parameters": []
 }
 },
 "/api/V2Addresses/": {
 "get": {
 "responses": {
 "default": {
 "description": "default",
 "schema": {
 "type": "object",
 "properties": {
 "data": {
 "type": "object",
 "properties": {
 "addresses": {
 "type": "array",
 "items": {
 "type": "object",
 "properties": {
 "return_address_id": {
 "type": "integer",
 "format": "int32",
 "description": "return_address_id"
 },
 "address_name": {
 "type": "string",
 "description": "address_name"
 },
 "address_country": {
 "type": "string",
 "description": "address_country"
 }
 }
 },
 "description": "addresses"
 },
 "total": {
 "type": "integer",
 "format": "int32",
 "description": "total"
 }
 },
 "description": "data"
 }
 }
 }
 }
 },
 "summary": "Get V2 Addresses",
 "operationId": "get_v2_addresses",
 "x-ms-visibility": "important",
 "parameters": []
 }
 }
 },
 "definitions": {},
 "parameters": {},
 "responses": {},
 "securityDefinitions": {},
 "security": [],
 "tags": []
}

 

 

 

Samples

 

Working:

https://rm-restapi.azurewebsites.net/api/V1Addresses

 

 

{"data":[{"return_address_id":123,"address_name":"Add-1","address_country":"QA"},{"return_address_id":456,"address_name":"Add-2","address_country":"UK"},{"return_address_id":789,"address_name":"Add-3","address_country":"PK"}]}

 

 

 

Not Working:

https://rm-restapi.azurewebsites.net/api/V2Addresses

 

{"data":{"addresses":[{"return_address_id":123,"address_name":"Add-1","address_country":"QA"},{"return_address_id":456,"address_name":"Add-2","address_country":"UK"},{"return_address_id":789,"address_name":"Add-3","address_country":"PK"}],"total":3}}

 

 

I will really appreciate if someone can help to resolve the issue

 

Dynamic values stopped working 

[Bug] Custom connector: dynamic values dropdown doesn't work in array 

 

@paulschaeflein 

 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,526

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,907

Leaderboard

Featured topics