web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Custom connector in ca...
Power Apps
Unanswered

Custom connector in canvas app: how to select default parameter for action

(2) ShareShare
ReportReport
Posted on by 138

Hi,

I have created a custom connector to an Azure API and added it to my canvas app. One of the connector actions has a fixed query parameter which I have set to "Required" and "Internal" and specified the query text as default in the custom connector settings. When I go to add an action call in my canvas app it shows that there is a parameter required, and that there is a default value, but I can't figure out how to get it to use the default value! If I leave it blank it complains about the missing parameter, if I put a value it overrides the default (which I never want to do for this action). I tried putting the Default property as the parameter, which the app designer UI was happy with, but then my API tries to use that as the query string and fails. It seems like this should be simple but I'm missing something. Any help greatly appreciated.

Thanks,

Greg

Categories:
I have the same question (0)
  • poweractivate Profile Picture
    11,078 Most Valuable Professional on at

    @packnology 

     

     

     

    If the Required Schema Property is set to No instead of Yes in the Custom Connector schema definition for that parameter, and the Default value is left in there in the schema definition, what happens? So now after changing the Required from Yes to No (but making sure a Default Value is still defined in the Schema), try to omit the argument from the PowerApps formula entirely - does this end up including the default value anyway, in the way you want, in the actual API call that is sent to the back-end? 

     

    Check if the above works.

  • UshiraShehan Profile Picture
    4 on at

    Hi @packnology ,

    I found the solution for the problem.

     

    You can choose No for the required option and then choose "advanced" for the Visibility option. A screenshot is attached herewith for your reference.

     

    FYI; the visibility options as follows:

    • important - operations and parameters are always shown to the user first.
    • advanced - operations and parameters are hidden under an additional menu.
    • internal - operations and parameters are hidden from the user.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard