Skip to content
OrdiNeu edited this page Feb 5, 2020 · 2 revisions

What is a reference?

Each node has a jcr:uuid property; a reference property is just a link to another node through its jcr:uuid. This has some caveats:

  • When uploading data containing a reference, (e.g. via a form) a TypeHint must be specified. In a form of an html document, it would be specified as e.g. <input type="hidden" name=/Forms/testform/testanswer/question@TypeHint value="anything"></input>.
  • It's not possible to guess at the jcr:uuid prior to uploading a Questionnaire -- most of our code will allow you to specify a node via its path instead.