Trying to dot-walk in a widget

gjz1
Giga Expert

Hi all, I need more help.  I'm trying to dot-walk to a field in a widget but it doesn't seem to work.  I'm in Madrid and have customized the Ticket Conversations widget.  I need to get some data from the REQ from the RITM.  Here is a snippet of my code:

<div ng-show="data.hasWritableJournalField" class="input-group">
<textarea ng-keypress="keyPress($event)"
sn-resize-height="trim"
rows="1" id="post-input"
class="form-control no-resize overflow-hidden"
ng-model='data.journalEntry'
ng-model-options='{debounce: 250}'
ng-attr-placeholder="{{getPlaceholder()}}"
aria-label="{{getPlaceholder()}}"
autocomplete="off"
ng-disabled="data.request.request_state == 'pending_signoff'"
ng-change="userTyping(data.journalEntry)"/>

 

What am I doing wrong?

Thanks for the help.

1 REPLY 1

vkachineni
Kilo Sage
Kilo Sage

You will have to store the value in the field on the serverscript

In server script set

data.request.request_state = state of the request

 

These are javascript obects...not gliderecords.

 

Please mark Correct and click the Thumb up if my answer helps you resolve your issue. Thanks!
Vinod Kumar Kachineni
Community Rising Star 2022