Multiple VBO fields on the same display ?

Created on 5 February 2024, 5 months ago
Updated 11 February 2024, 5 months ago

I need to handle bulk operations on different fields in the same display.
In my case, the display is a list of field collections that have field reference fields. I need to bulk update

  • FCs themselves from which the referenced fields can be altered (using a relationship)
  • Host nodes from which the field collections can be altered (using a relationship)
  • Nodes referenced by FCs, from which the field collections of this reference can be altered

The corresponding VBO fields work well, but when I put them them together :

  • only for the first field's operations are available
  • the checkboxes for all VBO fields are shown, but synced (which is not an issue by itself)

Is it possible ? Did I miss something ?
If not, why designing vbo settings as fields?

Thanks for help

πŸ’¬ Support request
Status

Active

Version

3.7

Component

Core

Created by

πŸ‡«πŸ‡·France jvieille

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @jvieille
  • πŸ‡΅πŸ‡±Poland Graber

    You need a custom action for sure.
    Read the docs, you can pass the entire result row to your action execute method and do whatever you wish there.

  • πŸ‡«πŸ‡·France jvieille

    But the available actions work, the thing is that as soon as I put more than one VBO field, only the actions of the first show up.
    I need the ability to process (same kind of) actions on different entities in the row according the chosen field (only one at a time).
    The workaround is to create one display per field to process

  • πŸ‡΅πŸ‡±Poland Graber

    I'm afraid you'll need to implement such a functionality yourself then. I wouldn't recommend doing it on 7.x though, you're not going to get much support.

  • πŸ‡«πŸ‡·France jvieille

    Thanks for the recommendation, but Drupal >D7 is way to difficult to handle for non-geeks...
    We are using it as an efficient prototyping environment.

Production build 0.69.0 2024