Azure / Azure/LogicAppsUX

Styling Does Not Apply to Dynamic Contents in HTLM Editor in V3

Open
#5,194 4 comments 0 reactions 1 assignee Assigned to @Eric-B-Wu View on GitHub
Dominant language
TypeScript
Stars
111
Forks
109
Avg merge
1d 23h
Merged PRs (30d)
20

Description

### Describe the Bug with repro steps

1. Set up flow as below

![image]()


2. In the Send an Email action, add some text to body of email and make sure to include some arbitrary dynamic content

![image]()


3. Highlight the al the text in the email body, including dynamic content, and apply some formatting -- color, bold or font.


4. Save and run flow, what you will get is styling only applied to static content and not the dynamic part of the text like below where color only applied to static text.

![image]()

### What type of Logic App Is this happening in?

Consumption (Portal)

### Are you using new designer or old designer

New Designer

### Did you refer to the TSG before filing this issue? [https://aka.ms/lauxtsg]()

Yes

### Workflow JSON

```json
{
"definition": {
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"contentVersion": "1.0.0.0",
"staticResults": {
"Send_an_email_(V2)0": {
"status": "Succeeded"
}
},
"triggers": {
"When_an_email_is_flagged_(V3)": {
"type": "ApiConnectionNotification",
"inputs": {
"host": {
"connection": {
"name": "@parameters('$connections')['office365-1']['connectionId']"
}
},
"fetch": {
"pathTemplate": {
"template": "/v3/Mail/OnFlaggedEmail"
},
"method": "get",
"queries": {
"to": "tbabatunde@microsoft.com",
"importance": "Any",
"fetchOnlyWithAttachment": false,
"includeAttachments": false,
"folderPath": "Inbox"
}
},
"subscribe": {
"body": {
"NotificationUrl": "@listCallbackUrl()"
},
"pathTemplate": {
"template": "/GraphFlaggedMailSubscriptionPoke/$subscriptions"
},
"method": "post",
"queries": {
"importance": "Any",
"fetchOnlyWithAttachment": false,
"folderPath": "Inbox"
}
}
},
"splitOn": "@triggerBody()?['value']"
}
},
"actions": {
"Send_an_email_(V2)": {
"type": "ApiConnection",
"inputs": {
"host": {
"connection": {
"name": "@parameters('$connections')['office365-1']['connectionId']"
}
},
"method": "post",
"body": {
"To": "tbabatunde@microsoft.com",
"Subject": "Hello",
"Body": "

Apply styling to @{triggerBody()?['from']}

",
"Importance": "Normal"
},
"path": "/v2/Mail"
},
"runAfter": {}
}
},
"outputs": {},
"parameters": {
"$connections": {
"type": "Object",
"defaultValue": {}
}
}
},
"parameters": {
"$connections": {
"value": {
"office365-1": {
"id": "/subscriptions/e1f4ebc5-f80b-40c0-9027-93c34668bf5d/providers/Microsoft.Web/locations/centralus/managedApis/office365",
"connectionId": "/subscriptions/e1f4ebc5-f80b-40c0-9027-93c34668bf5d/resourceGroups/designer/providers/Microsoft.Web/connections/office365-4",
"connectionName": "office365-4"
}
}
}
}
}
```

### Screenshots or Videos

*No response*

### Browser

Chrome

### Additional context

On debugging, it is clear that selection is correct but styling is not implemented for dynamic content.

![image]()

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.