Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - General Discussion
Answered

Keeping hyperlink alternative text while formatting the column using JSON

(0) ShareShare
ReportReport
Posted on by

While I simply format the column to be displayed in colors like this (Photo 1), the field using multi-line of text (enhanced rich text hyperlinks...) format cannot keep the alternative text for hyperlinks (column 3 in photo 1). Here is the JSON code I found for that column (photo 2). 

Can anyone guide me to keep the column in color while still displaying normal text?

MALET6_0-1697365939282.png

Photo 1

MALET6_1-1697365955399.png

Photo 2

 

  • Community Power Platform Member Profile Picture
    on at
    Re: Keeping hyperlink alternative text while formatting the column using JSON

    Thank you for letting me know. Guess I shouldn't format. 

  • Verified answer
    PeterFromDenver Profile Picture
    27 on at
    Re: Keeping hyperlink alternative text while formatting the column using JSON

    Sorry @Anonymous i don’t think you’re going to get what you want. You’re asking for something that MS states is unsupported https://learn.microsoft.com/en-us/sharepoint/dev/declarative-customization/column-formatting#supported-column-types

     

    the best way is to use plain text Multiline fields and let JSON do all the formatting. Otherwise you’ll have to do some sorcery and use JSON and Expressions that remove, split, and concate the values in a way that you can have a standard <a href> style hyperlink 

  • PeterFromDenver Profile Picture
    27 on at
    Re: Keeping hyperlink alternative text while formatting the column using JSON

    This request needs to know if there is a way to have JSON formatting not display the HTML coded content when used on a Multiline Text field configured to use enhanced text. Multiline text fields that allow rich text or html are always tricky because it works great in native Sharepoint, but everything else outputs all the code. 

  • Michael E. Gernaey Profile Picture
    44,766 Super User 2025 Season 1 on at
    Re: Keeping hyperlink alternative text while formatting the column using JSON

    Hi @Anonymous 

     

    There is not enough information here to even guess what you are meaning.

     

    Please clarify the problem and how you found it and what you are wanting.


    If you like my answer, I would really appreciate if you please Mark it as Resolved, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1