The Entity reference module provides a field type that can reference arbitrary Drupal 7 entities.

learn more… | top users | synonyms

0
votes
0answers
7 views

Search API Referencing entity relations

I am working on a project where i would like to be able to create a search api view that has a relation to the referencing entity. The use case: I have a content type: Products page that holds the ...
0
votes
0answers
13 views

commerce_marketplace problem in viewing products of each store

I'm trying to use Commerce Marketplace module but I don't know if I'm doing wrong or it's a bug. After enabling module, I have added Entity reference field of store to my product(cmp_o_store), then I ...
1
vote
0answers
23 views

List those nodes which are not referenced through a reference field in other nodes?

I have content type which has a node reference field of the same content type. I want to list only those nodes which are not referenced through this node reference field in any other node. Is it ...
0
votes
2answers
24 views

output a referencing field in node tpl

In a node type hotel I have an entity reference field to a node type offer. For the offer node.tpl I need to output some fields of the referencing node type hotel. I have no idea how to get these ...
1
vote
1answer
15 views

custom template for entity as referenced entity

I have a node type for which I have a custom tpl. OK. But this node type I also have as a referenced entity in another nodetype. And in this case I need another custom tpl. Is it possible to have ...
0
votes
0answers
14 views

How do I recreate the navigation function of Book Module while using Entity References?

I'm recently been recreating a bunch of my sites functionality and decided to move away from Book module. It seems to get no love and nothing I need to work with seems to work with it for no apparent ...
0
votes
0answers
3 views

Allow Authenticated User (non-group member) to Assign Task/Event/Form to a Group

I'm trying to figure out how to accomplish this: Allow any authenticated user to submit a form to Groups A through Z. Members of Group A can view forms submitted only to Group A, and respond by ...
1
vote
1answer
27 views

Inline Entity Form in Drupal 8 (create item while adding a reference)

I have a Family content type and a Person content type. A Family has an entity reference to one or more Persons. The normal workflow requires me to first create the Persons, then create the Family ...
0
votes
0answers
9 views

How to show prepopulated fields in submissions entity forms?

I have an entity form on my site which prepopulates the entity for which it is filled in. I've created the entity selection in views. So far no problem. The entity form adjust automatic to the entity ...
0
votes
0answers
11 views

How to prepopulate filters in an Entity Reference View that is being called form a Content Type?

I'm trying to creat an entity reference view for one of my content types. The referenced Content Type and the Referencing Content share two fields in them. The ref field on the Referencing type is the ...
0
votes
1answer
14 views

Change role of users after deleting referred content via rules

I added an entity reference field to user referring to a type book. I also created a rule that each time e user update that field, selecting one book, his role changes from authenticated to reader. ...
0
votes
2answers
36 views

Views: apply filter only if a condition matches

I've searched a lot the Views issue queue, searched for other modules, searched on stackexchange, but it seems that no one needs this functionality (or that there's another way to achieve it). Use ...
0
votes
2answers
17 views

How to make a block showing the content entity the author of the node is linked to?

I cant seem to wrap my head around this so i hope there is somebody that can help. I have a 'business' content type and a 'information' content type on my page. The author of the business is the ...
0
votes
1answer
15 views

Count entitys dependent om field value and as entity reference

I have two node types, Apartment and Building. Apartment has two fields: - "Building" a Entity Reference field that reference to the node type Building - "Rooms" a Text List with values 1 room, 2 ...
0
votes
0answers
16 views

Entity reference use email and show email (not username)

This is my case now: I have an entity reference in my Proposal content type to a user. This is an autocomplete field. I use a view where I select all the users and show the email of the users. That ...
0
votes
0answers
9 views

Attempt to create an instance of field forbidden

I am trying to create a field collection that contains a user reference(reference to user entities). I want to assign the collection to my custom entity. When I try to create the field collection I ...
0
votes
1answer
14 views

Rules to Flag a node referenced by Commerce Order Line Item

