Skip to main content
Nintex Community Menu Bar
Solved

K2 Five HTML Notification

  • December 12, 2017
  • 2 replies
  • 79 views

Hi,

 

Is there a way to construct personalized html notifications with images in K2 Five?

 

Thanks

Best answer by khanh1

Hi,


 


I did a quick test with Send Email step and it seems to work. Perhaps, it will work with notifications too.


 


1.  Figure out where you want to store the images. For this example, I'm using SharePoint Image library to store the images.


https://portal.denallix.com/ImagesLibrary/K2_logo.png


2. Add Send Email step and use <img src> in the Email Body 


<div> 
<img src="https://portal.denallix.com/ImagesLibrary/K2_logo.png" alt="K2 Test Logo">
</div>

 



 


3. The email will look like this from the end user.


2 replies

Forum|alt.badge.img+16
  • Answer
  • December 21, 2017

Hi,


 


I did a quick test with Send Email step and it seems to work. Perhaps, it will work with notifications too.


 


1.  Figure out where you want to store the images. For this example, I'm using SharePoint Image library to store the images.


https://portal.denallix.com/ImagesLibrary/K2_logo.png


2. Add Send Email step and use <img src> in the Email Body 


<div> 
<img src="https://portal.denallix.com/ImagesLibrary/K2_logo.png" alt="K2 Test Logo">
</div>

 



 


3. The email will look like this from the end user.



  • Author
  • December 22, 2017

Hi khanh, I tried your solution and is working.

 

There is a problem with that, so if you put HTML with linebreaks then as you can see in your email the image is moving down because of the line breaks.

 

We found 2 solutions for that:

 

  1. Linearize html to avoid this line breaks
  2. Put html in a variable to avoid the line breaks in the text editor

Both solutions are working.

 

Thanks again!