Ravindra Lodhi
Kilo Expert

Hi Bharath kumar,

You can use below code in widget that will copy description of record to HTML body.

HTML Script:

<div>Description<br><textarea ng-model=data.description>Enter text here...</textarea></div>

Server side Script:

(function() {
/* populate the 'data' object */
/* e.g., data.table = $sp.getValue('table'); */
var inc = new GlideRecord('incident');
inc.get('57af7aec73d423002728660c4cf6a71c');
data.description=inc.description.toString();
})();

 

find_real_file.png

 I hope this will work.

Thanks