Questions tagged [civicrm-entity]

Questions relating to the CiviCRM Entity module, https://drupal.org/project/civicrm_entity

Filter by
Sorted by
Tagged with
2 votes
1 answer
62 views

Drupal 9/10: How to create Event Location + Events using CiviCRM Entity

I have enabled the CiviCRM Entity module. How can we create an event location and event in CiviCRM using a single form submission? This functionality was achievable in Drupal 7 using https://skvare....
jitendra - fuzion's user avatar
1 vote
1 answer
25 views

Custom views filter with civicrm_entity Drupal 9

Need a hint. With civicrm_entity (3.5) i haven't the possibility to get multiple items in a views row. So i wrote a custom field and now I want to filter it. I think this works for the contact type (...
ItsMe's user avatar
  • 133
1 vote
1 answer
48 views

Can I use Drupal 10 Search API?

I need to update a Drupal 10 Webform so that it allows the user to pick a school in our database by name and/or postcode. This is because there are a very large number of schools with very similar ...
ChumKui's user avatar
  • 747
0 votes
1 answer
32 views

Retrieving Contact information with API4 Inside the module

I am developing a simple module that hooks into Membership Create, and then uses the information of the related contact to perform some other functions, like initiating a NextCloud account with the ...
Kamyar's user avatar
  • 13
1 vote
0 answers
12 views

Activity tags not available in Drupal views Drupal 10.x, CiviCRM 5.66

Don't know if I'm being thick or if this is a bug. Creating an Activities view in Drupal and looking for Activity tag relationship to bring in activity tags to the display and they only show for ...
Tony Horrocks's user avatar
1 vote
1 answer
22 views

Api get all option within sub entity

get all options from a sub entity named payment_instrument within a entity called OptionGroup
James's user avatar
  • 11
1 vote
1 answer
45 views

Drupal 9 View unable to display logged in User

I have an issue that I think relates to this question: Drupal 9 View Shows Permission Denied For CiviCRM Tables and possibly this: Views integration error on D9 The Views I have recreated from my D7 ...
ChumKui's user avatar
  • 747
1 vote
1 answer
81 views

Getting aggregation to work in D9/D10 Views with CiviCRM relationships

Using CiviCRM Entity commit 5295af29e5bac4575f991683b1c061b96a0e0713 (HEAD -> 8.x-3.x, origin/HEAD, origin/8.x-3.x) Trying to get this to aggregate properly -> But this should only show 3 rows ...
KarinG - Semper IT's user avatar
0 votes
1 answer
36 views

how to disable passport generate document option in civicrm in users profile

I want to disable passport generate document in CiviCRM users dashboard only. Can you please help me how I can do it this option is not available in permissions and display preferences also. this is ...
Kamrosh's user avatar
1 vote
1 answer
25 views

what is the format or encoding of files in the content property when creating an attachment entity in civicrm API V3

I tried many things like base 64 or just using the php function file_get_contents but when i check the civicrm UI and click on the attachment it doesn't work (for images for example it says ...
abdeslam chettout's user avatar
1 vote
1 answer
29 views

how to manipulate attachments using API V4 in CiviCRM 5.60

So I am kinda new to civiCRM, I am using the API v4 and creating cases with it. but I have two questions about the attachments. the attachments are linked to the activity and the activity is linked to ...
abdeslam chettout's user avatar
1 vote
0 answers
32 views

Error in civicrm entity leaflet Drupal 9.5

