Hello,

I'm currently using VBO to flag (or unflag) nodes en masse. This works fine but in order to edit the flag fields, the user must do this for each node individually. I'm trying to take the functionality one step further by also allowing for the mass editing of the flagging fields.

The ideal solution would allow users to select multiple nodes to mass flag while also being able to edit the details of that flag in the same action. Is there a way to do this with the current versions of Flag and VBO? Help awaited.

Thanks.

Comments

Version:7.x-3.0» 7.x-3.x-dev
Category:support» feature

The VBO action edits entities. Here what you're after is creating entities.
You could see if there's a way to chain the two actions in some way, and first create the flaggings and then pass them to the edit action.
Alternately, you could extend the flag action to have the entity fields in the confirm form.

Thanks for the reply.

Am I after creating entities by flagging them? The users aren't creating content. They are only flagging existing content that is created administratively. The "flag fields" I mentioned are the fields that I have in the confirm already.

It works when flagging nodes individually. I'm just trying to figure out a way to do have have the confirm form apply to multiple nodes at once and am trying to figure out the best approach.

Conversely, simply flagging multiple nodes at once also works well with VBO. It's the additional items in the confirmation form that I'm also trying to reach in a mass action, if that makes sense.

> Am I after creating entities by flagging them?

Yes, each flagging is itself an entity. That's the thing you want to set field values on, isn't it?

Ok understood. I didn't realize that the flaggings were themselves entities.

However, that leads me wonder why, given that they're entities, are their fields not editable with VBO?

They are -- but the entities need to exist first for VBO to be able to operate on them!