Trying to dot-walk in a widget
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2019 12:47 PM
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.
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2019 12:50 PM
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.
Vinod Kumar Kachineni
Community Rising Star 2022