Hi,
While adding/modifying a card,
I want an attribute to be shown as list box. The list box must contain the items present in an attribute of a different class.
For example,
i have a "employees" class containing all the names in "employeename" attribute.
I have a class called "inventory" with an attribute "name".
When i add a card in "Inventory" class, the attribute "name" must have all the names present in "employeename" attribute of "employees" class.
Thanks and Regards.
What you describe is the normal behavior of the “Reference” attributes (see the Administrator and the User Manuals).
The only aspect to consider is that at the moment in the drop down list is mandatory shown the attribute “Description” of the linked class (you can not choose which one).
However, you can create a trigger in the database that automatically fills the “Description” attribute and then hide it in the management of the linked card (see this post http://www.cmdbuild.org/forum/forum-in-english/908224516?b_start=0#561835818 ).
CMDBuild Team
Thank you very much.
Previously Tecnoteca wrote:
What you describe is the normal behavior of the "Reference" attributes (see the Administrator and the User Manuals).
The only aspect to consider is that at the moment in the drop down list is mandatory shown the attribute "Description" of the linked class (you can not choose which one).
However, you can create a trigger in the database that automatically fills the "Description" attribute and then hide it in the management of the linked card (see this post http://www.cmdbuild.org/forum/forum-in-english/908224516?b_start=0#561835818 ).
CMDBuild Team