cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sandeepnmenon
Microsoft
Microsoft

Disable dynamic expression for an attribute of Custom Connector

Scenario: I have a custom connector defined. I do not want users using dynamic content/expression in one of my field. How do I disable this feature? Is there any attribute in the swagger definition against a schema to disable this?
1 ACCEPTED SOLUTION

Accepted Solutions

Hi @sandeepnmenon,

 

Yes, you are right.

Currently there is no way to disable the Dynamic Content/Expression usage within Microsoft Flow portal, or through the Custom Connector definition.

 

For the error code/Error messages mentioned by Barry, I think he means to define the Failure Response Body within the OpenAPI file.

Describing responses

 

For the Input Reminder, based on what I know, there is no way to implement that.

Hope staff @Samuel could share more information on this issue.

 

Best regards,

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-bacao-msft
Community Support
Community Support

Hi @sandeepnmenon,

 

Do you mean that this field can only fill the content manually, and can't use Expression to modify the content?

Sorry, I am not familiar with the custom connector. I don't know if we can disable such input during the process of creating a custom connector.

Hope that the following links can help you a little:

https://docs.microsoft.com/en-us/connectors/custom-connectors/

https://docs.microsoft.com/en-us/connectors/custom-connectors/define-openapi-definition

https://docs.microsoft.com/en-us/connectors/custom-connectors/define-blank

In addition, you could consider adding a hint to the corresponding field like other actions, prompting the user not to use Dynamic or Expression when configuring this field.

If possible, you could also add error codes and error messages, showing that this field cannot use function inside Expression.

 

Best Regards,

Barry

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you @v-bacao-msft for the links.

 

Yes I mean that this field can only fill the content manually, and can't use Expression to modify the content.

 

My scenario cannot have users adding expressions in that field. (Users can ignore the hint).

 

Error codes and error messages hinder user experience, but if my ask is not possible this would seem the way to go.

Can you provide an example of giving error messages using a condition like mine?

 

Currently there seems to be no support of disabling dynamic expressions for a field.

 

@v-bacao-msftCan you provide an example of giving error messages like you mentioned using a condition like mine?

Hi @sandeepnmenon,

 

Yes, you are right.

Currently there is no way to disable the Dynamic Content/Expression usage within Microsoft Flow portal, or through the Custom Connector definition.

 

For the error code/Error messages mentioned by Barry, I think he means to define the Failure Response Body within the OpenAPI file.

Describing responses

 

For the Input Reminder, based on what I know, there is no way to implement that.

Hope staff @Samuel could share more information on this issue.

 

Best regards,

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,420)