How to warning or info for attachments section in Remedy ITSM

It is often customer requirements to have some instruction or note to the added in the attachment fields so that users do not provide any personal data to the ticket. This blog explains how to add such instructions via creation custom CSS file.

MyIT 3.3 to 18.08

%TOMCAT_HOME%/webapps/tenant-custom-res/000000000000001/style-myit.css

Add the following contents to the css file, if css file is newly added then you need to restart after adding the details.

Code:

/* MyIT P Data message Attachment section*/

.srd-attachments__size-message:after {

    color: red;content: “\A Do not attach files contains personally identifiable data!”; white-space: pre;text-align: left;

}

Result:

DWP 19.02 and above

DWP 19.02 onwards css is maintained in db , hence you need to update the below value to the Content column file name ‘adapt-css-bs4.min.css’;

Note: You will have to restore these customizations when you upgrade system.

Code:

/* DPW P Data message Attachment section*/

.adapt-uploader__label-wrp:after { content: “\A Do not attach files contains personally identifiable data!”;color:red; white-space: pre;font-weight: bold;font-size: 12px;}

Result:

Smart IT (1.5.x and above)

Smart IT Activity notes

%TOMCAT_HOME%/webapps/tenant-custom-res/000000000000001/style-smartit.css

Add the following contents to the css file, if css file is newly added then you need to restart after adding the details.

Code:

/* Smart IT P Data message Activity Notes section */

 

.timeline-note__controls.clearfix:after {

    content: “Note: Do not add personally identifiable data in notes or attach files contains personally identifiable data”; color: red;font-size: 12px;font-weight: bold; text-align: left; }

 

/* Smart IT P Data message Ticket Summary section */

.ticket-summary__attach-tool:after {

    content: “\A Do not attach files contains personally identifiable data!”;  color: red; text-align: left; white-space: pre;}

 

Results:

Activity Notes Section

Smart IT Ticket Description Attachment section

 

Remedy Mid-Tier

In Remedy we need to add the css details to existing ARSystem.css file. The file located in the below path. After adding you must restart the tomcat service to reflect the changes. The change will be reflected in every attachment pools.

/opt/bmc/ARSystem/midtier/resources/standard/stylesheets/ARSystem.css

Code:

 

/* Remedy P Data message in add attachment */

 

table.PopupAttInner:after {white-space: pre;font-size: 11px;color: red; text-align: left; content: “Do not attach files contains personally identifiable data!”;}

 

Result:

Posted in Blogs, Remedy and tagged , , , , , , , .