Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Difference between ComboBoxItem.setPickListCriteria() & FormItem.setOptionCriteria()

    Hi Isomorphic,

    could you please explain the difference between ComboBoxItem.setPickListCriteria() and FormItem/ComboBoxItem.setOptionCriteria() (in 5.1p)?

    They seem to do the same, but setOptionCriteria is not documented on the ComboBoxItem-class itself, only on FormItem.

    What is the difference and which one should I use on a ComboBoxItem-instance?

    Thank you & Best regards
    Blama

    #2
    It's just as the docs say: optionCriteria applies to both the fetchMissingValues behavior and the pickList, pickListCriteria only to the pickList.

    optionCriteria is usually the one you'd set.

    Comment


      #3
      Hi Isomorphic,

      this means that I could set different pickListCriteria, but if I leave them unset, optionCriteria is used for both, correct?

      Best regards
      Blama

      Comment


        #4
        If both are set, they are combined for PickList fetches.

        Comment

        Working...
        X