Questions tagged [entityreference]

89 questions
0
votes
2 answers

How to populate related lookup field CRM 2011

I want to create an auditing plugin that whenever a "contact" entity is changed, a "historical contact" entity is created that had all the data of the old "contact" entity before the change. My question is, if I have a lookup field in "contact" to…
0
votes
1 answer

Drupal Views referencing content node

How can I get a Views block to query information from the page it's assigned to and filter it's output? Please see graphic below to see what I'm trying to accomplish. (Open in new tab to enlarge) views relationship…
sakeferret
  • 305
  • 1
  • 6
  • 15
0
votes
1 answer

Drupal Views Entity Reference Context

I'm running Drupal 7 with Entity Reference and Organic Groups. I have two content types, one of which is a group and the other is group content. I have an Entity Reference field (Select List) that references group content associated with the group.…
Ken J
  • 4,312
  • 12
  • 50
  • 86
0
votes
0 answers

How to get primary key field name for null EntityReference?

I've made the following function to assign value to a foreign key reference (I know, it's dirty and does not work for compound keys): void setFk(dynamic tbl,object id){ var path=db.DefaultContainerName+"."+tbl.TargetRoleName; …
0
votes
1 answer

Previewing fields of a referenced node in Drupal 7 with EntityRefererence

I'm confronted with the following not-knowing-how-to-do-this: Two content types (CT) : Parent and Child Parent has a field ChildRef (Field type: Entity Reference; Widget: Select list) Child has fields Name (Text) , Adress(Text) and so on When I…
Graphileon
  • 5,275
  • 3
  • 17
  • 31
0
votes
1 answer

MS Dynamics: How to remove all association of the Entity

I have an appointment entity which has an association with contact entity. I am trying to remove all association from this appointment entity without explicitly providing contact_id. Here is my code snippet with create appointment entity and then…
Firoz Ansari
  • 2,505
  • 1
  • 23
  • 36
0
votes
0 answers

How to parse EntityReference

I am parsing an XML file with a DOM parser and here is the corresponding .dtd: ... I already parsed ConceptReference into an…
Alina
  • 146
  • 8
0
votes
1 answer

Drupal 7 Entity Reference and content type field display

I have successfully created an Entity Reference as one of my content type fields. I am using the Select List as my widget type. The content of the Select List defaults to the node title. This is problematic in my case and I would like to display…
admiles
  • 403
  • 1
  • 5
  • 12
0
votes
3 answers

Java - SAX parser on a XHTML document

I'm trying to write a SAX parser for an XHTML document that I download from the web. At first I was having a problem with the doctype declaration (I found out from here that it was because W3C have intentionally blocked access to the DTD), but I…
user130076
0
votes
1 answer

java: unescaped quotes terminate xml text node value

I'm writing an android app in java. The app emulates flashcards, with questions on one side and answers on the other. I am presently slurping a well-formed (as I believe) .xml document (which is produced by a Qt-based program which has no problem…
M_M
  • 1,955
  • 2
  • 17
  • 23
0
votes
1 answer

Drupal 7 node relationships when creating new content

Say I have 2 content types "Artist" and "Biography". I can use Entity Reference to link one Biography with one Artist (it's a one to one relationship). Now when creating a new Artist, can I have a tab or a link to add an artist biography directly,…
MrUpsidown
  • 21,592
  • 15
  • 77
  • 131
0
votes
1 answer

Using EntityReference, how do I create a Drupal block that shows which nodes reference the current node?

So let's say I have a node for a hotel and a node for a restaurant. I want a list of restaurant nodes that I have explicitly attached to the hotel node using EntityReference. Meaning, there is a field in the restaurant content type that refers to…
SenorPuerco
  • 871
  • 3
  • 9
  • 19
0
votes
1 answer

xml document having external references

Is there a way wherein an xml document can refer to a variable/element which is defined in some other xml file on the same machine?
Jatin
  • 318
  • 1
  • 2
  • 9
-2
votes
2 answers

XML php for google maps: error on line .. at column ..: EntityRef: expecting ';'

I used to have a good working XML file on my site (source for a google map). Until a few days ago got this error: This page contains the following errors: error on line 2 at column 10896: EntityRef: expecting ';' Below is a rendering of the page up…
1 2 3 4 5
6