How to use Dynamic Chaining

Поделиться
HTML-код
  • Опубликовано: 9 июн 2024
  • In this video, I explore the differences between two powerful features: Plugin Actions and Dynamic Chaining Topics. I explain why you may use one over the other. 🚀 Also, learn how to leverage Adaptive Cards within Copilot Studio. I demonstrate how to choose records and execute plugin actions on selected items. I also delve into three strategies for handling translations for multi-language copilots.
    #powerapps #powerplatform #copilotstudio #tutorial #ai #multilingual
    📺Watch part 1: • Chat with external sys...
    🎫Win a 2-Day Ticket to the European Power Platform Conference! 🎉
    I have the privilege to give away a 2-day ticket to the European Power Platform Conference in Brussels. Details on how to participate are in the video - don’t miss out! bit.ly/win-eppc-ticket-with-s...
    🌐 European Power Platform Conference 2024: Join us in Brussels from June 11-13, 2024, at the Square. Connect with fellow enthusiasts, learn from global experts, and immerse yourself in the Power Platform community. 🚀
    -----------------------------
    00:00 Introduction
    02:05 Plugin Action Recap
    02:50 Validating Inputs using Topics
    05:13 Adaptive card to show results and to perform an action
    07:19 Multi-language copilots with validation of inputs
    08:58 Translating list and dynamic text
    11:31 Translating adaptive cards and static text
    13:12 News and competition time!
    -----------------------------
    Code snips:
    Translations:
    {
    OrderStatus:[
    {
    key: "Pending",
    Name: "Pending",
    Language:"English"
    },
    // ...
    // Norwegian Translations
    {
    key: "Pending",
    Name: "Avventer",
    Language:"Norwegian"
    },
    // ...
    ],
    Date:[
    {
    Name:"Date",
    Language:"English"
    },
    {
    Name:"Daddel",
    Language:"Norwegian"
    }
    ]
    // ...
    }
    Adaptive card:
    {
    '$schema': "adaptivecards.io/schemas/adapt...",
    type: "AdaptiveCard",
    version: "1.5",
    body: [
    {
    type: "Container",
    items: [
    {
    type: "TextBlock",
    text: "Order List",
    weight: "Bolder",
    size: "Large"
    }
    ]
    },
    {
    type: "Container",
    items: ForAll(Topic.OrderListByStatus,
    {
    type: "Container",
    items: [
    {
    type: "FactSet",
    facts: [
    {
    title: "ID",
    value: Text(ThisRecord.id)
    },
    {
    title: LookUp(Global.Translations.Date,Language=Text(System.User.Language)).Name,
    value: Text(ThisRecord.orderDate,"dd MMM yyyy")
    },
    {
    title: LookUp(Global.Translations.Amount,Language=Text(System.User.Language)).Name,
    value: Text(ThisRecord.orderTotal,"$#,####")
    },
    {
    title: LookUp(Global.Translations.Status,Language=Text(System.User.Language)).Name,
    value: LookUp(Global.Translations.OrderStatus,Language=Text(System.User.Language) && key = status).Name
    }
    ]
    },
    {
    type: "ActionSet",
    actions: [
    {
    type: "Action.Submit",
    title: $"{LookUp(Global.Translations.MarkAs,Language=Text(System.User.Language)).Name} {LookUp(Global.Translations.OrderStatus,Language=Text(System.User.Language) && key = "Shipped").Name}",
    data: {
    orderId: Text(ThisRecord.id),
    action: "Shipped"
    }
    },
    {
    type: "Action.Submit",
    title: $"{LookUp(Global.Translations.MarkAs,Language=Text(System.User.Language)).Name} {LookUp(Global.Translations.OrderStatus,Language=Text(System.User.Language) && key = "Delivered").Name}",
    data: {
    orderId: Text(ThisRecord.id),
    action: "Delivered"
    }
    }
    ]
    }
    ]
    }
    )
    }
    ]
    }
  • ХоббиХобби

Комментарии • 17

  • @wdalciva
    @wdalciva 3 месяца назад

    Thanks for sharing Scott, I watch your videos as a source of inspiration to create cool stuff like the drag and drop PCF in canvas app 👏

    • @ScottDurow
      @ScottDurow  3 месяца назад +1

      Thank you for watching and the support of my channel 🥰 I really appreciate it. Don’t forget to submit your answer for a chance to win! ✨

  • @rwchecking
    @rwchecking 3 месяца назад

    Thank you and I love it!!!

    • @ScottDurow
      @ScottDurow  3 месяца назад

      Thank you for watching - I love that you commented! 🥰

  • @ssskumar19
    @ssskumar19 2 месяца назад

    Awesome content as always. Thanks Scott for sharing.

    • @ScottDurow
      @ScottDurow  2 месяца назад

      Thank you so much for saying that. I really appreciate the support 🤩

  • @LONGBEACH2ARIZONA
    @LONGBEACH2ARIZONA 5 дней назад

    Scott, your videos are so very helpful. I’m in real need of a solution and I believe you may have an idea. How could someone reach out to you?

  • @Monicapereztips
    @Monicapereztips 3 месяца назад

    Thanks for sharing this information ! Is very usefull!!

    • @ScottDurow
      @ScottDurow  3 месяца назад

      Thank you for watching! ☺️

  • @ArafatTehsin
    @ArafatTehsin 3 месяца назад

    Finally we get some pro videos on this topic 😊

    • @ScottDurow
      @ScottDurow  3 месяца назад +1

      Thank you for your support 🤩 Have you used or plan to use Dynamic Chaining in any projects?

    • @ArafatTehsin
      @ArafatTehsin 2 месяца назад

      @@ScottDurow Absolutely missed it. Yes, we're building a POC for now using Dynamic chaining. Use case is around Retail. Once I am done then I will hopefully be writing a blog post of the similar use-case.

  • @absyoutube1792
    @absyoutube1792 3 месяца назад

    Thank you for the information. It helped me a lot with Copilot. I also want to learn how to customize Dynamics Copilot with custom entities(Context based).

    • @ScottDurow
      @ScottDurow  3 месяца назад

      Thank you for watching and commenting 🙌 Sounds like a great topic to deep dive into - could you describe your scenario a little bit for me? Thank you 🙏

    • @absyoutube1792
      @absyoutube1792 2 месяца назад

      @@ScottDurow I need some help with customizing the Sales copilot. What are the steps to add new prompts to the prompt guide for Custom apps (Modal Driven apps) and Custom entities? If you can share any links or docs please share

  • @moisenach1
    @moisenach1 2 месяца назад

    Hi Scott - I have been following your steps however when I try to save the adpative card after modifying the Power fx code , I get the following error which never goes away : "Missing required property 'OutputType' "- can you please help out ? I have tried basically everything - I can send you the code if needed

  • @shomari169
    @shomari169 3 месяца назад

    And still waiting for pcf course to drop!😅😅😇