Share via


Raise awareness of Copilot actions on Card, Document, and ListPlus pages

Enabled for Public preview General availability
Users by admins, makers, or analysts Oct 1, 2024 Oct 1, 2024

Business value

In 2024 release wave 1, the developer tools for Copilot in Business Central introduced Copilot prompt actions. These actions bring new ways to highlight Copilot capabilities in your extensions. A prompt action is a standard action that appears more prominently on the page, such as in a floating bar, and connects to the Copilot brand.

The first version of the developer tools supports Copilot prompt actions on List, ListPart, Worksheet, and StandardDialog page types. To provide more Copilot experiences and address partner feedback, the developer tools now support Copilot prompt actions on Card, Document, and ListPlus page types.

Feature details

Use Copilot prompt actions on Card, Document, and ListPlus page types to encourage users to use your copilots on these pages. The required AL code uses the same model as when you add Copilot prompt actions to list pages.

For example, the following code adds four prompt actions to the Customer card through a page extension. Two of the Copilot prompt actions are in a group.

pageextension 50110 "Customer with prompt" extends "Customer Card"
{
    actions
    {
        addlast(Prompting)
        {
            action(DraftWithCopilot)
            {
                Caption = 'Draft with Copilot';
                Ellipsis = true;
                trigger OnAction()
                begin
                    Message('Draft with Copilot pressed');
                end;
            }
            action(OpenModal)
            {
                Caption = 'Open Modal';
                Ellipsis = true;
                trigger OnAction()
                begin
                    RunModal(22);
                end;
            }
            group(PromptGroup)
            {
                action(PromptAction1)
                {
                    trigger OnAction()
                    begin
                        Message('PromptAction1 pressed');
                    end;
                }
                action(PromptAction2)
                {
                    trigger OnAction()
                    begin
                        Message('PromptAction2 pressed');
                    end;
                }
            }
        }
    }
}

The following image shows the user experience on the customer card.

Example of adding Copilot prompt actions to the Customer card

The base application already uses Copilot prompt actions on cards. For example, the Bank Reconciliation card provides multiple Copilot actions.

Example of Copilot prompt actions on the Bank Reconciliation card page in the base application

Important

Update 25.0 changes how Copilot prompt actions behave on all page types. For on-premises deployments, these actions aren't hidden automatically anymore. This change makes it easier for developers to implement and test Copilot extensions before release. To make sure your on-premises customers don't see any disruption, use the Visible AL property to dynamically hide actions for these customers.

Geographic areas

Visit the Explore Feature Geography report for Microsoft Azure areas where this feature is planned or available.

Language availability

Visit the Explore Feature Language report for information on this feature's availability.

Tell us what you think

Help us improve Dynamics 365 Business Central by discussing ideas, providing suggestions, and giving feedback. Use the forum at https://aka.ms/bcideas.

Additional resources

Launch Copilot experience (docs)