Forum Discussion

mgienal's avatar
mgienal
Copper Contributor
May 29, 2024

How to disable new item glimmer icon in a SharePoint Online list?

I have a PowerAutomate workflow that daily deletes all the items in a SharePoint Online list and repopulates the lists afterwards. Of course, all items are always shown as "New Items" with the glimmer icon in the list view (3 blue lines radiating from top left corner):

 

 

I want to avoid showing this icon for aesthetic reasons. Is there a way to disable this glimmer icon for a specific list? Either disabling through a PowerShell command or hide it from the list view through JSON column formatting? Thank you for your help, as I couldn't find any information apart from outdated solutions for SharePoint 2013.

  • Jesterize's avatar
    Jesterize
    Copper Contributor
    Don't know if you are still looking for this. I used this JSON file to have it go away (Inserted into the Format columns section):

    {
    "$schema": "https://developer.microsoft.com/json-schemas/sp/view-formatting.schema.json",
    "additionalRowClass": "=if([$IsNew], 'noGlimmer', '')",
    "elmType": "span",
    "attributes": {
    "class": "ms-fontColor-themePrimary"
    },
    "style": {
    "visibility": "=if([$IsNew], 'hidden', 'visible')"
    },
    "children": [
    {
    "elmType": "span",
    "txtContent": "@currentField"
    }
    ]
    }

Resources