Entity References

Submitted by rnsrk on Mon, 10/18/2021 - 10:34

Entity References point to existing groups and are used to display labels according to defined title patterns and to load or write the entire information of a group  ... is a fundamental structure element of the pathbuilder ... is the place where you define the WissKI structure, configure groups and fields and tell WissKI to which adapter it should send the queries. You can export/import your pathbuilder setup. The administrative name of a pathbuilder could something like Collection and Collection Items or Named Entities. and can be used as a disambiguation point. Enabled groups resulting in bundles, if you click Save and generate bundles and fields. Administrative names are i. e. Collection or Person and machine names should be start with "g_", like g_person. . Entity references are expensive in performance, so they should be used sparingly.

Prereqisites

  • a resusable group  ... is a fundamental structure element of the pathbuilder ... is the place where you define the WissKI structure, configure groups and fields and tell WissKI to which adapter it should send the queries. You can export/import your pathbuilder setup. The administrative name of a pathbuilder could something like Collection and Collection Items or Named Entities. and can be used as a disambiguation point. Enabled groups resulting in bundles, if you click Save and generate bundles and fields. Administrative names are i. e. Collection or Person and machine names should be start with "g_", like g_person. or the wisski.com example environment

Usage

Navigate to Manage Configuration Pathbuilders Collections and collections items. Click + Add Path and enter Preparation as Name (machine name: ref_spe_preparation), leave Path Type on Path and choose the tree steps http://erlangen-crm.org/200717/E20_Biological_Object http://erlangen-crm.org/200717/P16i_was_used_for http://erlangen-crm.org/200717/E65_Creation. Leave the Datatype Property blank and select http://erlangen-crm.org/200717/E65_Creation as Disambiguation Point. Save. As Type of the field that should be generated select Entity reference, choose Inline entity form - Complex as Type of form display for field and Rendered entity as Type of formatter for field. Save.

Check Result

Go to entity Bobby at WissKI Navigate Specimen Bobby (Gorilla gorilla). Click on the Edit tab. Under Preparation click Add new wisski entity and enter Kaestner, Karl, and Schröder Gerhard. As Starting Year of Creation, type 1935. Save.

The entity Bobby (Gorilla gorilla) should have a new section Preparation, with its Creators and Starting Year of Creation.

 

Was this reply helpful?
0
0
No votes have been submitted yet.

Need help?