cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

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 Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

Top Kudoed Authors
Users online (3,672)