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

customRowActions stop working after edit in edit properties panel

Open JoeAyre opened this issue 7 years ago • 6 comments

All customRowActions stop working if an item is modified using the editProps panel. For instance, if a button that launches a flow has a visibility that is conditional on a certain column value, and you edit an item to make whatever that condition is 'true' (and thus displaying the button that launches a flow), the button won't work until the page is refreshes or reloaded.

A potential fix would be for a refresh to the main page to be called every time an item is edited and the edit properties panel is saved, but the problem is that there is no 'Save' or 'OK' to hook in to.

It's a bit of a guess, but what might be happening here is that because properties are saved whilst actually in the edit properties panel is open (the little 'Saving...' > 'Saved' text and tick pops up), there is no 'OK' or 'Save' button and therefore no action to trigger a page refresh - you just effectively close or cancel the edit properties panel. Maybe a simple fix would be to apply a page refresh when edit properties panel is closed no matter how you close it, or detect a change to the properties and arm the trigger when the edit properties panel is closed.

Category

  • [ ] Question
  • [ ] Typo
  • [x] Bug
  • [ ] Additional article idea

JoeAyre avatar Jun 18 '19 10:06 JoeAyre

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

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

Unclear as to what you're referring to... row/column formatting? General UX? Can you provide more details with some context?

andrewconnell avatar Jun 18 '19 21:06 andrewconnell

Apologies, this relates to JSON list formatting in SharePoint.

JoeAyre avatar Jun 18 '19 23:06 JoeAyre

@andrewconnell Just checking in to see if any progress has been made to fix this bug?

JoeAyre avatar Oct 29 '19 23:10 JoeAyre

The scenario works on column formatting but is broken on View formatting. We will work on this and roll out a fix soon. Thanks!

Duplicate of #2397

shre-verse avatar Jan 27 '20 21:01 shre-verse

Closing this issue as a dupe. Please refer to our wiki for more details: Issue List Labels: status:duplicate

msft-github-bot avatar Jan 27 '20 21:01 msft-github-bot