Forum Discussion

Dylman3000's avatar
Dylman3000
Copper Contributor
Aug 26, 2020

Using JSON to format certain words as bold in a column.

I am very new to JSON formatting, I've searched all over and can't seem to find a way to format certain words and phrases in a SharePoint column as bold. For example I'd like to add formatting to my Summary column to make it easier to read by making the words "Filename:", "Job Number:" and "Department:" bold. Is it possible, or can you only format the entire string?

8 Replies

  • HiDylman3000 ,

     

    I just tried this.You preferred things done, but there not work for multi-text contains. Because it takes as a single phrase in the SharePoint column.  If you want this code I'll share it with you.

     

    Shrinika

    • Dylman3000's avatar
      Dylman3000
      Copper Contributor

      Shrinika_Atapattu Thanks again for this, if you can post the code I'd like to give it a go, but I am using a multi-line column so it doesn't sound like it will work.

  • HiDylman3000 ,

    You don't want to use JSON in this case. Simply you can use the format text under column heading in lists.

    If there is not the way you want, I am sorry if I misunderstood your post.

     

    Shrinika

    • Dylman3000's avatar
      Dylman3000
      Copper Contributor

      Shrinika_Atapattu  Thank you for your reply, I can't find or don't think I have that option for whatever reason, see attached, I am working entirely in SharePoint online. I have rule-based column formatting, but it doesn't give me the control I was hoping for.

      • Shrinika_Atapattu's avatar
        Shrinika_Atapattu
        Brass Contributor

        HiDylman3000 ,

        When you edit your data there is option there. Select row>edit and you will appear edit list. Then your Summary data will appear with it. But make sure to select the 'use enhanced rich text' when you creating column. This is a basic way to do your requirement.

         

        And sorry for the JSON code did not match with multi-line text. Sorry that I couldn't be of help much.

Resources