Announcement

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

    FilterBuilder and default field

    Is there a way I can specify the datasource field that is selected by default in the FilterBuilder when a new item is added via the + button?

    Thanks
    Last edited by stonebranch1; 25 Jun 2014, 17:43.

    #2
    As of builds dated June 28 and later, you can set defaultValue via FilterBuilder.fieldPickerProperties

    Comment


      #3
      Excellent! Thanks for update.

      Comment


        #4
        Works great thanks!

        I have a follow-on question...

        1st, would you prefer follow-on questions to be in separate thread or is it OK to use the current thread?

        Follow-On Question:

        Is there a way I can tell what DataSource attributes get inherited and which do not?

        I have set the following in my ds.xml which is extended by about 10 other ds.xml files:
        Code:
            <descriptionField>name</descriptionField>
           <fields>
                <field name="name" type="text" length="100" required="true">
                </field>
                :
                :
            </fields>
        The fields are nicely inherited but the descriptionField appears not to be since calling "ds.getDescriptionField()" on the inherited DataSource returns null. I was hoping I didn't have to repeat the description field in all the inherited ds.xmls

        Thanks.

        Comment

        Working...
        X