I get this error on my installation with Drupal 9.5.0, PHP 8.1.12, drupal/leaflet 10.0.5, drupal/civicrm_entity 3.3.0, civicrm/civicrm-core 5.56.1 : `Error : Call to undefined method Drupal\...
Jipi's user avatar
  • 21
0 votes
1 answer
41 views

How to enable a specific role to edit own content in CiviCRM Contact Form?

How to allow a specific Drupal role to modify its own content in the CiviCRM Contact form (civicrm-contact/%user)? I don't see any permissions like "edit own content" for type nodes in admin/...
Jipi's user avatar
  • 21
1 vote
0 answers
50 views

CiviCrm installation error on Drupal 9

After installation of the 'drupal/civicrm_entity:^3.3'. I got error 500. When I tried "update.php" get the following error. Warning: require_once(DB/DataObject.php): failed to open stream: ...
Rdb's user avatar
  • 11
0 votes
1 answer
24 views

Add new format to civicrm_entity

I would like to add a new format to civicrm_entity. I have tried to create an issue and patch in Github, but I am not experienced so I am stuck what to do next. Is anyone able to give me a push? https:...
Webmaster COVS's user avatar
0 votes
1 answer
82 views

How can I write custom entites/ actions for api v3 - usage of api v4 for scheduled jobs

I want to define some scheduled jobs so that old data is deleted from time to time. For example contacts in trash, mailings older than X year, drafted mailings never sent... For scheduled jobs I need ...
Tobias Krause's user avatar
1 vote
1 answer
62 views

Include a CiviCRM role into Drupal View (custom dashboard)

I want to create a custom Dashboard with Drupal Views to substitute the built-in CiviCRM dashboard (because CiviCase dashboard shows cases for invisible contacts ). I want to set a contextual filter ...
emma's user avatar
  • 493
1 vote
2 answers
65 views

List all members by zipcode or city

I want to list all members by zip-code or city. Then the resulting page to be editable & linkable. Also, want the resulting page to have "exposed filter" where someone can choose a city ...
salah-1's user avatar
  • 205
1 vote
0 answers
28 views

Get Drupal View to Display Label from Numeric Custom Select Field

I have a custom field in Civi that is a numeric select field. The select field values are numeric but the associated labels are text. I have created a Drupal view that displays the select field but it ...
Ben's user avatar
  • 946
3 votes
1 answer
358 views

Drupal 9 Views: rich text fields render with all HTML tags visible

HTML tags added by CiviCRM's rich text editor is generated as plain text in Views output for fields like CiviEvent description or custom rich text fields. Stripping tags in the Views output doesn't ...
Nic's user avatar
  • 530
3 votes
3 answers
77 views

create a group of contacts NOT matching search criteria

I need to create a group of contacts who do NOT match a certain search criteria. Is there some way to do so using the browser interface? Thanks. -- Hugh
Hugh Esco's user avatar
0 votes
1 answer
31 views

Using a dropdown box for selecting stateprovice?

I'm trying to change some forms from quickforms to angularjs. In quickforms you do this: $this->addEntityRef('Location_province', ts('Select Province'), ['entity' => 'state_province',]); How do ...
Norm Dressler's user avatar
1 vote
1 answer
67 views

Drupal View Not Rendering HTML From Activity Email Details Field

I am trying to display in a Drupal (8) view the content of emails that have been sent to contacts using the contact Send Email action. I am using the details field from the activity to show the ...
Ben's user avatar
  • 946
0 votes
1 answer
62 views

CiviCRM Entity and editing or viewing activites

I'm just curious if anyone has done work with CiviCRM Entity and activities. I was considering whether it makes sense (or is even possible) to have people edit certain activities from Drupal rather ...
RayWright's user avatar
  • 2,488
1 vote
1 answer
28 views

Does Drupal 7 "CiviCRM Entity" online event registration generate confirmation email?

I just started using CiviCRM Entity to embed event registration forms in my Drupal 7 web pages. The event registration works, but people who register through this mechanism do not receive ...
MikeLab's user avatar
  • 51
3 votes
2 answers
92 views

Is it possible to view smart group membership in Views?

I have a view set up to display the content of groups but it only works for viewing manual group membership, not smart groups. (I have the form set to require input rather than the basic form style.) ...
RayWright's user avatar
  • 2,488
0 votes
1 answer
217 views

How to get Views to work in CiviCRM on Drupal9 with separate CiviCRM database

On based the answers on this question How to get CiviCRM Views to work in Drupal 8 with separate CiviCRM database I'm trying to get work Views on Drupal9. Drupal9 and CiviCRM has different databases, ...
Pál Rudan's user avatar
0 votes
0 answers
20 views

How does one install a new custom field?

After adding a Custom Field on Activity -> I get this message on the status report. How does one install a new custom field?
KarinG - Semper IT's user avatar
1 vote
0 answers
32 views

How to filter contacts according to tags in views in Drupal 8 with CiviCRM entity?

I want to be able to filter organizations by tags. However, the reference in "Relations" is not available for tags even though it exists for groups : "CiviCRM Tags uses created_id" ...
Jipi's user avatar
  • 21
0 votes
1 answer
249 views

Call to undefined function civicrm_initialize() in sites/all/modules/contrib/civicrm_entity/civicrm_entity.module:488

I've just updated Drupal core (to 7.75) and found my site was stuck in maintenance mode, even after it was unticked in configuration. I've had this before and always been able to get round it with a ...
somnolentsurfer's user avatar
1 vote
1 answer
45 views

Reason for no Views Relationship from CiviCRM Contact to Event Participant

I am trying to write a Drupal View (with VBO) to show CiviCRM Contacts with the Event Participant records which they are related to. But there is no suitable Relationship in the standard list. I ...
user avatar
1 vote
1 answer
77 views

Can you use VBO to update activities on cases?

I'd like to be able to bulk update the status of activities (that happen to be on a case) from a view. I can get the status to update but the problem is it loses the Case ID along the way. For example,...
RayWright's user avatar
  • 2,488
1 vote
0 answers
52 views

Civi entity didn't automatically create the table in database

I created a new entity for my extension. These are the steps i followed: Generated the skeletal files using civix generate:entity command Edited the XML schema definitions as i needed. Generate your ...
safron's user avatar
  • 89
1 vote
2 answers
106 views

Drupal 8 CiviCRM Entity and Views activities

We have been working on Views, with Civi Entity, on Drupal 8. We are having an issue a list of Activities and filters. We only want to load Activities where the source contact is a particular ...
Oliver Gibson's user avatar
1 vote
1 answer
27 views

In order to see Activities fields in Views - do I need to add/install CiviCRM Entity?

I want to add Activities fields or Relationships in Drupal Views. Do I need to add/install CiviCRM Entity?
Joe McLaughlin's user avatar
1 vote
1 answer
49 views

Base table not found for civicrm_contribution_page #201

On latest version of 8.x-3.x branch i get following error when try to add a view for contribution page SQLSTATE[42S02]: Base table or view not found: 1146 Table 'civicrmdb.civicrm_contribution_page' ...
Pradeep Nayak's user avatar
0 votes
1 answer
6 views

Cache SqlGroup.php expiration_date-value not Positive

Installed civicrm 5.20.1, Windows10, WP 5.3.. Install errors flag civicrm_cache.expiration_date, set in CRM/Utils/Cache/SqlGroup.php, in update and insert queries as FROM_UNIXTIME(%5) and ...
Lesley Evensen's user avatar
1 vote
2 answers
97 views

Is there a reason why custom field sets cannot be multiple value?

I've added a custom field set to the Participant entity, but I need to it allow for multiple values. I've noticed that the Contact entity has no problem with this, but is there a reason why it doesn't ...
AlbionBrown's user avatar
2 votes
1 answer
91 views

Issue with Drupal 8 CiviCRM Views + CiviCRM event

Does anyone know how to create a Drupal view to show only future/upcoming CiviCRM events in Drupal 8? I tried by adding the Event start date as filter but it doesn't provide the filtering options to ...
Vikas BN's user avatar
  • 113
3 votes
2 answers
64 views

Fixed - Why can't I display some Civi contact fields through CivCRM Entity in Drupal 8?

I've got a development site running using Drupal 8.7.7/Civi 5.17.5 and CiviCRM Entity. I want to set up some Views to display Civi data. Some fields are being displayed fine (e.g. first name, last ...
Graham's user avatar
  • 4,025
1 vote
1 answer
39 views

Drupal views: Civicrm drupal_id entity missing after update?

Inside Drupal views, I use some contextual filters and relationships which, I think, are provided by CiviCRM Entities. Before Civi 5.15, some seemed to be provided by CiviCRM itself (?). Under '...
commonpike's user avatar
  • 1,181
2 votes
1 answer
113 views

Webform CiviCRM or CiviCRM Entity?

Until now whenever I've needed to enable site visitors to enter or update data in Civi on Drupal sites I've used webforms and the excellent Webform CiviCRM integration module. By and large it does the ...
Graham's user avatar
  • 4,025
0 votes
2 answers
42 views

Undefined property: CRM_Contact_DAO_Contact::$contact_id in civicrm_entity_contact_user_get()

Following the advice I received in Allow only existing CiviCRM contacts to create own Drupal account, I'm trying to implement Drupal Rules to create an associated Drupal user whenever a CiviCRM ...
somnolentsurfer's user avatar
1 vote
0 answers
26 views

View of CiviCRM Events containing CiviCRM Contact Data

I need to set up a list of Upcoming Events in Drupal 7 with a View of CiviCRM Events Entity. I need to redirect the logged user to a Drupal Custom Node after the user has selected a specific event to ...
Cristina P.'s user avatar
1 vote
1 answer
65 views

VBO (Views Bulk Operations) - Bulk Operations field not showing in field list

Trying to use VBO in a view of CiviCRM contributions, but when I try to add the Bulk Operations field, it is not listed in the pop-up field list so can't be added. The rest of the view works (ie can ...
Aidan's user avatar
  • 13.5k
4 votes
1 answer
94 views

Error after installing Civi Entity module

Blockquote Warning: array_combine(): Both parameters should have an equal number of elements in CRM_Contact_BAO_Relationship::buildRelationshipTypeOptions() (line 2250 of /home/i571020/membership....
Ralph's user avatar
  • 161
0 votes
2 answers
428 views

Retrieve Drupal user id from CiviCRM Contact id

Is it possible to retrieve Drupal uid from CiviCRM Contact id? Can any one please guide me? OR Is it possible to get the Drupal user detail associated to a payment contribution?
nirmal lama's user avatar
6 votes
2 answers
843 views

How to get CiviCRM Views to work in Drupal 8 with separate CiviCRM database

When setting up a Drupal 8 with separate CiviCRM database, the Drupal views cannot read the CiviCRM database: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'xxx.civicrm_contact' ...
Hans Rossel's user avatar
2 votes
1 answer
58 views

CiviCRM-Entity Case - view block on a Drupal node

I'm attempting to display a View Block with a CiviEntity (type: CiviCRM Case) on a Drupal Node using Display Suite (block field). When I set up the Display Suite Block Field, I'm presented with ...
RayWright's user avatar
  • 2,488
2 votes
2 answers
121 views

Development - Refresh of parent page

Wordpress with CiviCRM 5.3.2 Hi guys, I'm struggling with a small problem. I've added a tab (using tabset) to create a new tab while viewing a contact. That tab lists any dogs registered to that ...
Norm Dressler's user avatar