Open yvesrosius opened 1 year ago
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
HI, I'm not fully understanding your questions. Could you clarify with a bit more information what you mean by these questions?
Hi Beau
Sure.
I added an extra button using a SPFx ListView Command Set. This button appears in the top command bar when deployed as an app to the SharePoint site.
As the article describes, you can manage the different existing buttons on this bar. Example given, you could move the "New" button to position 2. Or you could hide the button to sync the library.
I would like to change the position of this custom button. But I do not have any documentation on this. If this is currently not supported, there is also no documentation stating this.
Cheers Yves
Hi! Thanks for clarifying. AFAIK, no, there is no way to change the position, and you can't use the Command Bar Props Customization (JSON) to re-order a custom list view command set button either.
Hi Beau
Thanks for checking.
The position of the existing buttons, you can change with the "position" parameter. This works nicely.
Cheers Yves
Hi
Currently, there is some information missing about custom SPFx ListView Command Set buttons. Can you please add documentation for these?
Documentation to SPFx ListView Command Set: https://learn.microsoft.com/en-us/sharepoint/dev/spfx/extensions/get-started/building-simple-cmdset-with-dialog-api
Questions I have:
Cheers Yves
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.