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"
}
}
]
}
]
}
)
}
]
} Хобби
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 👏
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! ✨
Thank you and I love it!!!
Thank you for watching - I love that you commented! 🥰
Awesome content as always. Thanks Scott for sharing.
Thank you so much for saying that. I really appreciate the support 🤩
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?
Thanks for sharing this information ! Is very usefull!!
Thank you for watching! ☺️
Finally we get some pro videos on this topic 😊
Thank you for your support 🤩 Have you used or plan to use Dynamic Chaining in any projects?
@@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.
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).
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 🙏
@@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
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
And still waiting for pcf course to drop!😅😅😇