cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sarkasm
Regular Visitor

Request does not contain dropdown value-title in custom connector

I have a custom connector which displays a list of filenames that the user selects. Everything looks fine on the UI side but when the time comes to do a POST request, the filename is not present in the request body. Only the Id is there. Instead of sending filename "Demo..." it sends the number 10.

 

Below are screenshots of the issue:

https://i.imgur.com/FAeM4gP.png 

https://i.imgur.com/Tg1WzhC.png 

The request body with the wrong value (should be the filename).

 

 

/api/Validations/{form_id}:
    post:
      summary: Validate Input
      responses:
        '200': {description: OK}
      parameters:
      - {$ref: '#/parameters/form_id__in_path'}
      - required: true
        name: query
        in: body
        schema:
          type: object
          x-ms-dynamic-values:
            value-path: items
            parameters:
              file_id: {parameterReference: file_id}
              siteurl: {parameterReference: siteurl}
            operationId: GetAvailableSchemas
          x-ms-dynamic-schema:
            operationId: GetFormSchema
            parameters:
              form_id: {parameter: form_id}
            value-path: items
          properties: {}
      x-ms-visibility: important
      operationId: SubmitForm
      description: To validate a incoming message against a selected schema

 

 

 This is the yaml schema for the validation request.

0 REPLIES 0

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (40,284)