Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [views-bulk-operations]

The "Views Bulk Operations" module allows to execute bulk operations on all the rows shown by a view.

0
votes
0answers
7 views

Is there a way to make VBO work together with Entity Print? [duplicate]

For my website I need to create a view with a list of nodes and provide the possibiltiy to export them as PDF. Entity Print does it exactly the way I need, just need to add Views Bulk Operations, but ...
0
votes
1answer
15 views

How to provide checkbox for a grouping field?

For my Drupal 8 website I have created a view with a list of nodes. I have grouped the nodes based on the certain field. Additionally I would like to provide a possibility for the user to perform bulk ...
1
vote
2answers
28 views

How do I change the field value of multiple nodes?

I'm working on a Drupal project where users can post classified ads. These are simply nodes created using a custom content type. After 3 months, we want the user who created the node to receive a ...
1
vote
1answer
71 views

How to get the selected items (with VBO) in the buildConfigurationForm of a custom Action

I have made a custom action which have a configuration form: class MyAction extends ConfigurableActionBase Thus, I have the opportunity to create a form that allows the user to set some options. ...
0
votes
0answers
14 views

Unable to save language option

I need to translate my news list in another language but when I try it to change/filter list according to the current user language then option doesn't save. Provide any help which is easy to me ...
0
votes
0answers
10 views

How to get a file path of the node?

For my Drupal 8 website I need to implement a PDF downloader. I have created a content type; which has a "File upload" fields. I have created a view, where all the titles of the nodes are displayed. ...
0
votes
0answers
15 views

Bulk edit a user reference field inside a view

I've created a view and enabled bulk edit operations. The field I am interested in changing is of type User Reference. When I attempt to bulk edit the fields, everything works as I'd expect. However, ...
0
votes
0answers
22 views

is there any way to decrease memory usage of Drush exporting views? [duplicate]

everyone! I've found an interesting issue with views. I use views bulk operations module and vbo_export modules to export views to excel file using Drush. And I found that it's using a lot of memory, ...
0
votes
1answer
25 views

Hook to fetch data after a node update

I have used editable views module to get a single page to edit the nodes. I want to store the updated details to an external table. I have used hook_node_update but it only saves the first node's ...
1
vote
1answer
313 views

How do I Send a single mail with Rules and VBO?

I have a view of nodes that I edit with VBO. I filter this nodes by author. When I edit this nodes I send a mail to author with a rule but I have a problem when I edit more than one nodes with VBO. In ...
0
votes
0answers
9 views

How to read data using bulk action within pages

I have done a plot from a text data(x-y) as shown in below. It's based on click function. ie whenever the user clicks on the file path, it will pop up in a new window Now, I need to produce multiple ...
0
votes
0answers
17 views

How to delete a paragraph item with VBO

I tried to delete a paragraph item with views bulk operation, with the default "Delete item" action. But only deletes the paragraph item and not the host reference. Then in the host form that uses ...
0
votes
0answers
24 views

VBO checkbox doesn't appear when rule component has add list action

I'm using VBO to relate some products to a bundle (of products). Every bundle has a paragraph field, every paragraph item has two fields: the product (entity reference) and the quantity. I'm creating ...
0
votes
0answers
71 views

Export hidden fields to CSV with Views Bulk Operations (VBO) module

I use Views Bulk Operations (VBO) module and VBO export module. I have a Table display with a couple of fields. Is there a solution to export also fields which are Exclude from display (hidden)? So ...
1
vote
0answers
23 views

Views Bulk Operations (VBO) Clear button gives error after paging and want to clear results

I use Views Bulk Operations (VBO) module. If I select some rows and 'page' (Ajax) to another page in the Table view. Under 'Selected 1 items in this view' I get a strange error after pressing the ...
0
votes
1answer
104 views

I cannot modify entity values

I have installed the Views Bulk Operations module and am looking to use it to mass edit my content. However, when I select a few nodes to edit and select Modify Entity Values and click Execute, I get ...
0
votes
1answer
63 views

AJAX HTTP error 200 when using Views Bulk Operations on Files

