How to add link to external website in HTML Widget Service Portal

Ramesh16
Kilo Contributor

How to add link to external website in HTML Widget Service Portal

1 ACCEPTED SOLUTION

Pranav Bhagat
Kilo Sage

You can use a tag in the html and if you want to open it in new tab use target = '_blank' as attribute.

 

<a href="https://www.servicenow.com">Servicenow</a>


Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Pranav

View solution in original post

12 REPLIES 12

Zapata221
Tera Contributor

1. Go to the Service Portal Designer.
2. Create a new HTML widget or open an existing one.
3. In the HTML code, add a link tag (<a>) with an href attribute that contains the URL of the external website.
4. Add the text that should be displayed as the link.
5. Save the widget and the link will appear in the Service Portal.

Habibi CapCut
Tera Contributor

Certainly, here are the simplified steps to add a link to an external website in an HTML widget on a service portal:

  1. Log In: Log in to your service portal's content management system.

  2. Widget Management: Navigate to the section where you manage or create widgets for your service portal.

  3. Create/Edit Widget: Create a new HTML widget or locate the existing HTML widget you want to edit.

  4. Add Link:

    • Look for a text editor or content input area in the widget editor.
    • Type the text you want to use as the link. For example, "Visit Our Website."
    • Select the text you just typed.
    • Look for the "Insert Link" or "Hyperlink" button in the editor's toolbar. It might look like a chain link icon.
    • Click the "Insert Link" button.
  5. Enter Link URL:

    • A dialog box will appear. Enter the URL of the external website you want to link to.
    • Make sure to include the full website address (e.g., https://habibicapcut.net).
  6. Set Link Target:

    • Check if there's an option to set the link target. Choose "_blank" or "New Tab" to make the link open in a new browser tab.
  7. Save Changes: Save your changes in the widget editor.

  8. Preview: Preview your service portal to ensure the link appears as intended and opens the external website when clicked.

Remember to adjust the steps based on the specific interface of your service portal's content management system. The provided steps are a general guideline, and the actual options and buttons might vary depending on the platform you're using.

Habibi CapCut
Tera Contributor

In a Service Portal HTML widget, you can add a link to an external website by using the following steps:

  1. Open your Service Portal HTML widget for editing.

  2. Within the HTML content of the widget, create a hyperlink (<a>) element.

  3. Set the href attribute of the <a> element to the URL of the external website you want to link to. For example: href="https://dudetheftwars.net/"

  4. If you want the link to open in a new browser tab or window when clicked, you can add the target="_blank" attribute to the <a> element.

  5. Save your changes and preview the widget to ensure the link works as expected.

By following these steps, you can easily add a link to an external website in your Service Portal HTML widget.

jamesm747366405
Tera Contributor

To add a link to an external website in an HTML widget for a Service Portal, use the following code:

```html
<a href="https://www.example.com" target="_blank">Visit Example</a>

The `target="_blank"` ensures the link opens in a new tab.

To add a link to an external website in an HTML Widget in Service Portal, simply insert an anchor tag with the website URL. Ensure you set it to open in a new tab for better user experience. Also, use security attributes like "noopener noreferrer" to enhance security.