- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2019 01:07 PM
The Card response has a hyperlink in the title of the card that links to the default service portal "/sp"
We do not use the default value however, so I need to change that. However, I can't find where the link is generated in order to change the property that it grabs. Anyone have any idea where I can find it?
Thanks!
Solved! Go to Solution.
- Labels:
-
Virtual Agent

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-09-2019 12:53 AM
Small update:
Which portal you want the record to opened in is controlled by "sn_itsm_va.com.snc.itsm.virtualagent.portal_url" property.
Unfortunately, this is not dynamic as the VA is not able to get users session information.
Steps to resolve the issue are as follows:
- Go to sys_properties.list
- Find "sn_itsm_va.com.snc.itsm.virtualagent.portal_url" property
- Change the portal as per your business requirements. Now the bot cards will open in that portal.
I just checked this for Incidents. Haven't checked the behavior yet for other cards generated.
Also, if you would have the Virtual Agent on multiple portals, this does affect the Virtual Agent on all of those portals.
Kind regards,
Mark
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-11-2019 08:35 AM
Thanks man. My script appears to be the same with the except of the incident fields to display. I'm going to go ahead and open a ticket in HI now in light of your response there. Thanks!
(function execute(){
var incident = new GlideRecord('incident');
incident.get(vaInputs.create_incident);
var title = {
url: gs.getProperty('glide.servlet.uri') + '/'+
gs.getProperty('sn_itsm_va.com.snc.itsm.virtualagent.portal_url') +
'?sys_id=' +incident.sys_id + '&id=ticket&table=incident',
lable: incident.number
};
var fieldlist = ['short_description', 'description', 'priority'];
var cardRenderer = new global.VaRecordCardRederer(true);
var fields = cardRenderer.createFields(fieldlist, incident);
var html = cardRenderer.renderCard(title, fields);
})();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-11-2019 09:32 AM
Funny story, so I open my Dev instance this morning and preview my conversation and now all of a sudden it works. I haven't changed anything in that instance since making the original post. So weird. I was in the middle of opening an incident in HI and was documenting the steps to reproduce the issue and voila. Thanks for all your help, I'll make the answer correct because that does fix the issue. It's almost like my instance needed time for the change to propagate or something weird.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-23-2020 10:16 PM
sometimes it is coming black for some test and for OOBT feedback topic response message is also coming as balnk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2020 06:07 AM
Hello there !
I tried looking for that Sys Property, but I couldn't find it
Do I need to install something or create anything?
Thank you 😄
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-20-2024 04:51 PM
Posting this for anyone who comes to this thread so long after -
System Properties can be found by typing sys_properties.list into the filter navigator, then searching for "sn_itsm_va.com.snc.itsm.virtualagent.portal_url". If you're not familiar with how these sys_properties work, I do not recommend changing them without consulting an experienced developer.