Power Dynamics
  • Power Dynamics
  • 🍕My name
  • D365 CE
    • Copilot
      • 🥐Add Copilot into Rich Text Control
    • Sales
      • Copilot in D365 Sales
      • Export record to PDF
    • Customer Experience
      • Contact Center (Omnichannel)
        • 🐚Internal Live Chat in MDA
        • 📢Add Chat Widget to Power Pages - Proactive Chat
      • Attachment Control
      • Case Routing: Basic Routing rule set
      • Custom SLA for any Entity
      • Customer Insight
        • Journey - Custom Trigger - Call Power Automate
    • Field Service
  • Power Platform
    • Analytics
    • Dataverse
      • Use case for the feature of Record ownership across Business Unit
      • 💡Workaround: Change the OOB "Exchange Rate" of a record
      • Using a Virtual Entity to store historical log (sample)
      • Disable Empty Address record
      • Using Adaptive card
      • Block Unmanaged Customizations
      • 🪃Recycle Bin on Dataverse (Preview)
    • Model Driven App
      • 💡Run SSRS report on MDA mobile
      • 💡Tip: Create a Security Role with "App Opener" minimum privileges
      • Tag @person to notify in MDA
      • Auto search on the Lookup field
      • Activities with multiple related records
      • Embedded Power BI - Dashboard
      • Embedded Power BI - Form
      • "Custom Help" - Is it help?
      • New modern Command Bar
      • Tip: Hide the button "Add Existing Record" on subgrid
      • Custom Page - Why not?
      • Hiding sensitive column data
    • Canvas App
    • Fabric & Power BI
      • New Text slicer
      • Dataverse link to Microsoft Fabric
      • 💡Leveraging Interactive Warehouse Floor Maps in Power BI
      • Calculation Group for Time Intelligence
    • Power Automate
      • ✅Sequential Approval
      • 📤Create an Appointment by Outlook Graph API
      • Dowload SSRS Report and Send email
      • Power Automate: Add a table in Email
      • 💡Tips: Get "DisplayName" of the Lookup field on Power Automate
      • E-sign: Power Automate & DocuSign
  • D365 Finance & Operation
    • General
      • 🇻🇳D365 FnO - Virtual entities: Use case
    • Finance
      • Consolidating Customer & Vendor Balances
    • Supply Chain
      • Landed Cost Series
        • Landed Cost- Essential Configuration
        • Landed Cost Scenarios 1
Powered by GitBook
On this page
  • 1. How to add the Rich Text Editor control?
  • 2. Customize Rich Text Editor Control - Add Copilot button
  • 2.1 Create Web Resource - add Copilot to rich text editor control
  • 2.2 Add Web Resource into Rich Text Editor control on the form
  • Testing now...

Was this helpful?

  1. D365 CE
  2. Copilot

Add Copilot into Rich Text Control

#D365, #Copilot, #PowerPlatform

PreviousCopilotNextSales

Last updated 1 year ago

Was this helpful?

Hello, my friends,

Did you use the Copilot on Email form?

Both my client and I have tested this solution and found it effective. Copilot can enhance these suggestions by making them clearer, more concise, and more engaging.

Subsequently, I discovered that this Copilot functionality can be integrated with the Rich Text Editor control for any desired entity, enhancing its functionality.

1. How to add the Rich Text Editor control?

I created a custom entity called "Devices" in my Sales Hub app. After that, I created a field "Note" - with type: Multiple lines of text

Okay.. firstly, I will add the Rich Text Editor control for the field "Note" on the Device's main form without any customizations.

The original Rich Text Editor control (green box) has no Copilot button.

2. Customize Rich Text Editor Control - Add Copilot button

2.1 Create Web Resource - add Copilot to rich text editor control

Now, I will create the Web Resource to add the Copilot button in the Rich Text Editor control on the Device Main form.

My sample code as below:

// JavaScript
{"defaultSupportedProps": {
    "extraPlugins": "copilotrefinement",
    "toolbarLocation": "bottom",
    "toolbar":[{ "items": ["CopyFormatting","FontSize", "Bold", "Italic", "Underline", "BGColor", "CopilotRefinement"]}]
}
}

2.2 Add Web Resource into Rich Text Editor control on the form

Finally, we need to add this web resource for the Rich Text Editor control on entity Form - as my sample is Device form. Then Save and Publish the form.

As Microsoft Recommendation:

Testing now...

At present, the Copilot feature for Rich Text Editor control is limited to refining paragraphs, but there is hope that this functionality will become more robust soon.

Reference link:

In my solution, I created a web resource as below. You can find the sample code from

For more Rich Text Editor control customization, you can find the .

"If you want to , enter the relative URL of its configuration file, a JavaScript web resource that contains the properties you want to change, in the Static value box. If you leave this field empty, the editor uses its default configuration".

Check the result now...

Thank you for reading & Hoping well. [NTD]yns.asia

☺️
🎉
🥅
https://learn.microsoft.com/en-us/power-apps/maker/model-driven-apps/copilot-control
MS Link.
Link
customize the editor
🥐
Page cover image
Copilot in the Email
Origin Rich Text Editor Control - on Device form
Web Resource to add "Copilot" button in the Rich Text Editor control
Add Relative URL (of Web Resource) in the Static Value of the Rich Text Editor control
Testing - Copilot in Rich Text Editor