I have a site selling edit access to specific nodes. The site uses Drupal 7, Commerce, Commerce License (selling a Role with edit permission), Rules and Flag. On the Add to Cart I have a Line Item ...
0
votes
0answers
14 views

Entity REference Field: autocomplete or add new?

On a content type I am referencing a speaker via a entity reference field. I want the user to be able to select an author from the list of folks that have already been entered AND if the person has ...
0
votes
1answer
23 views

Drupal 7 Checking for an empty entity reference field in hook_node_validate

In checking whether a form field contains an entry, it has been typical to do something like: if (sizeof($form_state['values']['my_field'][LANGUAGE_NONE]) > 0) because an empty field would still ...
1
vote
1answer
50 views

How can I hide the entity Id on autocomplete widget?

I have an autocomplete widget for a taxonomy entity reference. Every term has an entity ID in parenthesis. If the term has multiple words it appears between quotes. "Lorem ipsum (125)". How can I ...
1
vote
1answer
29 views

Insert several lines in field collection programmatically

I have a problem with field collection and entity reference fields. I have a field collection called 'field_co_intervenant' and i want to add several entities in this field collection and after saved ...
1
vote
2answers
26 views

Filter View by Entity Reference Value From Current Form/Node

I've been trying to figure this out for a while now, I believe that this should be easy but I still can't solve it. I'm a beginner at this. -_- I have 3 Content types Venue Food Package I have a ...
0
votes
1answer
42 views

Get a file URL from a custom entity referenced on a user profile

I have an entity called CV which is used to store uploaded CVs. The entity is created and referenced on the user profile using inline entity form. I need to get the fid for the cv so I can do this: ...
0
votes
1answer
29 views

Block field to referene a view

I am struggling to find a way for a custom block type of mine to reference a view. Basically I want a field of the block to show some of the newest articles. Using the entity reference field and an ...
0
votes
0answers
17 views

How to store replacement patterns in a field and get them to be replaced in a view?

I have two product types: Online Store and Product. The Online Store content type contains information such as name, URL, etc along with a Product URL template text field. What I mean by that is the ...
0
votes
0answers
7 views

Referencing Parent Entity with PathAuto

I've just started with Drupal and I'm trying to create the following URL structure with PathAuto and Entity Reference: Category A -> Category B -> Category C Resulting in ...
1
vote
1answer
42 views

entity_metadata_wrapper - how to remove one item from entity reference field

I have a entity reference field that holds relations to multiple nodes. I have to remove one item programmatically based on nid. Normally to remove item I've just set it to null like this: ...
0
votes
0answers
13 views

Entity Reference JOIN value

I'm importing hundreds of nodes from SalesForce but one field from SF imports a ID value like a0KG0000001jLrwMPT. That value refers to another SF Objet. Then I imported the other object entries but I ...
0
votes
0answers
13 views

Views: how to list referenced nodes on the refering node if current user is ogmember

I have two group content types where one of them has a entity reference field. Content type A is the parent. Type B is the child. On every node of type B i want to display a view that lists nodes ...
0
votes
2answers
31 views

Different product prices per line item options

I'm working with Drupal Commerce, and i have a node type called "travel" with a product entity. This product have some static fields types like "city" which are used to define different prices ...
0
votes
2answers
23 views

Views: How to list nodes that are referencing to nodes, pointing to the current node

I have 3 contenttypes where 2 of them have reference entity fields. Each their own entityfield. Contenttype C is the parent. Type B points to type C. Type A points to B. On every Node of type C i ...
0
votes
1answer
9 views

View: show title of field where user is entity-referenced

I've got a content type of "Course" with entity references to users for Professor, TA, and Designer. Each user can be any of the three roles for any course. I've got a View that shows, for the ...
0
votes
1answer
10 views

(Rules) In Rules, is it possible to access the fields of a referenced entity of an entity?

