Salta ai contenuti. | Salta alla navigazione

Sezioni

Forum

Un luogo per gli utilizzatori di CMDBuild. Consigli e suggerimenti, modelli di integrazione e sviluppo.

Chiedi agli esperti

Richiedi il supporto e l'assistenza professionale del maintainer del progetto. Training personalizzati e sviluppo estensioni funzionali.

Azioni sul documento

Reference Attribute has no domains in drop-down list

Tu sei qui: Home Supporto Forum Forum in English Reference Attribute has no domains in drop-down list
Vai al livello superiore

Reference Attribute has no domains in drop-down list

Lasciato da Victor il 12 gennaio 2012 alle 3:2

Hi,

 

I've been using CMDBuild v 1.4 for few weeks now and I'm gradually expanding it with new Classes and Domains. All worked fine so far, until today.

I've created a new Class (say, VMPools) and defined new Domain (VMPoolsChassis, 1:N).  However when I try to add new attribute "Chassis" to VMPools class and select type as "REFERENCE" there is nothing in the Domain list.

Any ideas what went wrong? 

 

Thanks and regards,

Victor.

Re: Reference Attribute has no domains in drop-down list

Lasciato da Tecnoteca il 12 gennaio 2012 alle 19:12

If you have two classes (for example A and B) and a domain 1:N between A and B (in that order) the "reference" attribute must be created in class B.

A "reference" attribute is like a foreign key.

Fabio

Re: Reference Attribute has no domains in drop-down list

Lasciato da Victor il 13 gennaio 2012 alle 0:31
Thanks Fabio, that was exactly the problem. I was trying to do that in class A. 
 
Regards,
 
Victor.
Tecnoteca ha scritto:

If you have two classes (for example A and B) and a domain 1:N between A and B (in that order) the "reference" attribute must be created in class B.

 

Re: Reference Attribute has no domains in drop-down list

Lasciato da Cristian il 20 marzo 2012 alle 11:56
Tecnoteca ha scritto:

If you have two classes (for example A and B) and a domain 1:N between A and B (in that order) the "reference" attribute must be created in class B.

A "reference" attribute is like a foreign key.

Fabio

Hello Fabio,

 

 

I have follwoed the steps mentioned by you, the Domain name appears now in the dropdown menu, BUT when I switch to Data Mangement module and try to populate with data this new attribute, the drop down list is empty. Is it a Bug?

 

 

Thanks,

Cristian

Re: Reference Attribute has no domains in drop-down list

Lasciato da Tecnoteca il 20 marzo 2012 alle 14:19

It may be that the class linked by the domain is empty, or all the cards in that class have the attribute "Description" empty (the drop down list shows that value).

Fabio

Re: Reference Attribute has no domains in drop-down list

Lasciato da Cristian il 28 marzo 2012 alle 14:15
Tecnoteca ha scritto:

It may be that the class linked by the domain is empty, or all the cards in that class have the attribute "Description" empty (the drop down list shows that value).

Fabio

Thank you for your answer but I think that what I've reported was ideed a bug. The issue has been fixed in the last build 1.5.2

https://bitbucket.org/tecnoteca/cmdbuild/downloads/cmdbuild-1.5.2.war

 

Sviluppato da Ploneboard
Tecnoteca

Tecnoteca ha progettato e realizzato CMDBuild ed è maintainer del progetto.

 

Per contatti:
Tecnoteca srl
Via L'Aquila 1/B
33010 Tavagnacco UD
tel. 0432.689094  
fax 0432.689572
modulo contatti

Partecipa
Twitter LinkedIn Google+ RSS YouTube SlideShare