Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [command-set]

Extends the SharePoint command surfaces to add new actions, and provides client-side code that you can use to implement behaviors

Filter by
Sorted by
Tagged with
0 votes
1 answer
19 views

SPFX Command Set Apply view

I'm newbie in developing SPFX extensions. I'm trying to add a CommandSet that toggles the view in a list. For example, I want to assign for 'Command Two' event to view 'All items'. Is it possible to ...
user avatar
0 votes
0 answers
22 views

How to access the items from the default SPO command bar?

I was looking into the modern sites in SPO and I see that you can select a page template if you chose to create a page from the home page. But if you go to the site pages library this option is not ...
user avatar
0 votes
1 answer
547 views

SPFx "Command Set" that displays a dialog box or panel containing a "people picker" control

I'm new to working with SPFx extensions. Requirement is create a SPFx "Command Set", that on click displays some sort of dialog box or panel containing a "people picker" control within it. I've ...
user avatar
1 vote
0 answers
173 views

Custom Action on Command Bar on every page

Is there any way to create a custom action in the command bar on every modern page? Not just in a List or in a Library?
user avatar
0 votes
1 answer
501 views

Enable SPFx Command Extension on a document inside a Document Set

I have created a SPFx command extension for document libraries and it is visible and works fine for the documents inside the document library. But when I create a document set inside document library,...
user avatar
0 votes
1 answer
560 views

How to get Share URL from command set?

I am developing a command set & looking for a way to get the Share URL of selected documents. I have tried these to get other urls. event.selectedRows.getValueByName('.spItemUrl'); event....
user avatar
5 votes
1 answer
6k views

SPFx List extension (Command set) - open custom side panel

I'm developing a SharePoint Framework (SPFx) list Extension (Command Set). After clicking on my custom action/Command I would very much like to open a side panel like in this nice demo. I haven't ...
user avatar
0 votes
1 answer
282 views

Mismatch in SPFX ListviewCommandSet buttons visibility in modern Document Library

When I set the visibility of the the custom button, It should be applicable at both places (ContextMenu + CommandBar). I am having 2 buttons (Add Fav + Remove Fav). Based on few conditions, i am ...
user avatar
  • 2,317
1 vote
3 answers
4k views

How to add buttons on CommandBar - SharePoint Online

How do I add custom buttons(CommandBarItems) on CommandBar in Modern View of SharePoint Online
user avatar
  • 323
3 votes
0 answers
330 views

Access the existing List command bar in SPFX command-set project

I am trying to access the List view command bar in commnd-set spfx project but no success. I am trying below code: const compareOneCommand: Command = this.tryGetCommand('COMMAND_1'); if (...
user avatar
  • 2,317
1 vote
1 answer
938 views

SPFX List View Command Set Extension

Appreciate the good work in helping the SPFx community. We have an issue with a custom ListView command set extension. We are trying to implement an Export to Excel action for selected list items ...
user avatar