cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Giorgio67
Helper I
Helper I

"commandBarProps" for SP view calendar

Hi to everybody

I need to modify menu bar for view Calendar. It's possibile modify only for view all items 

.....

"commandBarProps": {
"commands": [
{
"key": "new",
.........
 
Thanks
1 ACCEPTED SOLUTION

Accepted Solutions
Shuvam-rpa
Solution Supplier
Solution Supplier

@Giorgio67 

use the below code to customize the menu as per your need and for more information please click on the below link

Command bar customization syntax reference | Microsoft Docs

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

{
  "commandBarProps" : {
    "commands": [
      {
        "key": "new",
         "text":"Add Employee"

      },
      {
        "key": "editInGridView",
        "text": "Quick edit",
        "iconName": "EditTable",
        "primary": true
      },
      {
        "key": "share",
        "iconName": "",
        "title": "Share this List"
      }
    ]
  }
}

View solution in original post

4 REPLIES 4
Shuvam-rpa
Solution Supplier
Solution Supplier

@Giorgio67  are you asking about to modify the top menu bar which i have provided in screenshot.

Shuvamrpa_0-1656340208033.png

 

Hi Shuvam-rpa, exactly

Giorgio67_0-1656341432809.png

 

Shuvam-rpa
Solution Supplier
Solution Supplier

Ok , so what you need to change or hide from the menu?

Shuvam-rpa
Solution Supplier
Solution Supplier

@Giorgio67 

use the below code to customize the menu as per your need and for more information please click on the below link

Command bar customization syntax reference | Microsoft Docs

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

{
  "commandBarProps" : {
    "commands": [
      {
        "key": "new",
         "text":"Add Employee"

      },
      {
        "key": "editInGridView",
        "text": "Quick edit",
        "iconName": "EditTable",
        "primary": true
      },
      {
        "key": "share",
        "iconName": "",
        "title": "Share this List"
      }
    ]
  }
}

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022- Season 2 has kicked off!

Users online (4,306)