Logo
banner

Blogs

Set Default Font style and Size of Email in Dynamics 365 Sales

, February 23, 2022 4758 Views

In this blog we will see how we can set default font style and font size for the Email records in Dynamics 365 Sales.

To achieve this, we need to follow the steps below:

  • Create a new web resource
  • Bind the new Web resource to the required email form where the changes need to be seen.

 

Create a new Web Resource:

  • Navigate to Advanced Settings -> Customizations -> Customize the System

  • Under Web Resources search “EmailRTEConfig”.

  • There may be more than one Web Resource with the above file name. One is the default I.e., Out of Box file that cannot be modified. The other can be used as a reference and we will use that to create a new Web Resource.

  • Select the Web Resource that has Customizable “True
  • Under General Tab in the Content section, click on Text Editor.
  • Copy the code from the Source Tab.

  • Create new Web Resource and paste the code that we have copied from the step above.
  • Apply changes as required and remove the additional code in which you haven’t made any changes. In our case, we will only have the code below which will set default font as “Arial” and font size as “10”. Example code is below the image.

{
"defaultSupportedProps": {
"font_defaultLabel": "Arial",
"fontSize_defaultLabel": "10"
}
}
  • After applying the changes click Save and publish. Save the URL of the new Web Resource because we will use that to map with our Email form

Bind the new Web Resource to the Email Form:

  • Under Email Entity, select the form on which you need to set the default font style and size. In our case we have selected “Email” form.
  • Double click on the Description field and under Controls Tab select “Rich Text Editor Control”. Select “Custom configuration URL” property and paste the URL that we have copied from Step 1 to “Bind to a static value”.

  • Save and publish the form.

In CRM you can see the results, whenever you open the Email form and when you click on the Description field, default selected font will be “Arial” and size will be “10”.

Hope this helps!

 


ATM Inspection PowerApp to ease ATM inspection and report generation process.
https://www.inkeysolutions.com/microsoft-power-platform/power-app/atm-inspection

Insert data into Many-to-Many relationship in Dynamics CRM very easily & quickly, using the Drag and drop listbox.
http://www.inkeysolutions.com/what-we-do/dynamicscrmaddons/drag-and-drop-listbox

Comply your Lead, Contact, and User entities of D365 CRM with GDPR compliance using the GDPR add-on.
https://www.inkeysolutions.com/microsoft-dynamics-365/dynamicscrmaddons/gdpr

Create a personal / system view in Dynamics CRM with all the fields on the form/s which you select for a particular entity using the View Creator.
http://www.inkeysolutions.com/what-we-do/dynamicscrmaddons/view-creator

mm

Inkey

INKEY is your solution partner.
Our focus is to deliver you in-time intelligent innovative solutions ("key") for the problems in hand. Maintaining a quality standard right from the inception of a project is our top most priority.

Our team of talented professionals will execute your projects with dedication and excellence. We take ownership and accountability for the effort that goes into meeting our client’s needs.

Years of experience and proven success of delivering innovative custom solutions.

More posts by

Leave a Reply

Your email address will not be published.

The maximum upload file size: 2 MB. You can upload: image, audio, video, document, spreadsheet, interactive, text, archive, code, other. Drop file here

Want to know how we can help move your business to cloud? Enter your email address below