I am attempting to use VBO's "Lock Files" operation to prevent some files without file usage records from being randomly deleted (it happens). I am open to alternate means of doing this as well as a ...
0
votes
0answers
132 views

Custom bulk operation action to export only a specific field from the view to CSV

I use VBO export module and Views Bulk Operations module to export my view results to CSV. I need a second custom operation to export only a specific field to CSV. I am aware there is the example ...
0
votes
1answer
105 views

Export selected view rows and selected columns to excel

I use VBO export module and Views Bulk Operations module to export my view results to CSV. This works fine. The user can also make a selection which rows to export. Is there a solution to let the ...
0
votes
0answers
398 views

Alter the moderation state in the Content view Drupal 8

Drupal core content moderation queries the content_moderation_state_field_data table when I add Moderation State to the Content View. That works most of the time, but sometimes moderation states come ...
0
votes
1answer
44 views

How duplicate order automatically with commerce 2

How do I automatically duplicate an order? I use Drupal 8 and Drupal Commerce 2. I need to duplicate some orders, each week, automatically. Orders have a Boolean field (recurrent_order). When the ...
0
votes
2answers
46 views

Exposing a type of field operation (flag lists) for search index view

I installed the flag list operations module which gives me the ability to do operations on my views results. But this flag list operations doesn't show up on my search index view as seen below. I'm ...
2
votes
3answers
126 views

How to use cron to delete nodes of a content type that does not allow deletion by anonymous users

The background for this question is here: Delete nodes using Rules and VBO Summary: a VBO View selects various nodes of a particular content type. A Rules Action Set is instructed to load this VBO ...
1
vote
1answer
132 views

Delete nodes using Rules and VBO

Rues and VBO are not working as expected to delete nodes. Can someone tell me what I'm missing? Thank you. What I have: A View with VBO field which successfully selects all nodes of a certain type ...
4
votes
1answer
43 views

How to troubleshoot my VBO operation which freezes at 50% every time?

I have written custom code that creates a new action for Views Bulk Operations (VBO). I am trying to run the action and it gets stuck at "Prepared 46748 out of 46766". If I run the same action with ...
1
vote
1answer
67 views

How do I bulk delete field collection items that are part of a content type?

I have a Drupal 7 site with a content type that is for adding courses and courses have a field collection that has multiple fields for Date, Venue, Location(Province) Each course can have 1 or many ...
3
votes
2answers
243 views

Rules: Load List of Entities by Object or Entity ID (Performance)

I'm looking to load a list of Users by an Entity Reference Property within Rules. There may be times when I need to load hundreds or thousands of Users that have a matching Property to update a ...
0
votes
0answers
56 views

Email notification to user about group content modification

Am using Group module in drupal 8. In that, I have a requirement to provide email subscription option for Group Group Node Any create/update in the above subscribed will notify the user. I have ...
1
vote
1answer
49 views

Loop in Rules not picking up VBO data

I have a Views of users (friends of the current user) and I have added a VBO field to it. The objective is that when an event is created by the current user, their friends receive an email about it. ...
1
vote
1answer
302 views

How to pass arguments to a view from Rules?

I am trying to use a view which depends on arguments but somehow it seems that the arguments are not passed to the view since I am getting no results. The view works when executed directly. The rule ...
1
vote
2answers
166 views

Is there any way to fetch all users into a list in rules?

I want to know if there is any way to fetch all users into a list in Rules? I used Views Bulk Operations (VBO) and "Load items from VBO" in Rules. But it seems it doesn't work !!
0
votes
1answer
37 views

Change Created Date to date from field_post_date

