Pick list based on global value set

  • 1
  • Problem
  • Updated 1 year ago
  • In Progress
  • (Edited)
I have one picklist that based on selection renders a responsive grid viewable or not - it works.  I have another picklist that does not work.  The difference is the second picklist is based on a global value set. Is that a problem.  

I now think it has anything to do with global picklists.

Here is how I have it set up
https://drive.google.com/file/d/0B409lhd9sYDcaUttMG9YcEY5YnM/view
Photo of Bill Fox

Bill Fox

  • 7,954 Points 5k badge 2x thumb

Posted 1 year ago

  • 1
Photo of Stephen Sells

Stephen Sells, Official Rep

  • 16,856 Points 10k badge 2x thumb
I have been unable to reproduce this problem. You imply in the video that you are experiencing this intermittently. 

Are you able to create a basic reproduction page with standard objects where it does not work? 

Here is the XML I am using that appears to be working well:

<skuidpage unsavedchangeswarning="yes" personalizationmode="server" showsidebar="false" useviewportmeta="true" showheader="false" theme="Classic">    <models>
        <model id="picklistfromsomething" limit="1" query="true" createrowifnonefound="false" datasource="salesforce" type="" sobject="Account">
            <fields>
                <field id="Type"/>
            </fields>
            <conditions/>
            <actions/>
        </model>
    </models>
    <components>
        <basicfieldeditor showheader="true" showsavecancel="true" showerrorsinline="true" model="picklistfromsomething" buttonposition="" uniqueid="sk-12cIvm-134" mode="read" layout="">
            <columns>
                <column width="50%">
                    <sections>
                        <section title="Section A" collapsible="no">
                            <fields>
                                <field uniqueid="sk-12cRYP-177" id="Type"/>
                            </fields>
                        </section>
                    </sections>
                </column>
                <column width="50%">
                    <sections>
                        <section title="Section B">
                            <fields/>
                        </section>
                    </sections>
                </column>
            </columns>
            <renderconditions logictype="and"/>
        </basicfieldeditor>
        <grid uniqueid="sk-12cpbQ-191">
            <divisions>
                <division behavior="flex" minwidth="100px" ratio="1">
                    <components>
                        <basicfieldeditor showheader="true" showsavecancel="true" showerrorsinline="true" model="picklistfromsomething" buttonposition="" uniqueid="sk-12cKq5-151" mode="read">
                            <columns>
                                <column width="50%">
                                    <sections>
                                        <section title="Section A" collapsible="no">
                                            <fields>
                                                <field uniqueid="sk-12cxML-214" id="Type"/>
                                            </fields>
                                        </section>
                                    </sections>
                                </column>
                                <column width="50%">
                                    <sections>
                                        <section title="Section B">
                                            <fields/>
                                        </section>
                                    </sections>
                                </column>
                            </columns>
                            <renderconditions logictype="and"/>
                        </basicfieldeditor>
                    </components>
                </division>
            </divisions>
            <styles>
                <styleitem type="background" bgtype="none"/>
            </styles>
            <renderconditions logictype="and">
                <rendercondition type="blank" operator="!=" fieldmodel="picklistfromsomething" sourcetype="fieldvalue" nosourcerowbehavior="deactivate" field="Type" fieldtargetobjects="Account" value="null" enclosevalueinquotes="false"/>
            </renderconditions>
        </grid>
    </components>
    <resources>
        <labels/>
        <javascript/>
        <css/>
    </resources>
    <styles>
        <styleitem type="background" bgtype="none"/>
    </styles>
</skuidpage>