Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Service Portal: How to get value from angular ng-template in widget in a variable on record producer

Ridhima_1
Tera Contributor

Hi,

I have a widget on record producer with angular ng-template for "Subject" (which is editable) in the portal. The requirement is to set short description of records generated from that record producer as the "Subject" entered by end user on portal.

Template in angular ng-template:

<div class="row bottom-border">
<div class="col-sm-1"><h4>Subject:</h4></div>
<div class="col-sm-11 expertbox" id="request_subject" style="margin-left: 0px;">
<input class="form-control" ng-model="selectedItem.short_description"/>
</div>
</div>

Ridhima_1_0-1716186421072.png


Thanks in advance!

Regards

0 REPLIES 0