Comment in Microsoft List

%3CLINGO-SUB%20id%3D%22lingo-sub-1845838%22%20slang%3D%22en-US%22%3EComment%20in%20Microsoft%20List%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1845838%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20MSFT%3C%2FP%3E%0A%3CP%3EToday%2C%20I%20found%20that%20I%20am%20now%20able%20add%20comment%20in%20Microsoft%20list%20for%20one%20of%20my%20list.%20However%2C%20I%20am%20finding%20some%20issues%3A%3C%2FP%3E%0A%3CP%3E1.%20After%20a%20comment%20is%20added%2C%20I%20dont%20see%20any%20icon%20on%20the%20quick%20view%20for%20the%20list%20item%20with%20comments.%20This%20is%20different%20from%20MSFT%20demo%2C%20there%20is%20no%20way%20for%20us%20to%20know%20which%20item%20has%20comment%20until%20we%20open%20one%20by%20one.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E2.%20the%20comment%20is%20not%20viewable%20in%20Microsoft%20list%20in%20Teams.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPls%20help%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%3C%2FP%3E%0A%3CP%3ERyan%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1845838%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Lists%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1848970%22%20slang%3D%22en-US%22%3ERe%3A%20Comment%20in%20Microsoft%20List%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1848970%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20MSFT%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20tried%20many%20method%20for%20the%20issue%20I%20describe%20above%2C%20I%20now%20realized%20that%20I%20cannot%20apply%20any%20column%20formatting%20to%20the%20title%20column%20in%20order%20to%20see%20the%20comment%20icon.%20After%20I%20remove%20the%20formatting%2C%20the%20comment%20icon%20is%20shown.%20Can%20anyone%20please%20help%20about%20how%20I%20can%20apply%20formatting%20and%20still%20got%20the%20comment%20icon%2C%20even%20just%20bold%20the%20text.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAlso%2C%20it%20seems%20the%20comment%20is%20not%20available%20in%20the%20list%20in%20Teams%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3ERyan%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1976536%22%20slang%3D%22en-US%22%3ERe%3A%20Comment%20in%20Microsoft%20List%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1976536%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20could%20create%20a%20separate%20%22Comment%20Count%22%20column%20and%20use%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fpnp%2Fsp-dev-list-formatting%2Ftree%2Fmaster%2Fcolumn-samples%2Fgeneric-comment-count%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Ethis%20JSON%20formatting%3C%2FA%3E%20to%20show%20if%20their%20are%20comments%20or%20not.%20That%20would%20allow%20to%20still%20apply%20your%20other%20formatting%20to%20the%20Title%20column.%20Not%20a%20perfect%20solution%20but%20may%20help.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1976830%22%20slang%3D%22en-US%22%3ERe%3A%20Comment%20in%20Microsoft%20List%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1976830%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F162506%22%20target%3D%22_blank%22%3E%40Jin%20Chen%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETry%20using%20below%20JSON%20code.%20It%20will%20bold%20the%20title%20text%20and%20show%20comments%20icon%20if%20there%20are%20any%20comments%20added.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-json%22%3E%3CCODE%3E%7B%0A%20%20%22%24schema%22%3A%20%22https%3A%2F%2Fdeveloper.microsoft.com%2Fjson-schemas%2Fsp%2Fcolumn-formatting.schema.json%22%2C%0A%20%20%22elmType%22%3A%20%22div%22%2C%0A%20%20%22attributes%22%3A%20%7B%0A%20%20%20%20%22class%22%3A%20%22ms-fontColor-themePrimary%20ms-fontSize-m%22%0A%20%20%7D%2C%0A%20%20%22children%22%3A%20%5B%0A%20%20%20%20%7B%0A%20%20%20%20%20%20%22elmType%22%3A%20%22span%22%2C%0A%20%20%20%20%20%20%22txtContent%22%3A%20%22%40currentField%22%2C%0A%20%20%20%22style%22%3A%20%7B%0A%20%20%20%20%20%20%20%20%22font-weight%22%3A%20%22bold%22%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%7B%0A%20%20%20%20%20%20%22elmType%22%3A%20%22span%22%2C%0A%20%20%20%20%20%20%22style%22%3A%20%7B%0A%20%20%22font-size%22%3A%20%2216px%22%2C%0A%20%20%20%20%20%20%20%20%22margin-left%22%3A%20%2210px%22%2C%0A%20%20%22display%22%3A%20%22%3Dif(%5B%24_CommentCount%5D%20%3D%3D%20'0'%20%2C%20'none'%20%2C%20'block')%22%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%22attributes%22%3A%20%7B%0A%20%20%20%20%20%20%20%20%22iconName%22%3A%20%22Comment%22%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%5D%0A%7D%0A%20%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EMicrosoft%20documentation%3C%2FSTRONG%3E%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fdev%2Fdeclarative-customization%2Fcolumn-formatting%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EUse%20column%20formatting%20to%20customize%20SharePoint%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CHR%20%2F%3E%3CP%3EPlease%20click%20%3CSTRONG%3EMark%20as%20Best%20Response%3C%2FSTRONG%3E%20if%20my%20post%20helped%20you%20to%20solve%20your%20issue.%20This%20will%20help%20others%20to%20find%20the%20correct%20solution%20easily.%20It%20also%20closes%20the%20item.%20If%20the%20post%20was%20useful%20in%20other%20ways%2C%20please%20consider%20giving%20it%20%3CSTRONG%3ELike%3C%2FSTRONG%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2126776%22%20slang%3D%22en-US%22%3ERe%3A%20Comment%20in%20Microsoft%20List%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2126776%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20having%20exactly%20the%20same%20problem.%20Teams%20doesnt%20show%20the%20old%20comments%20entered%20using%20Microsoft%20Planner%2FLists.%20And%20now%20I%20connected%20Microsoft%20Planner%2FLists%2C%20and%20my%20comments%20from%20yesterday%20arent%20visible%20either.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2189804%22%20slang%3D%22en-US%22%3ERe%3A%20Comment%20in%20Microsoft%20List%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2189804%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F708421%22%20target%3D%22_blank%22%3E%40DLutchy365Assist%3C%2FA%3E%26nbsp%3B%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F964516%22%20target%3D%22_blank%22%3E%40aykutkaraca%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20is%20a%20current%20limitation%20of%20Microsoft%20lists%20in%20Microsoft%20teams.%20This%20will%20be%20available%20in%20future.%3C%2FP%3E%3CP%3EFor%20now%2C%20you%20can%20follow%20below%20workaround%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EWhen%20you%20want%20to%20add%20list%20as%20a%20tab%20in%20Microsoft%20Teams%2C%20you%20can%20add%20a%20%3CSTRONG%3EWebsite%3C%2FSTRONG%3E%20tab%20rather%20than%20Lists%20tab.%3C%2FSPAN%3E%3C%2FP%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22ganeshsanap_1-1615023372184.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F261376i1C18D2A2646EEA9A%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22ganeshsanap_1-1615023372184.png%22%20alt%3D%22ganeshsanap_1-1615023372184.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EWhen%20you%20use%20%22Website%22%20tab%2C%20you%20need%20to%26nbsp%3B%3CSPAN%3Epass%20the%20list%20URL%20from%20browser.%20Then%20you%20can%20see%20the%20list%20comments%20in%20browser%20tab%20like%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22ganeshsanap_2-1615023512806.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F261377i14F1E80BF600CE77%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22ganeshsanap_2-1615023512806.png%22%20alt%3D%22ganeshsanap_2-1615023512806.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ERead%20more%20about%20list%20comments%20feature%20in%20below%20articles%3A%3C%2FP%3E%3COL%3E%3CLI%3E%3CA%20title%3D%22All%20you%20need%20to%20know%20about%20Commenting%20in%20Lists%22%20href%3D%22https%3A%2F%2Fganeshsanapblogs.wordpress.com%2F2021%2F01%2F09%2Fall-you-need-to-know-about-commenting-in-lists%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EAll%20you%20need%20to%20know%20about%20Commenting%20in%20Lists%3C%2FA%3E%26nbsp%3B%3C%2FLI%3E%3CLI%3E%3CA%20title%3D%22Working%20with%20SharePoint%20Online%2FMicrosoft%20List%20Comments%20using%20JSON%20Formatting%22%20href%3D%22https%3A%2F%2Fganeshsanapblogs.wordpress.com%2F2021%2F01%2F10%2Fworking-with-sharepoint-online-microsoft-list-comments-using-json-formatting%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EWorking%20with%20SharePoint%20Online%2FMicrosoft%20List%20Comments%20using%20JSON%20Formatting%3C%2FA%3E%26nbsp%3B%3C%2FLI%3E%3CLI%3E%3CA%20title%3D%22How%20to%20Enable%2FDisable%20the%20commenting%20in%20SharePoint%20Online%2FMicrosoft%20Lists%22%20href%3D%22https%3A%2F%2Fganeshsanapblogs.wordpress.com%2F2021%2F01%2F09%2Fhow-to-enable-disable-the-commenting-in-sharepoint-online-microsoft-lists%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EHow%20to%20Enable%2FDisable%20the%20commenting%20in%20SharePoint%20Online%2FMicrosoft%20Lists%3C%2FA%3E%26nbsp%3B%3C%2FLI%3E%3C%2FOL%3E%3CHR%20%2F%3E%3CP%3EPlease%20click%20%3CSTRONG%3EMark%20as%20Best%20Response%3C%2FSTRONG%3E%20%26amp%3B%20%3CSTRONG%3ELike%3C%2FSTRONG%3E%20if%20my%20post%20helped%20you%20to%20solve%20your%20issue.%20This%20will%20help%20others%20to%20find%20the%20correct%20solution%20easily.%20It%20also%20closes%20the%20item.%20If%20the%20post%20was%20useful%20in%20other%20ways%2C%20please%20consider%20giving%20it%20%3CSTRONG%3ELike%3C%2FSTRONG%3E.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Frequent Contributor

