Note to any future watchers: headers should not contain underscores, so if you use a header instead of a query param, don't use an underscore like he used in the param example in the video. Some web servers will discard headers with underscores to prevent header spoofing.
Hi Kent, adding a Policy does NOT just add the Url Template as a parameter in the Actions section.... How did you get the new_url parameter get added to the Request actions? You say through the "Import from sample" but how does your sample look like?
Note for anyone still looking for this: you will want to add ?new_url=temp or something similar to the end of your URL in the sample to generate the new_url query parameter
Hi @Kent Weare, is it possible to change the HOST URL for all the other Definitions, so I call the Set URL only once in the first time, and then all the preceding definitions will use the same URL?
You can choose which operations that you want the template to be applied to. See this image and look for the Operations section cdn.document360.io/d9568273-28c0-486c-8750-64643e7f5f97/Images/Documentation/5-policy.png
I did check it out and you are right. Logic Apps is behind on the investments for custom connectors including template policies and the new custom code capability. Not sure if/when that is changing. Someone on Logic Apps team would need to comment
@@KentWeare I do the similar thing (replace the host) and use the connector in a canvas app, but I would like to know how to use connectionParameters not queryParameters.
@@ivangiacomoni, you can't do it. I use parameter in HostName (first Connector Page) and then "Set Host URL" in Policies. It works. Any time Connector is a toy. Use Power Automate HTTP Request - No headache with Connections.
I get these message : "Invalid parameters template. No property names specified in @headers or @queryParameters or @connectionParameters expression", Can you help me?
This is such a nice and detailed video about custom connection policies. Really enjoyed this video.
Thanks John!
Note to any future watchers: headers should not contain underscores, so if you use a header instead of a query param, don't use an underscore like he used in the param example in the video. Some web servers will discard headers with underscores to prevent header spoofing.
Hi Kent, adding a Policy does NOT just add the Url Template as a parameter in the Actions section....
How did you get the new_url parameter get added to the Request actions?
You say through the "Import from sample" but how does your sample look like?
Hi Django en Kent, Did you find the solution for this. I'm struggling with this as well.
Note for anyone still looking for this: you will want to add ?new_url=temp or something similar to the end of your URL in the sample to generate the new_url query parameter
Very nice video. But when I create the policy. No parameters show up. Can you explain how you did that?
Hi @Kent Weare, is it possible to change the HOST URL for all the other Definitions, so I call the Set URL only once in the first time, and then all the preceding definitions will use the same URL?
You can choose which operations that you want the template to be applied to. See this image and look for the Operations section cdn.document360.io/d9568273-28c0-486c-8750-64643e7f5f97/Images/Documentation/5-policy.png
What about policies for Logic App custom connector? I can't find equivalent functionality
I did check it out and you are right. Logic Apps is behind on the investments for custom connectors including template policies and the new custom code capability. Not sure if/when that is changing. Someone on Logic Apps team would need to comment
Hi! Could you show how to use connectionParameters?
Can you further describe what you are trying to do?
@@KentWeare I do the similar thing (replace the host) and use the connector in a canvas app, but I would like to know how to use connectionParameters not queryParameters.
@@maksimdmitrenko did you manage to find how to use connectionParameters?
@@ivangiacomoni, you can't do it. I use parameter in HostName (first Connector Page) and then "Set Host URL" in Policies. It works. Any time Connector is a toy. Use Power Automate HTTP Request - No headache with Connections.
I get these message : "Invalid parameters template. No property names specified in @headers or @queryParameters or @connectionParameters expression",
Can you help me?
I do get the same issue, did you managed to find the mistake ?
Hello Max, dit you find a solution for this?