26. 03. 2019 Gabriele Cecco Service Management

Add Some Style to Your Notifications

Some time ago, a customer told me about his need to produce, via EriZone, a summary document containing the data collected in the ticket dynamic fields.

One way to do this is to take advantage of the EriZone Ticket Notification Module.

Using the native editor in the notification module, I created an HTML table and formatted the various sections in different ways to separate them graphically.

The final result was the desired one, but since the use of the native editor only allows for simple settings (format, font, size, align and a few others), I looked for a more flexible solution.

I then tried to create an HTML document directly within the notification form itself by adding a style sheet (CSS). You can see (and modify) the HTML source instead of the text notification simply by clicking on the sourcebutton.

Adding a style sheet exceeds the limits of the native editor, but makes the notification much more attractive.  The style must be inserted before the HTML of the notification text. 

You can use the site https://divtable.com/table-styler/for example to quickly create the CSS and the structure of the table that interests you.  I suggest you create the table as a<div>and not as a <table>since it makes the text responsive.

To complete your notification you can add images and/or company logos. To do this, you have to convert each image into a base64 string using for example this online service: https://www.base64-image.de/

And if You Need to Send a Notification at a Certain Time?

Simple! Create a dynamic field and change it into a transition action or an activity dialog. Then trigger the field in the notification by filtering it for the value you’re going to set and you’re done: your notification is ready to be sent.

If you have any doubts or questions, don’t hesitate to ask your trusted EriZone consultant. 

Gabriele Cecco

Gabriele Cecco

Technical Consultant at Würth Phoenix
I’m Gabriele Cecco, a consultant at Wuerth Phoenix with extensive experience in ITSM processes. Over the years, I’ve worked with various ITSM software tools, and since 2020, I’ve specialized in the Atlassian suite, earning certifications and helping many companies configure their Atlassian products. In my free time, I enjoy listening to science and entertainment podcasts, watching movies and TV series, and traveling. I’m passionate about exploring the world, and when I’m not traveling abroad, I love spending weekends in South Tyrol with my wife and our minivan, Windy.

Author

Gabriele Cecco

I’m Gabriele Cecco, a consultant at Wuerth Phoenix with extensive experience in ITSM processes. Over the years, I’ve worked with various ITSM software tools, and since 2020, I’ve specialized in the Atlassian suite, earning certifications and helping many companies configure their Atlassian products. In my free time, I enjoy listening to science and entertainment podcasts, watching movies and TV series, and traveling. I’m passionate about exploring the world, and when I’m not traveling abroad, I love spending weekends in South Tyrol with my wife and our minivan, Windy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Archive