- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2022 12:47 AM
Hello, is there any way to make a topic visible for specific users and not visible for others?
In details, I need to make it visible if the "company" attribute from the user record has specific value.
Should it be done within topic properties script condition? Is there a kind of variable that can be used (similar to "vaContext.liveagent_portal" one but dedicated to logged in user)?
Regards
Marcin
Solved! Go to Solution.
- Labels:
-
Multiple Versions
-
Virtual Agent

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2022 02:20 AM
Hi Marcin,
yes there are options to make it visible for only specific users.
1. Go to VA designer
2. Open topic, go to properties
3. open the script section and paste the value
(function execute() {
if (vaInputs.user.company == 'name of company of sysid')
return true;
else
return false;
})()
if the company name is a reference then pass the sysid or else string value. You can also use getDisplayValue() to get the company name.
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2024 08:45 AM
@Sai Gopal by login page, do you mean portal's home page? if so you can add a agent chat configuration or virtual agent widget to the page.