I am changing a large amount of news content types 'Created' dates. I figured out to use VBO with execute php and this code... $entity -> created = strtotime($entity->field_post_date[...
0
votes
1answer
25 views

hook that act on a field being inserted or updated?

I've Created a VBO view to "Modify entity values" .It's working fine. I need to perform an action when particular entity field gets inserted/updated. So far I've tried hook_field_update,...
3
votes
1answer
66 views

Allow the user to send emails to all or selected rows in a particular views display

Salut! I have been working on a 100% non-profit project for 1 month and now I am facing a problem with the main feature that this project offer for free. The project is a website about people ...
1
vote
1answer
120 views

How do I code to take action when a VBO (bulk action) is finished?

I've recently coded a few Drupal\x\Plugin\Action classes that respond nicely to my VBO (now bulk actions?) in Drupal 8. Now I'd like to implement a hook, or whatever is required, to take action when ...
2
votes
1answer
36 views

Autocomplete selection in Rules Component

How do I create a rules component which lets you select or autocomplete a node from an existing list of nodes? I have tried all the Data Type while creating a Rule Component. Each one of them ...
2
votes
1answer
131 views

Loop through all entities with rules

I have a content type (called Issue dates with fields called field_issue_date (date type) and field_issue_type (term_reference)) and by using Rules module 7.x-2.9 I want to check if the taxonomy field ...
1
vote
2answers
28 views

What may cause my custom VBO action to no longer update my Menu Badges counter?

I created a on-site notification system with the help of this post. It was working perfectly, but now suddenly it stopped working. When I visit the page, the menu badge does not disappear. Recently, ...
1
vote
1answer
147 views

How to combine two batch operations for views data export into one?

I have been using a custom module that was posted here: https://www.drupal.org/node/1875456 I slightly modified this module and created two copies of it, as I have two views and planning to add ...
2
votes
1answer
40 views

View bulk errors

I create a rules component with 2 parameters to grant userpoints to user. I create a view and add bulk operation then I add my view on dashboard. All work great, but after bulk operation is complete I ...
0
votes
1answer
203 views

Views Bulk Operations skip confirmation

I have defined a custom action for a VBO. function expense_action_info() { return [ 'expense_finalize_action' => [ 'type' => 'node', 'label' => t('Approve and finalize ...
1
vote
4answers
345 views

What's wrong in my rule for sending e-mails using VBO?

I am trying to send a mail to a set of users when a node is created, so I made a users view including VBO field and a rule for it. You can see the settings below. It's about D7. But when the rule ...
2
votes
1answer
32 views

How to mass copy the title of each node to a taxonomy term?

I need to copy the title of nodes to its taxonomy term. I have the following content type Title - text Body - text Taxonomy term - (currently empty) I want to copy the "Title" ---> "Taxonomy term" ...
0
votes
1answer
154 views

Using VBO and Rules to auto-delete entityform submissions

I'm trying to set a reaction rule that checks for previous submissions from a user and deletes them when new form data is submitted. I had success getting the fields to delete using the Fetch action,...
2
votes
1answer
78 views

How to add a comment form in VBO to add the same comment to mutiple nodes?

I am using "Comments" as a note option. I want to let users add the same comment to multiple nodes with the Views Bulk Operations (VBO) module. How do I get the "Add Comment Form" in VBO to achieve ...
0
votes
1answer
70 views

resave all taxonomy terms by vbo

I have a site with a large number of taxonomy terms. Now I need to add meta keywords and meta description to all of this terms. My solution is : Resave all terms by VBO module. Create a rules on "...
4
votes
3answers
85 views

Is it possible to uninstall a module which is causing some errors?

I have installed Views Bulk Operations but it is causing errors since it needs PHP 5.2.9 while my hosting is PHP 5.2.6. I have no option to turn it off, it has a red cross. How to remove this module?
3
votes
3answers
628 views

“Load a list of entity objects from a VBO View” rules action not working

I am trying to use the Rules action called "Load a list of entity objects from a VBO View." I had it working before, but I've since refreshed my DB from prod and I can't remember what my views looked ...
3
votes
3answers
984 views

How to resave all my nodes

In D7, it was easy with the VBO module.. But how to do it with D8? (Preferably using a view to select the nodes to resave) In many places I saw that a small part of the VBO module is now included in ...
0
votes
3answers
37 views

How could I allow content editors to send email to a selected bunch of users?

I have a content editor that wants to be able to send emails on a regular basis to a selected bunch of users. Could I create a view of all site users and use Views Bulk Operations for this?