Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Display topic based on portal

shun6
Giga Sage
Giga Sage

Hi all,

I want to display virtual agent topic based on portal by using topic condition like below image.

When I configured "portal is sp", this topic is only visible at sp portal.

But when I configured another portal like kb, hr, it didnt't work.

Could anyone tell me what is the problem?

Thanks. 

 

 

find_real_file.png

1 ACCEPTED SOLUTION

Community Alums
Not applicable

Hi Shun,

You can refer to these articles which should be helpful to meet your expected requirements:

force a Virtual Agent to use a specific topic on a certain portal

Virtual Agent - Available topics depending on different Service Portals

Mark my answer correct & Helpful, if Applicable.

Thanks,
Sandeep

View solution in original post

3 REPLIES 3

Community Alums
Not applicable

Hi Shun,

You can refer to these articles which should be helpful to meet your expected requirements:

force a Virtual Agent to use a specific topic on a certain portal

Virtual Agent - Available topics depending on different Service Portals

Mark my answer correct & Helpful, if Applicable.

Thanks,
Sandeep

Shree3
Tera Expert

Hi Shun,

To achieve this you can create an agent chat configuration , Select your portal and add your topic sys_id like this :

(function($sp) {

return {

topic: '<your_topic_sys_id>'

};

})($sp);

Hi Shreepriya,

I can achieve my requirement by following your advice.

If I have several topics that I want display certain portal, should I write every topic's sysid at this script?