Can we add hyperlink in tooltip.

Certified Senior Developer

Hi All,

Can we add hyperlink in tooltip?If yes can any one provide as the solution.

  Discussion posts and replies are publicly visible

Parents
  • A workaround is to use a rich text icon, e.g.:

    a!localVariables(
      local!text,
      {
        a!richTextDisplayField(
          labelPosition: "COLLAPSED",
          value: {
            a!richTextItem(text: "Label", style: "STRONG"),
            " ",
            a!richTextIcon(
              icon: "question-circle",
              caption: joinarray(
                {
                  "Text to display in mouseovers.",
                  "Multiple lines possible.",
                  "  " & char(8226) & "  Bullet Point 1",
                  "  " & char(8226) & "  Bullet Point 2",
                  "Click to visit Appian.com"
                },
                char(10)
              ),
              link: a!safeLink(uri: "https://www.appian.com"),
              linkStyle: "STANDALONE",
              color: "#0000ff"
            )
          },
          marginBelow: "EVEN_LESS"
        ),
        a!textField(
          labelPosition: "COLLAPSED",
          value: local!text,
          saveInto: local!text
        )
      }
    )

Reply
  • A workaround is to use a rich text icon, e.g.:

    a!localVariables(
      local!text,
      {
        a!richTextDisplayField(
          labelPosition: "COLLAPSED",
          value: {
            a!richTextItem(text: "Label", style: "STRONG"),
            " ",
            a!richTextIcon(
              icon: "question-circle",
              caption: joinarray(
                {
                  "Text to display in mouseovers.",
                  "Multiple lines possible.",
                  "  " & char(8226) & "  Bullet Point 1",
                  "  " & char(8226) & "  Bullet Point 2",
                  "Click to visit Appian.com"
                },
                char(10)
              ),
              link: a!safeLink(uri: "https://www.appian.com"),
              linkStyle: "STANDALONE",
              color: "#0000ff"
            )
          },
          marginBelow: "EVEN_LESS"
        ),
        a!textField(
          labelPosition: "COLLAPSED",
          value: local!text,
          saveInto: local!text
        )
      }
    )

Children
No Data