Making Multiple-Choice Variable Choices Hyperlinks

mrreddy534
Tera Contributor

Hi experts, I need your help. I created a multiple-choice variable with three choices, and I want to make those choices hyperlinks. How can I achieve this?

9 REPLIES 9

  • Create or Edit a Catalog Item:

    • Go to Service Catalog > Catalog Definition > Maintain Items, and select the catalog item where you want to add the hyperlink.
  • Open the Questions Tab:

    • Click on the "Questions" tab, then either add a new question or edit an existing one.
  • Add the Hyperlink:

    • Set the "Question Type" to "Text" and use HTML to create the hyperlink. For example, you can enter:

 

<a href="https://example.com" target="_blank">Click here</a>

 

 In the href attribute, input the URL, and target="_blank" ensures that the link opens in a new tab.

  • Save the Changes:
    • Save your settings and publish the catalog item. This will display the hyperlink when users view the catalog item.

This will allow users to see and click on the hyperlink within the Service Catalog.

There is no text variable; I noticed this in the Vancouver and Washington versions. I tried the same script in single-line text, multi-line text, and wide single-line text variables, but it shows raw HTML instead of converting it into a hyperlink.

How about putting a hyperlink in the description?
Or maybe a rich text label would do.

HIROSHISATOH_1-1724563565302.png

 

 

 

I want to add a link directly in the variable question, like this:

'Choose option (See Choice Info),' where 'See Choice Info' is a hyperlink. Please suggest the best method to achieve this.

Screenshot 2024-08-25 111602.png

I created two options. The first one uses a rich text label and checkbox variables, where adding a hyperlink is easy. However, the gap between the two variables is larger, so it doesn't look like a multiple-choice variable.

 

The second option is a multiple-choice variable, but I'm unable to insert a hyperlink within that variable.