Having a Widget that can save information

Hi I was wondering if anyone has built a custom widget where essentially it uses a Text Area to allow  a user to type in information and then it is saved to the widget. So essentially Id like to make a work note on the case that allows an analyst to type in relevant information to be saved. The issue I am having is finding a way to keep the text in the box when switching views it is wiped.

Here is the html it is very basic widget atm.

<!DOCTYPE html>
<html>

<head>
<style>
body {
background-color: #EDEFF6;
color: #4E4F63;
font-family: Arial;
}
textarea {
padding: 12px 20px;
box-sizing: border-box;
border: 1px solid #ccc;
font-size: 16px;
font-family: Arial;
resize:none;
width: 100%;
outline: none;
border-radius: 4px;
}
img {
width: 200px;
height: auto;
}
</style>
</head>

<body>
<img src="https://www.servicenow.com/content/dam/now-www/en-us/images/global-nav/logo/servicenow-header-logo.s..." alt="ServiceNow Logo"><br><br>
<b>Please Submit all work notes in to the text area below</b> <br><br>
<textarea rows="40" cols="70">


</textarea>
</body>
</html>

If anyone has some ideas or can direct me to a resource would be greatly appreciated.

Thanks

1 2 74
2 REPLIES 2

Hi, @SoarMike, have you tried to use the Case Description widget on the Case View (Settings -> Case Data -> Views -> Case View)? 

Basically, it allows to input any plain text without formatting:

f3rz_0-1713248461692.png

 

We really shouldn't be encouraging using the Case Description together with the Case Wall to put quantifiable data. Data needs to have specific fields for storing such data and should have the ability for the analyst to modify (select and multiselect would be the primary options).