How to add borders for notification

Kruthik M Shiva
Tera Contributor

Hi All,
I have a requirement to add border as below attached screenshot in the notification can anyone, please help me in how to add borders in notification. also please tell what all needs to be done for this and how to do it.
PFB screenshot for reference
Thanks in advance.

3 REPLIES 3

Jaspal Singh
Mega Patron
Mega Patron

Hi Kruthik,

 

You might think of using Notification templates to use it for notifications as well & not specific. There is an article that you can go through to understand & build something for your use case.

manjusha_
Kilo Sage

@Kruthik M Shiva 

 

Refer below link for your requirement

https://www.servicenow.com/community/sysadmin-forum/help-to-update-table-in-email-notification-scrip...

 

If my answer solved your issue, please mark my answer as Correct & 👍Helpful based on the Impact

Thanks,

Manjusha Bangale

Shreya Wani
Tera Guru
Tera Guru

Hi @Kruthik M Shiva,

 

You can achieve this in the following two ways.

 

- By creating an email template


Email templates are created in rich HTML format, and administrators have the option of converting existing email templates to rich HTML (starting with the Eureka release). This format provides several advantages, including:

  • Raw HTML content is converted into a WYSIWYG format.
  • The content can be edited in a feature-rich HTML editor.
  • Mail scripts are condensed into a single, easy-to-read line that can be reused in multiple email notifications.
  • To prevent broken links, images linked using URLs relative to a particular instance are converted to absolute links.

For more information, check out this ServiceNow product doc

https://docs.servicenow.com/bundle/rome-servicenow-platform/page/administer/notification/concept/c_E...

 

- By creating email content in a sys_ui_message for every object (Incident, Change, Requested Item, Catalog Task, etc). You can also setup the notification theme in the message(in your case, setting up a border).

 

Messages can be utilized to provide translations for several different scenarios where Info, Error, and other system messages are displayed. These messages are used in a number of areas in the system to display placeholder text, help text information, etc throughout the UI. They can also be used as a time-saving mechanism while generating system messages so that they always have the same look and feel but also contain the required dynamic content.

 

Check out the below post which shows how to create and configure email content in a message.

https://www.servicenow.com/community/developer-articles/configurable-notifications-delegating-email-...

 

If you feel that I have assisted you in any manner, please mark my comment as helpful/correct.

 

Thanks,

Shreya