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
MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

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

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (65,692)