App Studio & displaying SharePoint news comments

%3CLINGO-SUB%20id%3D%22lingo-sub-1263927%22%20slang%3D%22en-US%22%3EApp%20Studio%20%26amp%3B%20displaying%20SharePoint%20news%20comments%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1263927%22%20slang%3D%22en-US%22%3E%3CP%3EI've%20recently%20started%20experimenting%20with%20App%20Studio%20to%20display%20content%20from%20SharePoint%20in%20a%20Teams%20app.%20I%20have%20it%20running%20so%20that%20it%20displays%20SharePoint%20comms%20sites%20as%20tabs%20in%20the%20app%20and%20people%20can%20see%20the%20latest%20news%20and%20click%20through%20to%20read%20the%20news%20pages.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%2C%20the%20news%20pages%20don't%20displays%20the%20comments.%20Comments%20are%20enabled%20on%20the%20SharePoint%20news%20pages%20and%20a%20user%20can%20go%20through%20the%20browser%2C%20read%20comments%2C%20and%20post%20more%20comments%2C%20but%20when%20you%20look%20at%20the%20same%20news%20page%20through%20the%20Teams%20app%2C%20the%20whole%20comments%20area%20is%20just%20not%20there.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDoes%20anyone%20know%20how%20to%20make%20the%20SharePoint%20news%20comments%20show%20up%20inside%20the%20Teams%20app%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1263927%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EApp%20Studio%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1265236%22%20slang%3D%22en-US%22%3ERe%3A%20App%20Studio%20%26amp%3B%20displaying%20SharePoint%20news%20comments%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1265236%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F4529%22%20target%3D%22_blank%22%3E%40Jess%20Meats%3C%2FA%3E%2C%26nbsp%3BCan%20you%20please%20share%20some%20screenshots%20of%20it.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1267022%22%20slang%3D%22en-US%22%3ERe%3A%20App%20Studio%20%26amp%3B%20displaying%20SharePoint%20news%20comments%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1267022%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F4529%22%20target%3D%22_blank%22%3E%40Jess%20Meats%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECan%20you%20please%20check%20if%20the%20%22show%20title%20and%20comments%22flag%20on%20.%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorsubhasish-MSFT_1%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorsubhasish-MSFT_0%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1267098%22%20slang%3D%22en-US%22%3ERe%3A%20App%20Studio%20%26amp%3B%20displaying%20SharePoint%20news%20comments%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1267098%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F451628%22%20target%3D%22_blank%22%3E%40subhasish-MSFT%3C%2FA%3E%26nbsp%3BWhere%20is%20this%20flag%20set%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1267125%22%20slang%3D%22en-US%22%3ERe%3A%20App%20Studio%20%26amp%3B%20displaying%20SharePoint%20news%20comments%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1267125%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F451628%22%20target%3D%22_blank%22%3E%40subhasish-MSFT%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20toggle%20is%20set%20on%20the%20SharePoint%20page%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22app5.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F180815i4BDC6021FDF29512%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22app5.png%22%20alt%3D%22app5.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1270179%22%20slang%3D%22en-US%22%3ERe%3A%20App%20Studio%20%26amp%3B%20displaying%20SharePoint%20news%20comments%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1270179%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F4529%22%20target%3D%22_blank%22%3E%40Jess%20Meats%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3ECan%20you%20please%20try%20to%20create%20one%20test%20page%20inside%20the%20same%20site%20with%20comments%20enabled%20and%20try%20to%20use%20the%20url%20in%20the%20team%20manifest.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1270577%22%20slang%3D%22en-US%22%3ERe%3A%20App%20Studio%20%26amp%3B%20displaying%20SharePoint%20news%20comments%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1270577%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F451628%22%20target%3D%22_blank%22%3E%40subhasish-MSFT%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20enabled%20comments%20on%20the%20homepage%20of%20one%20of%20the%20comms%20sites.%20As%20with%20the%20news%20pages%2C%20it%20shows%20up%20fine%20in%20the%20browser%3A%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22app6.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F181230iE798B317174A3AED%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22app6.png%22%20alt%3D%22app6.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EBut%20there's%20no%20comments%20area%20when%20I%20go%20through%20the%20app%20in%20Teams%3A%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22app7.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F181231i59067AF6F27D6618%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22app7.png%22%20alt%3D%22app7.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EThe%20url%20set%20in%20the%20manifest%20is%26nbsp%3B%3C%2FP%3E%3CP%20data-unlink%3D%22true%22%3E%3CA%20href%3D%22https%3A%2F%2F%5Btenant%5D.sharepoint.com%2F_layouts%2F15%2Fteamslogon.aspx%3Fspfx%3Dtrue%26amp%3Bdest%3D%2Fsites%2FNewsAppPrototype%2FSitePages%2FHome.aspx%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2F%5Btenant%5D.sharepoint.com%2F_layouts%2F15%2Fteamslogon.aspx%3Fspfx%3Dtrue%26amp%3Bdest%3D%2Fsites%2FNewsAppPrototype%2FSitePages%2FHome.aspx%3C%2FA%3E%3C%2FP%3E%3CP%20data-unlink%3D%22true%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20data-unlink%3D%22true%22%3EI%20can't%20see%20where%20to%20check%20in%20the%20app%2Fmanifest%20the%20urls%20of%20the%20precise%20pages.%20In%20Teams%2C%20I%20can%20open%20up%20pages%20and%20news%20items%20but%20it%20doesn't%20show%20me%20the%20urls%20of%20any%20of%20them.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1362763%22%20slang%3D%22en-US%22%3ERe%3A%20App%20Studio%20%26amp%3B%20displaying%20SharePoint%20news%20comments%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1362763%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F4529%22%20target%3D%22_blank%22%3E%40Jess%20Meats%3C%2FA%3E%26nbsp%3B%2C%26nbsp%3B%3C%2FP%3E%0A%3CDIV%3EI%20had%20a%20discussion%20with%20internal%20team%20and%20this%20is%20by%20design.%20Since%20Teams%20has%20a%20comments%20mechanism%20of%20its%20own%2C%20we%20did%20not%20want%20to%20confuse%20users%20by%20showing%20SharePoint%20comments%20in%20Teams.%3C%2FDIV%3E%3C%2FLINGO-BODY%3E
New Contributor

