Records not showing in the Approval widget

justin_stigall
Kilo Contributor

Records from our facilities_request table aren't showing in the Approvals widget.  As you can see in the images below the link that takes you to the approval form only shows for certain facilities records and even then it isn't the record number like it's supposed to be.  For request made on the change table table, the numbers show just fine.  Anyone know how to fix this? 

find_real_file.pngfind_real_file.pngfind_real_file.png

1 ACCEPTED SOLUTION

ryanlitwiller
Giga Guru

Do you have the display value of the facilities_request table set to whatever the call center field is?

 

Looking at the approvals widget server script it looks like task.number is getting populated by the display value of the record.

 

find_real_file.png

 

You can either update the number column on facilities_request table to have "Display" set to true, or clone the widget and modify your server script to pull the number.

View solution in original post

3 REPLIES 3

ryanlitwiller
Giga Guru

Any errors when you open the console in the F12 inspector tools?

 

Also have you tried to ctrl+right click on the widget and console $scope.data for debugging?

justin_stigall
Kilo Contributor

No errors in the inspector tools but I did find this when I did the $scope.data.  Looks like the task.number isn't populating at all for these request.  Any ideas as to why this would be? Thanks

find_real_file.png

ryanlitwiller
Giga Guru

Do you have the display value of the facilities_request table set to whatever the call center field is?

 

Looking at the approvals widget server script it looks like task.number is getting populated by the display value of the record.

 

find_real_file.png

 

You can either update the number column on facilities_request table to have "Display" set to true, or clone the widget and modify your server script to pull the number.