Issue in logic app custom action/trigger with dynamic schema.

sureshsankar 16 Reputation points
2021-08-31T06:50:02.233+00:00

We have implemented logic app custom action/trigger to show fields based on value selected in drop-down using dynamic schema as mentioned in https://learn.microsoft.com/en-us/connectors/custom-connectors/openapi-extensions#use-dynamic-schema. Now initially when I choose car it loads fields related to car, if I change dropdown value to food, it loads fields related to food and car fields which are previously loading. I want to load fields related to dropdown selected value only.

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,348 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Robert smith 0 Reputation points
    2025-02-04T15:18:39.29+00:00

    It sounds like the previous fields aren't getting cleared when switching the dropdown selection. You might need to reset or refresh the dynamic schema when the value changes. Have you tried forcing an update by clearing the existing fields before loading new ones?

    This reminds me of how AI-powered editing apps like Photoleap dynamically adjust tools based on selected effects—removing irrelevant options to keep the UI clean. A similar approach might work here, ensuring only relevant fields are displayed when the dropdown value changes.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.