Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

1
vote
0answers
36 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?
0
votes
1answer
45 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,...
0
votes
1answer
160 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....
2
votes
1answer
1k 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 ...
0
votes
1answer
112 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 ...
1
vote
3answers
577 views

How to add buttons on CommandBar - SharePoint Online

How do I add custom buttons(CommandBarItems) on CommandBar in Modern View of SharePoint Online
3
votes
0answers
184 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 (...
0
votes
1answer
466 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 ...