Jul 11 2017 07:28 AM
Hi, I'm looking to remove the 'edited by' and 'date' part of the card view when using the Highlighted Content webpart on a modern page. I can't find what the name of the display template it uses would be. Any guidance would be much appreciated
Jul 18 2017 04:04 PM
Thanks for your inquiry @Isaac Titlow.
At the moment we don't allow you to change the layouts (either by altering the cards, or adding your own new layout) in Highlighted content. We have a backlog item to allow you remap X field to Y position (e.g. field mapping), and one to allow you to add your own layouts (e.g. display templates).
It sounds like you'd like a third options, which is enable you to alter/augment/extend existing layouts shipped by Microsoft.
Any other ideas or specifics you need in this area?
Jan 12 2018 12:14 PM
It would we nice to get rid of the edited by on the card view. Any progress on customizing these?
Mar 23 2018 06:15 AM
It would be nice to be able to create a template within the UI and/or code.
In the UI we build up the card template by adding/removing components and it saves some kind of json configuration, which could be exported and reused.
Creating custom templates and uploaded them with an app package would be nice too using the SharePoint extensions method.
Jul 14 2018 04:25 AM
I can't install SharePoint Server 2016 prerequisite installer.
Please help me to fix this error.
Jun 06 2019 10:19 AM - edited Aug 05 2019 07:41 AM
@John Sanders Hi John, would love to have the ability to swap out "modified by" with another library column (or custom site column). For example if we are tagging documents with a custom column called "Content Owner" would be more meaningful. Though I realize that would cause issues if you are filtering on multiple libraries or sites that might not have that custom column.
Also, maybe the ability to "not" display "Modified By".
Jul 22 2019 02:53 PM
There is a workaround that I found to remove this data or at least make it appear as blank. If you go to the "Modified By" column in the library the Highlighted Content web part is connected to, select "Created" from the "Show Field" drop down. While this is not a perfect fix, I was able to meet my requirement to remove this data from the Highlighted Content web part view.
Mar 21 2020 08:48 AM
@Mike_M518 Your workaround works, thank you! However, note it only works if the Highlighted Content Web Part is displaying content from the pages library on the same site it is deployed on. I would like to achieve this in a HC web part on the hub site, displaying content from all associated sites
Aug 23 2021 03:38 AM
Jun 17 2022 05:10 AM
Mar 22 2023 09:33 AM
May 16 2023 02:46 PM
Insert this code as a modern script editor underneath the highlighted content to remove the modified section:
<style type="text/css">
.ms-DocumentCardTile .ms-DocumentCard:not(.ms-DocumentCard--compact) .ms-DocumentCardActivity {
Visibility:hidden !important;
}
</style>
May 17 2023 04:13 AM
@Ryan Gardner - there is no Modern Script Editor webpart? Where would I need to get that?
May 17 2023 06:54 AM
May 17 2023 06:56 AM
@Ryan Gardner Thank you for the information, unfortunately we are the government tenant so I will probably not be able to install.