Add additional columns to the My_Requests widget

Steven Watts2
Tera Guru

Hi,

 

I'm trying to add the assigned to value to the My_Requests widget. 

 

StevenWatts2_0-1715330319564.png

I've added the following:

HTML (Lines 150 - 154)

<div role="cell" class="col-xs-3 padder-l-none padder-r-none assigned-column">
            <div class="assigned">
              <span> {{::item.assigned_to}}</span>
            </div>
</div>

Server Script (Lines 249 - 252)

record.secondary_displays = getField(gr, 'short_description');
record.assigned_to = gr.getDisplayValue('assigned_to');   <-- Here
record.updated_on = gr.getValue('sys_updated_on');
record.state = gr.getDisplayValue('state');

 Has anyone else done something similar and knows what i've missed?

 

5 REPLIES 5

Hi @Natahlie Nativi 

Yeah, we were able to get this working with the assistance from @swathisarang98 above.

 

StevenWatts2_0-1731507804493.png

 

Steven