CMDBuild Forum

Domain Question: Table reference itself

I created a domain for a table to reference itself. The purpose behind this is they want to group assets together and have a parent code to be the main asset in the group. For example:

  • TAG001 - CPU (This will be the parent and have no entry under parent code)
  • TAG002 - Monitor (Parent Code TAG001)
  • TAG003 - Keyboard (Parent Code TAG001)
  • TAG004 - Mouse (Parent Code TAG001)
  • Etc etc etc.
    The problem I’m running into is that when I make a selection when adding a new card the field stays blank.
    Also importing the record with the Parent Code will error if that Code isn’t in the table and succeed if there is one however when you view the card the Parent Code is blank.

image