Quick tip: How to hide elements in SharePoint list command bar?

Before:

No alt text provided for this image

After:

No alt text provided for this image

??Notice: User will still be able to edit or delete items, it is just hiding those elements from the current view from the command bar of your list. To disable editing or deleting items please use row level security. For more info visit: Understanding permission levels in SharePoint - SharePoint in Microsoft 365 | Microsoft Docs

Select Format current view:

No alt text provided for this image

Choose Advance mode:

No alt text provided for this image

Copy and paste this JSON to the Format View of your current view to hide some elements.

{"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/row-formatting.schema.json",
"commandBarProps": {
"commands": [
{
"key": "new",
"hide": true
},
{
"key": "editInGridView",
"hide": true
},
{
"key": "integrate",
"hide": true
},
{
"key": "automate",
"hide": true
},
{
"key": "share",
"hide": true
},
{
"key": "delete",
"hide": true
},
{
"key": "edit",
"hide": true
}
]
}
}        
Ami Diamond [MVP]

M365 Adoption Lead | 2X Microsoft MVP |Copilot | SharePoint Online | Microsoft Teams |Microsoft 365| at CloudEdge

2 年

Check out this video I recorded about the topic. https://youtu.be/Vawwaz2Mle8

要查看或添加评论,请登录

Krzysztof Borkowski的更多文章

  • Uploading Files to Canvas Power Apps from Different Folders with Non-Unique Names

    Uploading Files to Canvas Power Apps from Different Folders with Non-Unique Names

    TLDR: In this article, I will try to explain how do I upload files as media to Canvas Power Apps when these files are…

  • Centering (flex) containers in Power Apps

    Centering (flex) containers in Power Apps

    Hi everyone, Happy April's 1st. I also fooled myself with trying to vertically center align a container.

    4 条评论
  • SetFocus() to the rescue ??♂?

    SetFocus() to the rescue ??♂?

    How I used SetFocus() to improve the user experience of my Power Apps project Hi ?? everyone, I hope you are having or…

    13 条评论
  • FEM Job listing with filtering got PowerApp'ed

    FEM Job listing with filtering got PowerApp'ed

    This Sunday low-code project was challenging for different reasons. Here it is Frontend Mentor | Job listings with…

  • This weekend was about WeatherAPI

    This weekend was about WeatherAPI

    Kristine just dropped a Free Power Apps design masterclass on Youtube last Friday evening. So I decided to let's build…

    2 条评论
  • Where in the world FEM challenge got Power App'ed

    Where in the world FEM challenge got Power App'ed

    This weekend challenge was pretty massive and indeed a bit more time consuming than I previously estimated for it…

    5 条评论
  • Time tracking dashboard Power App'ed

    Time tracking dashboard Power App'ed

    Saturday afternoon challenged myself to build this Frontend Mentor | Time tracking dashboard coding challenge with…

  • Friday evening fun with Power Apps basic animation capabilities

    Friday evening fun with Power Apps basic animation capabilities

    This Friday evening I took this Frontend Mentor | Fylo data storage component coding challenge, low-coded and added…

  • FEM Four Cards Challenge Power App'ed

    FEM Four Cards Challenge Power App'ed

    Frontend Mentor | Four card feature section coding challenge As a Saturday relaxation I was trying to wrap my head…

  • FAQ accordion card in PowerApps

    FAQ accordion card in PowerApps

    Quick tutorial how to create a simple accordion card with flexible height gallery in Power Apps. Layout, text, colors…

社区洞察

其他会员也浏览了