Skip to content

Commit 8812463

Browse files
authored
[excel] (Power Automate) Update email chart image sample to use new PA designer (#742)
* Update article to reflect the new PA designer supporting code in Outlook actions * Reupload screenshot
1 parent 93fed25 commit 8812463

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed
32 KB
Loading
84.3 KB
Loading

docs/images/new-designer-off.png

-1.61 KB
Binary file not shown.

docs/resources/samples/email-images-chart-table.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Email the images of an Excel chart and table
33
description: Learn how to use Office Scripts and Power Automate to extract and email the images of an Excel chart and table.
4-
ms.date: 11/30/2023
4+
ms.date: 05/21/2024
55
ms.localizationpriority: medium
66
---
77

@@ -94,9 +94,8 @@ interface ReportImages {
9494
This flow runs the script and emails the returned images.
9595

9696
1. Create a new **Instant cloud flow**.
97+
9798
1. Choose **Manually trigger a flow** and select **Create**.
98-
1. This sample requires Power Automate features that aren't supported in the [new flow designer](/power-automate/flows-designer) (adding HTML to an email). Switch to the old designer with the toggle in the upper-right corner of the screen.
99-
:::image type="content" source="../../images/new-designer-off.png" alt-text="The toggle to use the new flow designer in the off state.":::
10099

101100
1. Add a **New step** that uses the **Excel Online (Business)** connector with the **Run script** action. Use the following values for the action.
102101
* **Location**: OneDrive for Business
@@ -109,7 +108,7 @@ This flow runs the script and emails the returned images.
109108
1. This sample uses Outlook as the email client. You could use any email connector Power Automate supports, but the rest of the steps assume that you chose Outlook. Add a **New step** that uses the **Office 365 Outlook** connector and the **Send and email (V2)** action. Use the following values for the action.
110109
* **To**: Your test email account (or personal email)
111110
* **Subject**: Please Review Report Data
112-
* For the **Body** field, select "Code View" (`</>`) and enter the following:
111+
* For the **Body** field, select "Code View" (`<>`) and enter the following:
113112

114113
```HTML
115114
<p>Please review the following report data:<br>

0 commit comments

Comments
 (0)