Hello MSFT

Today, I found that I am now able add comment in Microsoft list for one of my list. However, I am finding some issues:

1. After a comment is added, I dont see any icon on the quick view for the list item with comments. This is different from MSFT demo, there is no way for us to know which item has comment until we open one by one. 

2. the comment is not viewable in Microsoft list in Teams.

 

Pls help

 

Thanks

Ryan

6 Replies

Hello MSFT

 

I have tried many method for the issue I describe above, I now realized that I cannot apply any column formatting to the title column in order to see the comment icon. After I remove the formatting, the comment icon is shown. Can anyone please help about how I can apply formatting and still got the comment icon, even just bold the text.

 

Also, it seems the comment is not available in the list in Teams

 

Thanks

Ryan

You could create a separate "Comment Count" column and use this JSON formatting to show if their are comments or not. That would allow to still apply your other formatting to the Title column. Not a perfect solution but may help.

@Jin Chen 

 

Try using below JSON code. It will bold the title text and show comments icon if there are any comments added.

 

 

{
  "$schema": "https://developer.microsoft.com/json-schemas/sp/column-formatting.schema.json",
  "elmType": "div",
  "attributes": {
    "class": "ms-fontColor-themePrimary ms-fontSize-m"
  },
  "children": [
    {
      "elmType": "span",
      "txtContent": "@currentField",
	  "style": {
        "font-weight": "bold"
      }
    },
	{
      "elmType": "span",
      "style": {
		"font-size": "16px",
        "margin-left": "10px",
		"display": "=if([$_CommentCount] == '0' , 'none' , 'block')"
      },
      "attributes": {
        "iconName": "Comment"
      }
    }
  ]
}
 

 

 

 