I've got this scheme: entity person, bundle person, entity health, bundle health. Bundle health has field energy. Bundle person has an entity reference of type health. In Rules data selector, I want ...
0
votes
0answers
9 views

List nodes which reference organic groups in which the logged in user is a member

I've nearly got this working, but can't get the last step. Here's what I'm trying to do: I have a node type 'Project', which users can be members of. 'Projects' can have 'Project Updates'. ...
0
votes
0answers
28 views

How to get an entity reference's field in a database query

I have a simple query right now, a db_select that returns the fields I need, but the problem is that one field is entity reference and I don't know how to get its fields from the db_select. The other ...
0
votes
1answer
17 views

Workflow for Entity relationship / relations

I have a content type called Blog. I want the end users to be able to add new relations between the blogs, so that we can build a network of related blogs. But the challenges I am facing are Users ...
0
votes
0answers
12 views

Global Combine fields filter (Views) does not include Referenced Entities (Content Type)

I have an Content type which contains another Content type, I managed to put in place the relationships using Entity Reference I also configured Views module to display the contained content type, the ...
0
votes
0answers
26 views

Content type by entity refrence node id

I have created one View in which I am using an Entity reference node id from a relationship of another content type. Now according to my project needs, I need a list of nodes based on the node type of ...
0
votes
1answer
18 views

How to get a field with a relationship in a view

I have a design where a car belongs to a brand and let's say a brand belongs to acategory, using entity reference module I was able to display the brand in the car view, but I don't know how to ...
1
vote
1answer
27 views

Configure Panels That Uses View With Entity Reference For User Profile

I am having a hard time setting up my Panels page for the user profile page ie: /user/%user I am using the "Reference" module, and have my content type "News" reference users. I created a view for ...
0
votes
0answers
49 views

Missing bundle property on entity of type node

This issue happens when a user is on my comment page and selects save without adding any information. I've narrowed it down to my node--editorial.tpl.php page. when i comment everything o ut on this ...
0
votes
0answers
15 views

Can Salesforce Suite handle many-to-many relationships with SF junction objects?

My salesforce implementation has a bunch of objects with many-to-many relationships, just as Drupal's node references are many-to-many. But in Salesforce I need to create junction objects to hold ...
1
vote
0answers
13 views

Multiple Entity Reference creation using Services and Autocomplete Widget

This is in reference to: Entity Reference create problem with REST server using Services and How to use Services to create new node with Entity Reference field? What if I want to create multiple ...
0
votes
1answer
24 views

theming a rendered entity in a view header

I reference a node into a view header (rendered entity). I need to do some changes in the output of this referenced entity. Does anyone know the filename for the needed template?
1
vote
1answer
32 views

Assign location from Profile2 to a node

I would like to allow user when creating new content (an event) to assign (from drop down) one of the locations defined in his profile (Profile2)... Is there a module which could help? If not any hint ...
0
votes
1answer
42 views

Search API View, search relation fields

I am creating a search api view based on Search API (with Database backend for now (will change to solr later)). I have 2 entities that are being indexed i.e. project and client. A project contains ...
0
votes
2answers
73 views

How to create a quote request form in Drupal 7

I'm building a Drupal site that uses nodes to display a number of high value products. There are no e-commerce features due to the high value of the products being offered for sale, but the client ...
0
votes
0answers
31 views

Retrieving entity data in views with dynamic (per-row) relationship

I have custom entity 'entitystatus' that holds 'entity_id' reference and 'entity_type' field. Now I need to build a view that will display Entity statuses attached to different entity types (i.e. ...
0
votes
1answer
39 views

Filter content by own content or admin

So I have an entity reference field on a node, the widget is a select-box. I want so that an user can choose one of their own authored nodes as a reference OR if an admin is logged in, they can ...
0
votes
0answers
12 views

Get news of the event belongs to a group of a user

I have 3 content types: Group, Event and News, an event belongs to a group, and an event have news, so that it is like this: Group <-- Even <-- News. I need to get the news of the events that ...