CMDBuild Forum

CQL Filtering

Hi,

 

I am having problem trying to filter drop downs within a card. I have the first drop down (Property), and a secondard drop down (Property Section). I want the values in Property Section to change every time i change the value in the Property drop down.

I've been investigating this all day, and seem to have come to the following conclusions:

1. the CQL filter is only evaluated ONCE (upon loading up the card for entry) - hence the first drop down value is null

2. the value is being passed by: client.Property.Id but doesnt seem to be passing to the filter function properly.

 

Would really appreciate help in this, as i really need the second drop down to modified everytime the first drop down is changed.

 

Best Regards

Hi,
could you please first try to fix the point 2? the correct syntax to define the filter is "client:Property.Id".
And then clear server cache, reload management page and please try to replicate point 1, as we actually cannot reproduce it.
 
Regards,
CMDBuild Team
 
Previously Sabur wrote:

Hi,

 

I am having problem trying to filter drop downs within a card. I have the first drop down (Property), and a secondard drop down (Property Section). I want the values in Property Section to change every time i change the value in the Property drop down.

I've been investigating this all day, and seem to have come to the following conclusions:

1. the CQL filter is only evaluated ONCE (upon loading up the card for entry) - hence the first drop down value is null

2. the value is being passed by: client.Property.Id but doesnt seem to be passing to the filter function properly.

 

Would really appreciate help in this, as i really need the second drop down to modified everytime the first drop down is changed.

 

Best Regards