Microsoft documentationUse column formatting to customize SharePoint 

Additional References:

  1. SharePoint Online: All you need to know about Commenting in Lists 
  2. How to Enable/Disable the commenting in SharePoint Online/Microsoft Lists 

Please click Mark as Best Response if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

 

I am having exactly the same problem. Teams doesnt show the old comments entered using Microsoft Planner/Lists. And now I connected Microsoft Planner/Lists, and my comments from yesterday arent visible either.

I have just created a List in a Microsoft Teams Channel. The only way to see the comments is to either open the list in Sahrepoint or in the List App (Web).

Is there anyway to see the comments directly from the list in the Teams Channel?

@DLutchy365Assist , @aykutkaraca 

 

This is a current limitation of Microsoft lists in Microsoft teams. This will be available in future.

For now, you can follow below workaround:

 

When you want to add list as a tab in Microsoft Teams, you can add a Website tab rather than Lists tab.

 

ganeshsanap_1-1615023372184.png

When you use "Website" tab, you need to pass the list URL from browser. Then you can see the list comments in browser tab like:

ganeshsanap_2-1615023512806.png

Read more about list comments feature in below articles:

  1. All you need to know about Commenting in Lists 
  2. Working with SharePoint Online/Microsoft List Comments using JSON Formatting 
  3. How to Enable/Disable the commenting in SharePoint Online/Microsoft Lists 

Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.