Skip to content

Listview formatting : position of custom actions #10305

Open
@CarlVerret

Description

@CarlVerret

What type of issue is this?

Question

What SharePoint development model, framework, SDK or API is this about?

SharePoint Add-ins

Target SharePoint environment

SharePoint Online

What browser(s) / client(s) have you tested

  • 💥 Internet Explorer
  • 💥 Microsoft Edge
  • 💥 Google Chrome
  • 💥 FireFox
  • 💥 Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)

Additional environment details

Custom spx buttons, worked for a while (over a year), problem is with the possibility of specifing order of appearance within the command bar.

Issue description

Hi, we've been using custom command for a couple of years. Recently, it looks like the way SharePoint orders the custom actions changed. Instead of displaying my commands in the primary section of the command bar, there are relocated to the overflow.

We've tried many workaround but there's no way I could make them appear at the top of the list (next to the "new" command). Few weeks ago (when we realized that the display had changed), we succeed by adding a few instructions inside the onListViewUpdated with a timeout. But since last week, it does not work anymore as overflown commands aren't displayed when dropdown menu is closed.

Back in the days, there was a way we could use the json config of the view to reorder custom actions. How is it supposed to be done now ?

Thanks.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions