How can i change the Link URL for the popoup on GENAI results
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2025 11:33 PM - edited 06-19-2025 12:09 AM
How can i change the Link URL for the popoup (Learn More) on GENAI results.
Currenlty it is redirecting to external link -
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1298697
Need to redirect to an internal KB Article
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2025 03:39 AM - edited 06-20-2025 03:40 AM
Hello @Manpreet Kaur,
href attribute (for hyperlinks) or other relevant properties. The exact steps will depend on the specific GENAI tool or platform you are using. -
1. Identify the GENAI tool/platform:Determine which GENAI tool or platform is generating the popup (e.g., a specific AI model, a chatbot, a tool within a larger platform like ServiceNow).
-
2. Locate the popup's code:Find the code responsible for creating the popup window and its content. This might involve searching through the tool's documentation, source code (if accessible), or configuration files.
-
3. Access the link element:Identify the specific HTML element (e.g., an
<a>tag) that represents the link you want to modify within the popup. -
4. Update the
hrefattribute:Use JavaScript to access the link element and update itshrefattribute with the desired new URL. For example:
// Assuming 'linkElement' is the reference to your link element
linkElement.href = "new_url_here";
- Test the changes: After making the changes, test the popup to ensure the link now points to the correct URL.
- Access the Virtual Agent's topic or script that creates the popup.
- Locate the HTML element for the link within the script's output.
- Use JavaScript to update the
hrefof that link element with the new URL. - Test the change by triggering the Virtual Agent to display the popup.
-
Security:Be cautious when modifying code from external tools or platforms. Ensure any changes are made in a safe and controlled environment to avoid unintended consequences.
-
Documentation:Refer to the documentation of your specific GENAI tool or platform for guidance on customizing popups and links.
-
Testing:Thoroughly test your changes to ensure they work as expected and don't introduce any errors or unexpected behavior.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2025 11:59 PM
Hi @Manpreet Kaur have you got a solution about this? I have the similar requirement.
