CMDBuild Forum

how to set default value for "Complex"

hi,
i need little help,
i have one complex, and whenever we make new asset we need to chose complex.
how to set this field to fulfill automatically when we open form for new asset?
i try api.setValue(“Complex1”);
but it wont work