Good afternoon, I tried to use the VBO module with the CiviCRM Entities module but it does not work as it should or I think so.

My system uses the following modules:

Drupal 7.53
CiviCRM 4.5.8
Views Bulk Operations 7.x-3.3
Views 7.x-3.14
Chaos tools 7.x-1.12
Entity API 7.x-1.8
Entity Reference 7.x-1.2
Entity Reference Autocomplete 7.x-1.12
CiviCRM Entities 7.x-2.0-beta5 + 2-dev

I have performed the following steps to use the VBO with CiviCRM entities

  1. Create a new view that shows CiviCRM Address entities and provides a page
  2. Add a Bulk Operations: CiviCRM Address field and set it under "Selected bulk operations" to "Modify entity values" and select "Address Location Type" under its "Operations settings"
  3. Add a filter for CiviCRM Address: Address Location Type and set the location you want to change. Or expose the filter so you can filter at will. Refer to civicrm / admin / locationType? Reset = 1, hover the edit links to get the location ID from the URL
  4. Visit your view's page and check the "Select all" box. "Modify entity values" and enter the ID of the location you want to set on all the addresses you have selected in the view

In step 2 when I add the Bulk Operations: CiviCRM Address field and configure it under "Selected bulk operations" -> "Modify entity values" and select "Address Location Type" , I can't select "Address Location Type" because it always shows the entities values of the fields of Bulk operations: CiviCRM Contact.
All Bulk operations (11) fields shows the Bulk operations: CiviCRM Contact entity values.
I clear the drupal and civicrm caches and no resolve the problem.
I tried the Dev version of VBO but the thing is worse because it only shows Bulk operations: CiviCRM Contact field to add to view all other are missing.
No errors in the drupal logs is registered.
I do not know if it will be a bug

Thanks in advance for your work and I hope you can help me.
Jon

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Jon Altuna created an issue. See original summary.

Jon Altuna’s picture

Priority: Normal » Major
joelpittet’s picture

Issue summary: View changes

Just tidied up the issue summary to make it easier to read.

joelpittet’s picture

Just a guess but can you add the field and just not show it? (exclude from display) to the view?

Jon Altuna’s picture

FileSize
83.53 KB

No, when I try to do step 2 is when I can not add the "Address Location Type" field because it does not go out to be able to add it just like any of the Bulk Operations, it only shows fields of Bulk operations: CiviCRM Contact all the time

I add new image with the configuration of my view page, the last field is the Bulk Operations: CiviCRM Address field and when configure the step 2 show the image of VBO entities values.JPG file and can't add correct Address entities inside of Bulk Operations: CiviCRM Address field

Sorry for my English, and thanks for your work

Jon

joelpittet’s picture

I think you are going to have to debug this one on your own, but I'll leave it open if others who use CiviCRM can help you.