CMDBuild Forum

LookUpTypes Removal/Export/Hierarchy

Hi,

as we are trying to find out how to properly integrate CMDBuild into our workflow we run into a couple of problems along the way such as the usual of the wrong design of our Data-Input and Modification. For instance it would be great to be able to modify LookupTypes. In my case I unfortunately only added LookUpTypes for a few devicetypes we have here. However a new requirement was added such that the superclass above these should instead get a LookupType called Productname that would have a list of names of products. So:

HPServerType: 
  Proliant DL360 G1
  Proliant DL360 G2
  Proliant DL360 G4
  Proliant DL360 G4p 
  Proliant DL585 G2
StorageArrayType:
  HP P2000 G1 FC
  HP P2000 G2 FC
  HP P2000 G3 FC
  HP P2000 G1 Eth
  HP P2000 G2 Eth
  HP P2000 G3 Eth

So on and so forth. However these were only specific to that subclass. Now I am supposed to add this to the superclass (Rackelement) in order to have such a name for all of these. It wouldn't be a problem currently if I would just add a MainType like "ProductType" and could simply modify each LookupType to be a subtype of "ProductType". Is this planned could this be added? Would it be possible with an insight into how you designed CMDBuilds SQL-Schema to fix this by modifying the database directly? Supposing that all hierarchy related configuration data is stored in the database, of course.

 

Thanks,

Andreas Marschke.

Hi Andreas,

If your need is to have a list of sublists you can use a multi-level lookup (CMDBuild 2.1 Administrator Manual page 42).

If your need is to manage the lookup lists from the Administration Module, this is not possible (our philosophy is that if you define attributes with a closed list of values​​, the allowed values ​​must be decided by a responsible and can not be modified by everyone).

CMDBuild team