Forum Discussion
Group ListView Command Set extension buttons under dropdown?
Following the walkthrough at
https://docs.microsoft.com/en-us/sharepoint/dev/spfx/extensions/get-started/building-simple-cmdset-with-dialog-api#debugging-your-listview-command-set-using-gulp-serve-and-query-string-parameters
how can I group "Command 1" and "Command 2" under a parent button that functions as dropdown to show these two options?
This is similar but targets a different location:
https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/modern-experience-customizations-customize-lists-and-libraries#user-custom-actions
If there's a way to adapt this to ClientSideExtension.ListViewCommandSet.CommandBar , I am not seeing it.
2 Replies
- ps0104Copper Contributor
Andrew McHargue Hi, did you find any solution for this?
- Andrew McHargueCopper Contributor
Fwiw I see this on user voice, but I am wondering if the user who posted this and I are missing something that can be done in the elements.xml or something else.
https://sharepoint.uservoice.com/forums/329220-sharepoint-dev-platform/suggestions/31785541-support-sub-menu-options-for-list-view-command-set