Introduction to modern Copilot Answer control
Copilot answer is a brand new control. It is a pretty slick control that can be used in a lot of enterprise applications. It allows end users to get generative answers to a predefined list of questions. So, it is not like a chatbot where users can type in their questions but it works perfectly when you want to feed certain questions to the end users.
Properties
- Items - The Dataverse table that the questions will be related to (only Dataverse tables are supported for now)
- Views - Any views of the selected Dataverse table that you want to use to filter the list of records
- Fields - The list of fields needed to answer the list of predefined questions
- Title - The title of the copilot answer control
- Question for Copilot - The question that the copilot answer control will answer
- Show answer - There are 2 options:
- 'CopilotAnswer.LoadingMode'.Lazy (called After sending in the dropdown - is the default value)
- 'CopilotAnswer.LoadingMode'.Eager (called Immediately in the dropdown)
Using modern Copilot Answer control
The first time I used this control, I wondered what's the point of using this control for one question. Or if I should use one control per question. Neither of the two options made much sense. Then, I added a gallery of questions and fed the control with the selected record from the gallery. Here is a working demo of the same:
Stay tuned for the remaining modern controls!
To read the official documentation of modern controls, click here.
Recent articles
- Combobox – Everything you want to know about modern control #5
- Checkbox – Everything you want to know about modern control #4
- Button – Everything you want to know about modern control #3