Skip to main content

Notifications

Power Automate - Connector Development
Unanswered

Dynamic Properties for both input and output does not populate outputs as expected

(0) ShareShare
ReportReport
Posted on by 81

Hello friendly team!

 

We have developed a connector that has its inputs defined via an x-ms-dynamic-schema.

 

The inputs are defined here: https://github.com/microsoft/PowerPlatformConnectors/blob/dev/certified-connectors/WooCommerce/apiDefinition.swagger.json#L443

 

The outputs are then specified here: https://github.com/microsoft/PowerPlatformConnectors/blob/dev/certified-connectors/WooCommerce/apiDefinition.swagger.json#L461

 

This is a trimmed sample of the request, with both input and output included:

 

{

    "schema": {

        "type": "object",

        "properties": {

            "id": {

                "x-ms-summary": "Resource id",

                "type": "integer",

                "description": "Unique identifier for the resource."

            },

            "parent_id": {

                "x-ms-summary": "Parent id",

                "type": "integer",

                "description": "Parent order ID."

            },

            "number": {

                "x-ms-summary": "Number",

                "type": "string",

                "description": "Order number."

            },

            ...

         }

  },

  "post": {
 "type": "object",
        "properties": {

            "parent_id": {

                "x-ms-summary": "Parent id",

                "type": "integer",

                "description": "Parent order ID."

            },

            "status": {

                "x-ms-summary": "Status",

                "type": "string",

                "description": "Order status.",

                "enum": [

                    "auto-draft",

                    "pending",

                    "processing",

                    "on-hold",

                    "completed",

                    "cancelled",

                    "refunded",

                    "failed"

                ],

                "default": "pending"

            },

           ...

      }

  }

}

 

 

We are observing the "id" field is not being returned in outputs and that the outputs more closely resemble the inputs.

However, the items do not exactly match so it's really not clear how this is happening.

 

Is it possible to use x-ms-dynamic-properties for both input and outputs as we have done?

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,567

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,907

Leaderboard

Featured topics