bind combo box data to subset of an static entity.

bind combo box data to subset of an static entity.

  

Hi ,

I have an "Static entity" Exam with values 

  • Exam1
  • Exam2
  • Exam3
  • Exam4

The Combo box has a property "source entity"  and i can bind it to the entity Exam.  But I do not want to use all the values of the exam static entity.  I only want to show a sub set i.e. Exam1 and Exam2 box to display in the combo box. 

I do not want to create another static entity again just for the combo box 

Is there a way that I filter the static entity set and bind the combo box to it.


Thank you in advance,

learner

If you can have Exam1 and Exam2 active and Exam3 and Exam4 not active you can add a Is_Active attribute to that static entity.

If you configure that attribute as the  "Is Active Attribute" in that table settings only the active records will appear in the combo box when choosing "Source Entity".


Attention: You cannot change the value from the static entity attributes in runtime!!


Cheers,

João Heleno