sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

Sorting SPFx custom action buttons in modern list experience

Open remar27 opened this issue 7 years ago • 5 comments

Hello,

I have developed important feature for our company using SPFx ListView Command Set extension. Also we use many 3rd party SharePoint Add-ins from app source.

So the main question and problem: it is possible to control SPFx custom action button ordering? Sequence parameter is not working. The only thing I was able to do is to control ordering between SPFx custom action buttons but not over SharePoint Add-in buttons. My requirement is to make SPFx custom action button higher priority over other 3rd party add-in buttons.

image

I did some tests with SharePoint Online PowerShell and tried to experiment with custom action "sequence" property. After some tests I noticed that toolbar is divided into two groups: SharePoint Add-in buttons and SharePoint Framework buttons. I can change ordering by changing UserCustomAction.Sequence property value but ordering is changed only in the group. I can't force to go my SPFx buttons first over SP Add-ins. Also I can't to move SPFx button between two SP Add-in buttons.

So maybe is possible to change SPFx custom action ordering over SharePoint Add-in custom action ordering? Without workarounds (I can do this with javascript but is not recommended...).

Thanks :)

Category

  • [x ] Question

remar27 avatar Jun 10 '19 13:06 remar27

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

msft-github-bot avatar Jun 10 '19 13:06 msft-github-bot

That sounds like a bug. The sequence number is supposed to control that. Let me see if I can find someone to comment. Thanks.

patmill avatar Jun 10 '19 19:06 patmill

After further investigation we identified that, unfortunately, that is not possible today. Please provide your vocal feedback on UserVoice: that will help us properly triage this requirement and hopefully bring this feature to you soon

lucabandMSFT avatar Jun 13 '19 21:06 lucabandMSFT

Hello,

As I haven't found one, I've posted a new idea on UserVoice.

Go give it a like 👍

FlorianLabranche avatar Jun 14 '19 17:06 FlorianLabranche

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

msft-github-bot avatar Jan 24 '20 06:01 msft-github-bot