Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

More info in service portal approval

JDickson
Kilo Expert

Hi,

Is it possible to add more information in the below view of approvals.Often there can be 10-15 approvals pending and clients want the option to approve them here with a quick overview of what they are approving. If additional time has been requested we want to show the request and reason etc.

find_real_file.png

 

Thanks

John

1 ACCEPTED SOLUTION

Looks like those fields are on task table, still you can get them from approval table, as you have an relation.

add this in your widget , server code widget

t.u_hours_required= task.u_hours_required.toString();

t.u_reason = task.u_reason.toString();

and in HTML add 

<div ng-if="approval.task.u_hours_required"><label>${Hours Required}</label> {{::approval.task.u_hours_required}}</div>

<div ng-if="approval.task.u_reason "><label>${Reason}</label> {{::approval.task.u_reason }}</div>

 

View solution in original post

6 REPLIES 6

Looks like those fields are on task table, still you can get them from approval table, as you have an relation.

add this in your widget , server code widget

t.u_hours_required= task.u_hours_required.toString();

t.u_reason = task.u_reason.toString();

and in HTML add 

<div ng-if="approval.task.u_hours_required"><label>${Hours Required}</label> {{::approval.task.u_hours_required}}</div>

<div ng-if="approval.task.u_reason "><label>${Reason}</label> {{::approval.task.u_reason }}</div>

 

JDickson
Kilo Expert

Thanks Vignesh, That works great