Field Value is not being displayed on the List View

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2018 04:14 AM
Hi All,
We are facing an issue on the Incident form, we have a Location field on the form which displays the Caller's Location.
The Location is a combination of the (Workstation+Floor+Building+Location) values.
Now, when any incident gets created the Location field gets populated properly with the Combination of values but the same is not visible in the List View, the Location field shows empty.
Can someone help me with the issue so that in List View under Location Column we are able to see the exact Location field value for the particular Incident.
Thanks and Regards,
Angshuman

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2018 04:21 AM
Hi Angshuman,
Kindly go through link once as it seems to be an ACL issue where either Table level or Field level ACL condition is not be followed.
Thanks,
Jaspal Singh
Hit Helpful or Correct on the impact of response.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2018 04:43 AM
Hi,
I don't think this is related to the ACL, because let me give you an example :-
If a User A has Location as IND, then it is visible in the list view. whereas if any user is having a combination of values then only it is not visible in the list view.
Please find the screenshot below:-
User Profile -
As visible Building, Floor, Workstation is blank so value in Location field is 'IRV' and as you can see below when the particular User is a Caller the Location shows exact value in the List View
Now, If the user has all the fields filled in User Profile, then the Location is displayed as below-
Please find when the user raises an incident how Location field displays on the form and on List View:-
I guess now you will understand the issue.
Thanks,
Angshuman

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2018 05:01 AM
Can you help me understand few things?
a) How is that field being populated on the user form? Is it a calculated field?
b) How is that field being placed on the incident form? Is it being dot-walked? or done via a GlideAjax lookup at runtime?
c) How is the field being placed on the list?
Example, if you're using a client script to populate user.location on the incident form, it's never really saved to the incident record. Therefore, no value will appear on the list.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2018 06:12 AM
Hi Chuck,
Yes the field is getting populated on the user form, where for the Location field we have a Calculated Value , where we are using the below script:-
(function calculatedFieldValue(current) {
var workstation = current.u_workstation.full_name;
var floor = current.u_floor.full_name;
var building = current.u_building.full_name;
var location = current.location.full_name;
if (!workstation.nil())
return workstation;
if (!floor.nil())
return floor;
if (!building.nil())
return building;
if (!location.nil())
return location;
})(current);
Thanks,
Angshuman