knowledgecenter-breadcrum

Knowledge Center

04 Jul, 2022

Convert HTML Description into Plain Text of Email Message Record

Posted on 04 Jul, 2022 by Admin, Posted in Dynamics 365 Power Automate Dataverse Power Platform

Convert HTML Description into Plain Text of Email Message Record Blogs

Convert HTML Description into Plain Text of Email Message Record

Introduction:

In this blog, we will see how we can extract the plain text from email message record in Dataverse.

As we know, when we create email record with description then the description content will be stored in the form off HTML content. So, to get the plain text from the description field of email record. We can use the below step in power automate.

Let see the below example to get little more idea about above action.

Example:

We have created a power automate which triggers on create of email records and extract the plain text from email description field as shown below.

Power Automate details:

Step 1: the trigger point for power automate and it trigger on create of email as shown below:

Step 2:

In this step, we have added the initialize variable action to store the description field value as plain text.

Step 3: In this step, we have used the “Content Conversion” action to get the plain text as shown below:


Step 4: In the final step, we used the set variable action to populate the plain text.

Result:

I have created below email record in CRM.

Power Automate Result:

Comment

This is a Required Field

Loading

Recent Updates

Blogs
18 Jul, 2024

How to use Fiddler to debug your PCF while doing development.

Have you ever felt like you're spending too much time debugging your PCF (PowerApps Component Framework) during development, only to…

READ MORE
Blogs
16 Jul, 2024

How to use Solutions with Power Pages

What is Solution in power Pages? A solution is a container for components such as Website Configuration and Dataverse Components.…

READ MORE
Blogs
15 Jul, 2024

Create a Dataverse table with a SharePoint List

In today’s business world, Organization uses SharePoint lists for document management, and data storage. Let's assume a scenario where an organization…

READ MORE