Azure logic app for Javascript code with html

Ajay 21 Reputation points
2021-10-19T16:41:28.237+00:00

Hi Team,

I have been working on Azure logic app with Javascript and Html code together. But I am able to embed CSS stypes to html body but not able to embed javascript code. Can i get support in this like how to embed Javascript and Html code together.

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,143 questions
{count} votes

Accepted answer
  1. MayankBargali-MSFT 70,451 Reputation points
    2021-10-20T06:37:19.6+00:00

    @Ajay In that case you need to define a variable in your workflow with your formatted HTML text and use this variable in your body parameter for your send email action. When you directly use HTML text in the body parameter then it treats it as the string value and in the code view, it converts it to HTML format.

    Note: You cannot define CSS class. You need to specify the formatting inside the element.

    Workflow:
    142023-image.png

    Formated Email :
    142003-image.png


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.