039 - Dynamically Changing Power Automate Custom Connector Values using Policy Templates

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ก.พ. 2025

ความคิดเห็น • 20

  • @JohnLiuNet
    @JohnLiuNet 4 ปีที่แล้ว

    This is such a nice and detailed video about custom connection policies. Really enjoyed this video.

    • @KentWeare
      @KentWeare  4 ปีที่แล้ว

      Thanks John!

  • @bananahammockxxl
    @bananahammockxxl 2 ปีที่แล้ว +2

    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.

  • @DjangoLohn
    @DjangoLohn ปีที่แล้ว +1

    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?

    • @samuelvanhoore
      @samuelvanhoore ปีที่แล้ว

      Hi Django en Kent, Did you find the solution for this. I'm struggling with this as well.

    • @mcdermid12
      @mcdermid12 9 หลายเดือนก่อน

      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

  • @samuelvanhoore
    @samuelvanhoore ปีที่แล้ว

    Very nice video. But when I create the policy. No parameters show up. Can you explain how you did that?

  • @limyandivicotrico2679
    @limyandivicotrico2679 3 ปีที่แล้ว

    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?

    • @KentWeare
      @KentWeare  3 ปีที่แล้ว

      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

  • @guillermosubiran6879
    @guillermosubiran6879 3 ปีที่แล้ว

    What about policies for Logic App custom connector? I can't find equivalent functionality

    • @KentWeare
      @KentWeare  3 ปีที่แล้ว

      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

  • @maksimdmitrenko
    @maksimdmitrenko 2 ปีที่แล้ว

    Hi! Could you show how to use connectionParameters?

    • @KentWeare
      @KentWeare  2 ปีที่แล้ว

      Can you further describe what you are trying to do?

    • @maksimdmitrenko
      @maksimdmitrenko 2 ปีที่แล้ว

      @@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
      @ivangiacomoni 2 ปีที่แล้ว

      @@maksimdmitrenko did you manage to find how to use connectionParameters?

    • @maksimdmitrenko
      @maksimdmitrenko 2 ปีที่แล้ว

      @@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.

  • @mtb26043
    @mtb26043 3 ปีที่แล้ว

    I get these message : "Invalid parameters template. No property names specified in @headers or @queryParameters or @connectionParameters expression",
    Can you help me?

    • @legweg1149
      @legweg1149 2 ปีที่แล้ว

      I do get the same issue, did you managed to find the mistake ?

    • @samuelvanhoore
      @samuelvanhoore ปีที่แล้ว +1

      Hello Max, dit you find a solution for this?