Unable to use UI Only FIeld in Reference Field Lookup Filter

  • 2
  • Problem
  • Updated 12 months ago
  • Solved
When specifying Lookup Filters on a field, if "Another Field From Row" is selected for "Content", the UI Only Fields on that row are not available to be selected.

Note - If you choose "Field From Another Model", the UI only fields are available for selection. 

Steps to reproduce:
1) Create page using XML below
2) Open page in Builder
3) Click Parent Account Id
4) Go to Filters tab
5) Select Source Field "selector button"

Expected Behavior
UI Only fields are in the list of available fields

Actual Behavior
UI Only fields are not in the list to be selected

Sample Page XML
<skuidpage unsavedchangeswarning="yes" personalizationmode="server" showsidebar="true" showheader="true" tabtooverride="Account">   <models>
      <model id="Account" limit="1" query="true" createrowifnonefound="false" sobject="Account" adapter="" type="">
         <fields>
            <field id="Name"/>
            <field id="CreatedDate"/>
            <field id="ParentId"/>
            <field id="Parent.Name"/>
            <field id="ParentAccountNameFilter" uionly="true" displaytype="TEXT" label="Parent Account Name Filter"/>
         </fields>
         <conditions>
            <condition type="param" enclosevalueinquotes="true" operator="=" field="Id" value="id"/>
         </conditions>
         <actions/>
      </model>
   </models>
   <components>
      <pagetitle model="Account" uniqueid="sk-2qb6ls-70">
         <maintitle>
            <template>{{Name}}</template>
         </maintitle>
         <subtitle>
            <template>{{Model.label}}</template>
         </subtitle>
         <actions>
            <action type="savecancel" window="self"/>
         </actions>
      </pagetitle>
      <basicfieldeditor showsavecancel="false" showheader="true" model="Account" mode="read" uniqueid="sk-2qb6ls-71">
         <columns>
            <column width="100%">
               <sections>
                  <section title="Basics">
                     <fields>
                        <field id="ParentAccountNameFilter" valuehalign="" type=""/>
                        <field id="Name"/>
                        <field id="ParentId" valuehalign="" type="">
                           <filters>
                              <filter type="dependent" operator="=" field="Name" value="" mergefield="Id" novaluebehavior="deactivate" enclosevalueinquotes="true"/>
                           </filters>
                        </field>
                     </fields>
                  </section>
               </sections>
            </column>
         </columns>
      </basicfieldeditor>
   </components>
   <resources>
      <labels/>
      <css/>
      <javascript/>
   </resources>
   <styles>
      <styleitem type="background" bgtype="none"/>
   </styles>
</skuidpage>
Photo of Barry Schnell

Barry Schnell, Champion

  • 18,076 Points 10k badge 2x thumb

Posted 3 years ago

  • 2
Photo of Stephen Sells

Stephen Sells, Official Rep

  • 16,856 Points 10k badge 2x thumb
Official Response
Thank you again for bringing this to our attention. Skuid has implemented the solution in the new Millau 11.0.0 release which is now available on the Skuid Releases page.

As a reminder, Salesforce does NOT allow reverting back to prior versions of managed packages. Skuid always recommends installing new versions in a non-business critical sandbox environment to test all mission critical functionality before installing into a production environment. We also recommend that you update out of date themes when you upgrade.
(Edited)