Questions tagged [entityreference]

89 questions
0
votes
0 answers

The entity name must immediately follow the '&' in the entity reference when putting CORS Filter

I want to login into my app, but I always get a "The entity name must immediately follow the '&' in the entity reference" error since putting a CORS Filter into my web.xml file. The funny thing is this error doesnt happen when I dont have the CORS…
0
votes
0 answers

Entity reference in Drupal 9

I've been using entity reference and entity reference autofill to achieve the following in Drupal 7. Content type A has a field with entity reference and some child fields related to it. Content type B has entity reference lookup field (drop-down)…
0
votes
1 answer

How do I store content in Drupal 9 about wrestlers and their entrance themes in such a way that a theme entry can be "borrowed" from another wrestler?

I am building a site in Drupal 9 that will, ideally, list the entrance themes of professional wrestlers. I am having trouble figuring out the architecture of such a site given the following requirements: Each wrestler/team is a node (most likely a…
TerranRich
  • 1,263
  • 3
  • 20
  • 38
0
votes
1 answer

Reference a content of a type to another contant type

I am new to Drupal 8, and I was wondering if there is a way to link the content of one content type to another, I have 2 content types, Article and Article_Card and I would like to make a trimmed version of each Article such as it only shows the…
agoumi
  • 304
  • 5
  • 24
0
votes
1 answer

Loading Dynamics CDM with Azure Data Factory (@entityReference)

Using Azure Data Factory to Sink to Dynamics Common Data Model. Source: Col1: CustomerName Col2: CustomerGroup Destination - CDM Col1: CustomerName Col2: CustomerGroup (this is Lookup Column in Dynamics) Fails when mapping in ADF…
Sreedhar
  • 29,307
  • 34
  • 118
  • 188
0
votes
2 answers

How to programmatically set node > Image entity reference field value where I have fid value in drupal 8 node edit form

I have a node type "Kaboodle" and its image field is media entity reference field. I want to set default image fid in image field value if user has not uploaded any image on the field while saving node edit form or adding new node. Please provide…
0
votes
1 answer

Drupal 8 views entity reference exposed filter based on node reference

I have a problem in filtering a views with an entity referenced field. I have a content type called "product" and a content type called "category". In "product" node i have an entity reference field to "category" nodes (only one category per…
0
votes
1 answer

Drupal 8 - Accessing a referenced entity through $fields (implementing validation on node creation)

Within a custom module, I'm working on validating a field based on an entry from another field. The validation works when the hash is hard coded (i.e. // $bookhash = 1;). However, I cannot seem to figure out how to access hash of the referenced…
0
votes
1 answer

How to pass an EntityReference to add attribute value on a lookup field in Microsoft Dynamics 365 CRM

Entity contact = new Entity("contact"); contact.Attributes.Add("fullname", "h api test"); contact.Attributes.Add("emailaddress1", "hh@devenv1.local"); contact.Attributes.Add("telephone1", "1"); contact.Attributes["parentcusotmerid"] = new…
0
votes
1 answer

Drupal 7 events in multiple places - many to many relationship

We need to make many-to-many references in Drupal 7. We have 2 entities named : sport activities fitness clubs (physical places) Here are some rules concerning the entity relation : each sport activities can be practised in different fitness…
davidvera
  • 1,292
  • 2
  • 24
  • 55
0
votes
0 answers

How to use Views pages in entity reference

I have created a page in views. Is it possible to use Views pages in entity reference field. I can able to use content types, but unable to use Views pages. Can anyone please help me on this? Thanks.
Rajivgandhi
  • 41
  • 1
  • 6
0
votes
1 answer

Drupal 8: reference to a block created with views in a paragraph (as field)

I want to do add a field as reference to a bloc in a paragraph. The block was created using Views module.
0
votes
1 answer

Add "Other" option to Entity Reference select list

I have an entity reference field as a select list. How can I add other options there if selected user can add a text to a text field? I am using Drupal 7. Thanks,
Emad Samir Zaki
  • 393
  • 2
  • 10
0
votes
1 answer

CRM 2015 SDK OrganizationService.Associate: If 1 in collections errors, do others still associate or all rollback?

In CRM 2015 SDK when you are using OrgService.Associate (wrapped in try/catch) to associate an EntityReferenceCollection to an Entity, if any one of the EntityReferences fails, does the entire ERC fail at that point? Or say there were 10 ERs in the…
Locohost
  • 1,682
  • 5
  • 25
  • 38
0
votes
1 answer

XQuery file returning invalid entity reference using special characters

I have the following query in a MarkLogic XQuery file, and I am seeing the following error message returned XDMP-ENTITYREF: (err:XPST0003) Invalid entity reference " " . See the MarkLogic server error log for further detail. The following is the…
Key
  • 396
  • 4
  • 15