I've recently started experimenting with App Studio to display content from SharePoint in a Teams app. I have it running so that it displays SharePoint comms sites as tabs in the app and people can see the latest news and click through to read the news pages. 

 

However, the news pages don't displays the comments. Comments are enabled on the SharePoint news pages and a user can go through the browser, read comments, and post more comments, but when you look at the same news page through the Teams app, the whole comments area is just not there. 

 

Does anyone know how to make the SharePoint news comments show up inside the Teams app? 

7 Replies

@Jess Meats, Can you please share some screenshots of it.

@Jess Meats ,

 

Can you please check if the "show title and comments"flag on .

 

 

 

 

@subhasish-MSFT Where is this flag set? 

@subhasish-MSFT 

 

This toggle is set on the SharePoint page

app5.png

@Jess Meats,

Can you please try to create one test page inside the same site with comments enabled and try to use the url in the team manifest. 

@subhasish-MSFT 

I enabled comments on the homepage of one of the comms sites. As with the news pages, it shows up fine in the browser: 

app6.png

But there's no comments area when I go through the app in Teams: 

app7.png

The url set in the manifest is 

https://[tenant].sharepoint.com/_layouts/15/teamslogon.aspx?spfx=true&dest=/sites/NewsAppPrototype/S...

 

I can't see where to check in the app/manifest the urls of the precise pages. In Teams, I can open up pages and news items but it doesn't show me the urls of any of them. 

@Jess Meats , 

I had a discussion with internal team and this is by design. Since Teams has a comments mechanism of its own, we did not want to confuse users by showing SharePoint comments in Teams.