Are you able to underline an icon link?

Certified Associate Developer

For my user story I am creating an interface section to display 4 cards for an Agenda's meeting information. For one of them I have a link that appears when a meeting is on one of the cards; the link is being shown as an icon. I was asked to make the link more obvious by underlining it but I am not sure how I am able to underline an icon. I was able to make the link correctly and it appears as the icon but I can't get the underline to appear. Any ideas? Here is the code I have for it written below:

a!richTextItem(
                        text: a!richTextIcon(
                                             icon: "link",
                                             linkStyle: "STANDALONE",
                                             color: "POSITIVE",
                                             link: ri!link,
                                             showWhen: a!isNotNullOrEmpty(ri!link)
                        ),
                        style: "UNDERLINE"
), 

Right now it is shown as the green link. Thanks for the help!

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Senior Developer
    in reply to nickk1385

     : yes linkstyle "standalone" remove the line from link.

    if you don't provide anylink style it will by default takes link style as inline. 

    check documentation of appian also :-  linkStyle (Text): Determines how the link renders. Valid values: "INLINE" (default), "STANDALONE".

    in below example I have remove the linkstyle for your reference.

    a!richTextItem(
                            text: a!richTextIcon(
                                                 icon: "link",
                                                 color: "POSITIVE",
                                                 link: ri!link,
                                                 showWhen: a!isNotNullOrEmpty(ri!link)
                            ),
                            style: "UNDERLINE"
    ), 

Children
No Data