Display different label for columns in list view for internal and external users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2020 05:18 PM
Is it possible to display different labels for columns in the list view for internal and external users in the portal?
for eg: for internal users, 'Name' should display the same as it is at table level
but for external users 'Name' should appear as 'Customer Name'
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2020 06:01 PM
Hey theUltimateWinner (Kudos on the name),
You can use a client script which checks if the user is internal or external (using GlideAjax or if async getReference). Pseudoscript would look like this:
var internal;
internal = true/false;//logic to set internal as true if user is internal
if(!internal)
{
g_form.setLabelOf('original_field',"Customer Name'');
}
This should work nicely 😉
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2020 08:15 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2020 09:00 PM
It can work at list level too, if you write this in a UI script that runs on the list view for this table. Which will be complex to achieve and not recommended from architectural perspective.
But if you wanna do it anyway, use UI script.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2020 09:58 PM
There is not going to be any good way to do this in the platform UI. Your best bet is going to be to have external users use a Service Portal that way you can completely control things, but it will take more dev time.