Bold, underline, hidden links (without displaying URL) in news posts

We have a requirement to include bold and underlined text in a news post as well as a hyperlink with the url hidden so the web addressis not included in what is actually presented in the news post.

 

Is any of the above possible at all inside Appian? 

 

Thank you!

  Discussion posts and replies are publicly visible

Parents
  • Hey Lauren,

    There is an a!safeLink field which opens a new tab to some given uri. It can be contained in an a!richTextItem field, or any field which accepts a link as a parameter.

    The following code creates a bolded link to google using an a!richTextDisplayField.

    a!richTextDisplayField(
    value: text: a!richTextItem(
    style: "STRONG",
    Text: "This is a Safe Link",
    link: a!safeLink(
    uri: "https://www.google.com/"
    )
    )
    )

    The safeLink field displays with a dotted underline by default, but if you'd also like to underline the text you can wrap the richTextItem in another richTextItem which has the "UNDERLINE" style.

    Thanks,
    Jake

Reply
  • Hey Lauren,

    There is an a!safeLink field which opens a new tab to some given uri. It can be contained in an a!richTextItem field, or any field which accepts a link as a parameter.

    The following code creates a bolded link to google using an a!richTextDisplayField.

    a!richTextDisplayField(
    value: text: a!richTextItem(
    style: "STRONG",
    Text: "This is a Safe Link",
    link: a!safeLink(
    uri: "https://www.google.com/"
    )
    )
    )

    The safeLink field displays with a dotted underline by default, but if you'd also like to underline the text you can wrap the richTextItem in another richTextItem which has the "UNDERLINE" style.

    Thanks,
    Jake

Children