Conversational Interfeaces - URL Navigation/Target Location/URL Pattern

Wardma
Tera Guru

Hello Any and All, I am looking to modify the URL Pattern in parent window using the Service Portal rather than the /now/virtual-agent/content/catalog,forms,knowledge/ 
Im not sure where these URL's are being passed so I can modify their destination. I dont want the virtual agent to use the above link instead I want it to use the service portal's corresponding pages. 

Wardma_0-1690474929313.png

I want to replace the URL Pattern with my own.

1 ACCEPTED SOLUTION

Wardma
Tera Guru

Found the appropriate change by switching to the Legacy Tokyo behavior until Washington release.

View solution in original post

10 REPLIES 10

syasinsin
Tera Contributor

how to change Target Location? Can it go to the esc portal like esc?id=sc_cat_item&table=sc_cat_item&sys_id=XXXXXXX

@syasinsin please provide additional content maybe a screen shot of the URL so that we can understand exactly what it is you're wanting to do. ESC refers to the Employee Service Center. All of the portal pages should be displayed when selecting the All > Portals. I'm not going to speculate or assume exactly what you want to do in this reference as it may be out of context. 

Hi Wardma,

Which script include are you referring to in the prior reply? I found the system property does work but would like to investigate the script include you refer to. Thanks.

 https://yourservicenowinstance.service-now.com//now/nav/ui/classic/params/target/sys_script_include_...

Name: VATopicsHelper
API Name: globa.VATopicsHelper

Starting around Lines 84-89 is one part. 
And again another routing is done in; 149-161
Again in Lines 195-208

These specific lines indicate where the virtual links presented in the chat are navigating to. Additionally, the conversational interface or CI Admin Experience, does have a URL Navigation section that can be configured based on your page routing. 

Thanks Wardma. I will check it out. 

 

I have tried the URL mapping and target logic but it does not work. I showed it to support and have had the ticket open for several weeks while they try to determine why it is not working as expected. That would be the best solution in our case but so far it has not helped. So may check out that script include as a fallback.