Click here to Skip to main content
15,891,424 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Has anyone been made aware of how to embed html into SharePoint Online/Office 365 as we previously had in on prem environments with SharePoint Designer? I have tried to embed a basic html set of tags with a background color, but it isnt being read(sample below):

<!DOCTYPE html>
<html>
<body style="background-color:lightgrey;">
Hello,

The following email has been submitted by %username% , please review and act accordingly:

Status: New
Staff Impacted: test background color
Title: title
Issue Type: Reports
Description:
tester​
Date Created: 12/28/2015 12:14:44 PM
</body>
</html>
Posted

1 solution

hi,

I've implemented the above method for my workflow email.

please follow the below steps to achieve the html email.

1.Create a list with multi line text column.

2.Click the edit Item option

3.Change the html source from the top ribbon with your custom HTML code.

4.For workflow email read the above list item and into a string and send it across.

you will get the email in html.

Hope this helps.

Please drop me a mail if you need the source code.
sasisprite@gmail.com


Hope you got some idea with this.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900