Setting node title on a new entity using a term from VBO node list

Events happening in the community are now at Drupal community events on www.drupal.org.
busla's picture

Hi all.

I´m not sure I should be asking for support in this group since it´s not mentioned in the posting rules of this group. Please slap me on the wrist if not :-)

In short, I´m loading a "List of node items" for a Rules Set using VBO.

Every row has a term (usually the same term) and I want to use one term from the list and pass it to the title of a new entity (doesn´t matter which term since I´m using it as a suggestion).

After checking the content type with Data Comparison I create a new entity.

I´m aware that field types have to match so Term:name should work. I can therefor use Itangalo´s Bonus pack to "Load the first node in a views list" and get the term object from there.

I see the object as a "Replacement pattern" but when I set the pattern as the new value it doesn´t fetch it and only displays the pattern in the title field.

Fetching one field from a VBO list and setting it as a title is really important in my project and I plan to use it alot. It´s a tournament registration so I want to generate the title of matches from weight categories, group names, competitor (a versus b) and then 301 redirect the user to edit the node. There he can change my suggestions or save it.

Hopefully someone has a solution for me. Maybe there is a completely different way of doing this so please share with me any ideas you might have about how to accomplish this.

Thanks.

Nonni

Comments

busla's picture

The action "Load list of entity obj from VBO" was my problem. The problem is fixed by using "List of nodes" as a parameter and create a loop as an action.

Rules

Group organizers

Group categories

Categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: