04-08-2022 08:18 AM
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();
})();
I hope this will work.
Thanks
0
Helpfuls