Button ignoring conditions

  • 1
  • Problem
  • Updated 2 years ago
  • Acknowledged
I have new buttons that are not following the conditions.  I have the condition set to show if field is not blank.  It does not show.



https://drive.google.com/file/d/0B409lhd9sYDcMmNPaE96ZzJfSXM/view 
Photo of Bill Fox

Bill Fox

  • 7,954 Points 5k badge 2x thumb

Posted 2 years ago

  • 1
Photo of Bill Fox

Bill Fox

  • 7,954 Points 5k badge 2x thumb
Is this a known issue in skuid?  A response from skuid would be appreciated.
Photo of Bill Fox

Bill Fox

  • 7,954 Points 5k badge 2x thumb
Here is how got it to work.  If use an old Skuid page and changes header to buttons.  The context on the buttons no longer work.  If I COMPLETELY rebuild the page the buttons work.  
Photo of Bill Fox

Bill Fox

  • 7,954 Points 5k badge 2x thumb
Is this problem fixed with the new release?  * [SKUID-2880] - Button Set loses context
Photo of Emily Davis

Emily Davis, Employee

  • 3,502 Points 3k badge 2x thumb
Hi, Bill,
Sorry you're experiencing this issue. I'm not positive if the new Skuid release would fix the particular problem you're having. Have you tested the new Skuid upgrade to see if it fixes the problem?

Also, it looks like you're using the button set inside a collapsible wrapper component? It's possible there's an issue with the button set working inside the collapsible wrapper. If you reproduce the scenario outside of the collapsible wrapper component, do you still see the issue?
Thanks,
Emily
Photo of Bill Fox

Bill Fox

  • 7,954 Points 5k badge 2x thumb
I put it outside a response grid and it still does not work.  I have found if I add buttons to a page developed before brooklyn the context on the does not work. I am downloading 9.5 to my sandbox to see if that works.
Photo of Bill Fox

Bill Fox

  • 7,954 Points 5k badge 2x thumb
UPDATE

I have the entire page in a response grid so the page adjusts to mobile.  If I move the button outside the response grid, the button does NOT work.

If I move both the button and the field being conditioned outside a response grid it DOES work.

If I built a NEW page from scratch, all is well.  Except, I have many, many, many pages to fix.

Will the update fix this?
Photo of Bill Fox

Bill Fox

  • 7,954 Points 5k badge 2x thumb
I did upgrade in a sandbox with the button inside of a response grid and the buttons did NOT work. I can NOT move both field editor and the button outside of the response grid as I would have have a mobile problem. 

I assume we still need response grids for mobile?
Photo of Stephen Sells

Stephen Sells, Official Rep

  • 16,856 Points 10k badge 2x thumb
Photo of Bill Fox

Bill Fox

  • 7,954 Points 5k badge 2x thumb

I think I may have discovered why the buttons are not rendering. 

 

I have taken out most of the code on this page except one field in the Collapsible wrapper and a button. If I have a wrapper header with “Yes – initially collapsed” the button does not render.  If I change to “Yes – Initially Open” then the button renders.

 

Any thoughts?

 

Cheers,

 

Bill Fox

 

<skuidpage unsavedchangeswarning="yes" showsidebar="false" showheader="false" tabtooverride="Temp_Phone_Number__c" personalizationmode="server" theme="FOXmls" useviewportmeta="true">

    <models>

        <model id="T_Phone_Ui" limit="1" query="true" createrowifnonefound="false" type="" sobject="UI_Only_Field__c" datasource="salesforce">

            <fields>

                <field id="Id"/>

                <field id="Name"/>

                <field id="Saving" uionly="true" displaytype="PICKLIST" label="Saving" picklistsource="manual" defaultvaluetype="fieldvalue" defaultValue="No">

                    <picklistentries>

                        <entry value="Yes" label="Yes"/>

                        <entry value="No" label="No"/>

                        <entry value="Done" label="Done"/>

                    </picklistentries>

                </field>

                <field id="CSS__c"/>

                <field id="CSS__r.Name"/>

                <field id="CSS__r.Id"/>

                <field id="CSS__r.LEO_hdrMenuOptionSub__c"/>

            </fields>

            <conditions/>

            <actions/>

        </model>

        <model id="Member_Selected" limit="1" query="true" createrowifnonefound="false" datasource="salesforce" type="" sobject="Member_DNA__c" doclone="">

            <fields>

                <field id="Id"/>

                <field id="Name"/>

                <field id="Person__c"/>

                <field id="Person__r.Name"/>

                <field id="Person__r.Id"/>

                <field id="Person__r.Full_Name__c"/>

                <field id="Location__c"/>

                <field id="Location__r.Name"/>

                <field id="Location__r.Id"/>

                <field id="Organization__c"/>

                <field id="Organization__r.Name"/>

                <field id="Organization__r.Id"/>

            </fields>

            <conditions>

                <condition type="param" value="Member_Id" field="Id" operator="=" novaluebehavior="noquery" state="" inactive="false" enclosevalueinquotes="true"/>

            </conditions>

            <actions/>

        </model>

        <model id="Phone_List_Entity_DNA" limit="20" query="true" createrowifnonefound="false" datasource="salesforce" type="" sobject="Phone_Numbers_DNA__c" orderby="Primary_Entity_Phone__c DESC">

            <fields>

                <field id="Id"/>

                <field id="Name"/>

                <field id="Connected_Phone__r.View_Name__c"/>

                <field id="Connected_Phone__r.Phone_Type__c"/>

                <field id="Country_and_Phone__c"/>

                <field id="Connected_Member_DNA__r.Name"/>

                <field id="Connected_Member_DNA__r.Id"/>

                <field id="Connected_Phone__r.Country_Phone_Code__r.Name"/>

                <field id="Connected_Phone__c"/>

                <field id="Connected_Phone__r.Name"/>

                <field id="Connected_Phone__r.DNC_Date__c"/>

                <field id="Connected_Phone__r.DNC_fax_reason_or_event__c"/>

                <field id="Connected_Phone__r.Phone_Carrier__r.View_Name__c"/>

                <field id="Connected_Phone__r.Phone_City_State__r.View_City__c"/>

                <field id="Connected_Phone__r.Text__c"/>

                <field id="Primary_Sequence__c"/>

                <field id="View_Phone_DNA__c"/>

                <field id="DNC_Flag" uionly="true" displaytype="FORMULA" label="DNC_Flag" ogdisplaytype="TEXT" readonly="true" returntype="TEXT">

                    <formula>IF({{Connected_Phone__r.DNC_fax_reason_or_event__c}} == "",

 

"",

 

"DNC/F")

 

 

</formula>

                </field>

                <field id="Phone_Used_Where__c"/>

                <field id="Connected_Member_DNA__r.Person__c"/>

                <field id="Connected_Member_DNA__r.Person__r.Name"/>

                <field id="Connected_Member_DNA__r.Person__r.Id"/>

                <field id="Connected_Member_DNA__r.View_Member__c"/>

                <field id="Roll_Off_Date__c"/>

                <field id="Roll_Off_Reason__c"/>

                <field id="Extension__c"/>

                <field id="Phone_Description__c"/>

                <field id="DNT__c"/>

                <field id="Primary_Entity_Phone__c"/>

                <field id="DNT_Text" uionly="true" displaytype="FORMULA" label="DNT_Text" ogdisplaytype="TEXT" readonly="true" returntype="TEXT">

                    <formula>IF({{DNT__c}}== true,

 

 

"Text",

 

 

"")</formula>

                </field>

                <field id="Roll_Off_Text" uionly="true" displaytype="FORMULA" label="Roll_Off_Text" ogdisplaytype="TEXT" readonly="true" returntype="TEXT">

                    <formula>IF({{Roll_Off_Reason__c}} == "",

 

"",

 

"RollOff")

 

</formula>

                </field>

                <field id="Phone_Number_Stacked__c"/>

                <field id="Connected_Member_DNA__r.Person__r.View_Person__c"/>

                <field id="Connected_Member_DNA__c"/>

                <field id="Connected_Member_DNA__r.View_Member_Stacked__c"/>

                <field id="Connected_Member_DNA__r.View_Title_Department_Stacked__c"/>

                <field id="Connected_Phone__r.Phone_Carrier__c"/>

                <field id="Connected_Phone__r.Phone_Carrier__r.Name"/>

                <field id="Connected_Phone__r.Phone_City_State__c"/>

                <field id="Connected_Phone__r.Phone_City_State__r.Name"/>

                <field id="Connected_Phone__r.Phone_Carrier__r.Id"/>

                <field id="Connected_Phone__r.Phone_City_State__r.Id"/>

                <field id="Connected_Phone__r.Country_Phone_Code__c"/>

                <field id="Connected_Phone__r.SMS__c"/>

                <field id="Connected_Phone__r.Id"/>

                <field id="Name_Truncate" uionly="true" displaytype="FORMULA" label="Name_Truncate" ogdisplaytype="TEXT" readonly="true" returntype="TEXT">

                    <formula>LEFT(  {{Connected_Member_DNA__r.Person__r.Name}}

 

,

 

{{UI_Only_Field__r.CSS__r.LEO_hdrMenuOptionSub__c}}  )</formula>

                </field>

                <field id="UI_Only_Field__c"/>

                <field id="UI_Only_Field__r.Name"/>

                <field id="UI_Only_Field__r.Id"/>

                <field id="UI_Only_Field__r.CSS__c"/>

                <field id="UI_Only_Field__r.CSS__r.Name"/>

                <field id="UI_Only_Field__r.CSS__r.Id"/>

                <field id="UI_Only_Field__r.CSS__r.LEO_hdrMenuOptionSub__c"/>

            </fields>

            <conditions>

                <condition type="fieldvalue" value="" enclosevalueinquotes="true" field="Connected_Phone__c" operator="=" state="filterableoff" inactive="true" name="Connected_Phone"/>

                <condition type="modelmerge" value="" field="Connected_Member_DNA__r.Person__c" operator="=" model="Member_Selected" enclosevalueinquotes="true" mergefield="Person__r.Id" novaluebehavior="noquery" state=""/>

                <condition type="fieldvalue" value="Entity" enclosevalueinquotes="true" field="Phone_Used_Where__c" operator="="/>

            </conditions>

            <actions/>

        </model>

        <model id="Phone_List_Entity" limit="20" query="false" createrowifnonefound="false" datasource="salesforce" type="" sobject="Phone_Number__c">

            <fields>

                <field id="View_Name__c"/>

                <field id="Country_Phone_Code__c"/>

                <field id="Country_Phone_Code__r.Name"/>

                <field id="DNC_Date__c"/>

                <field id="DNC_fax_reason_or_event__c"/>

                <field id="Phone_Carrier__c"/>

                <field id="Phone_Carrier__r.Name"/>

                <field id="Phone_City_State__c"/>

                <field id="Phone_City_State__r.Name"/>

                <field id="Phone_Type__c"/>

                <field id="SMS__c"/>

                <field id="Text__c"/>

                <field id="Id"/>

                <field id="Name"/>

                <field id="X10_Digits__c"/>

               <field id="Phone_Format__c"/>

            </fields>

            <conditions>

                <condition type="modelmerge" value="" field="Id" operator="=" model="Phone_List_Entity_DNA" enclosevalueinquotes="true" mergefield="Connected_Phone__c" novaluebehavior="noquery"/>

            </conditions>

            <actions/>

        </model>

        <model id="Phone_List_Location_DNA" limit="20" query="true" createrowifnonefound="false" datasource="salesforce" type="" sobject="Phone_Numbers_DNA__c" orderby="CreatedDate" doclone="">

            <fields>

                <field id="Id"/>

                <field id="Name"/>

                <field id="Connected_Phone__r.View_Name__c"/>

                <field id="Connected_Phone__r.Phone_Type__c"/>

                <field id="Country_and_Phone__c"/>

                <field id="Connected_Member_DNA__c"/>

                <field id="Connected_Member_DNA__r.Name"/>

                <field id="Connected_Member_DNA__r.Id"/>

                <field id="Connected_Phone__r.Country_Phone_Code__r.Name"/>

                <field id="Phone_Number_Stacked__c"/>

                <field id="Phone_Number_Type_Stacked__c"/>

                <field id="Connected_Phone__c"/>

                <field id="Connected_Phone__r.Name"/>

                <field id="Connected_Phone__r.DNC_Date__c"/>

                <field id="Connected_Phone__r.DNC_fax_reason_or_event__c"/>

                <field id="Connected_Phone__r.Phone_Carrier__r.View_Name__c"/>

                <field id="Connected_Phone__r.Phone_City_State__r.View_City__c"/>

                <field id="Connected_Phone__r.Text__c"/>

                <field id="Primary_Sequence__c"/>

                <field id="View_Phone_DNA__c"/>

                <field id="DNC_Flag" uionly="true" displaytype="FORMULA" label="DNC_Flag" ogdisplaytype="TEXT" readonly="true" returntype="TEXT">

                    <formula>IF({{Connected_Phone__r.DNC_fax_reason_or_event__c}} == "",

 

"",

 

"DNC/F")

 

 

</formula>

                </field>

                <field id="Phone_Used_Where__c"/>

                <field id="Connected_Member_DNA__r.Person__c"/>

                <field id="Connected_Member_DNA__r.Person__r.Name"/>

                <field id="Connected_Member_DNA__r.Person__r.Id"/>

                <field id="Connected_Member_DNA__r.View_Member__c"/>

                <field id="Roll_Off_Date__c"/>

                <field id="Roll_Off_Reason__c"/>

                <field id="Extension__c"/>

                <field id="Phone_Description__c"/>

                <field id="DNT__c"/>

                <field id="Primary_Entity_Phone__c"/>

                <field id="DNT_Text" uionly="true" displaytype="FORMULA" label="DNT_Text" ogdisplaytype="TEXT" readonly="true" returntype="TEXT">

                    <formula>IF({{DNT__c}}== true,

 

 

"Text",

 

 

"")</formula>

                </field>

                <field id="Roll_Off_Text" uionly="true" displaytype="FORMULA" label="Roll_Off_Text" ogdisplaytype="TEXT" readonly="true" returntype="TEXT">

                    <formula>IF({{Roll_Off_Reason__c}} == "",

 

"",

 

"RollOff")

 

</formula>

                </field>

                <field id="Connected_Member_DNA__r.View_Member_Stacked__c"/>

                <field id="Connected_Member_DNA__r.Person__r.View_Person__c"/>

                <field id="Connected_Member_DNA__r.View_Title_Department_Stacked__c"/>

                <field id="Connected_Member_DNA__r.Location__c"/>

                <field id="Connected_Member_DNA__r.Location__r.Name"/>

                <field id="Connected_Member_DNA__r.Location__r.Id"/>

                <field id="Connected_Phone__r.Phone_City_State__c"/>

                <field id="Connected_Phone__r.Phone_City_State__r.Name"/>

                <field id="Connected_Phone__r.Phone_City_State__r.Id"/>

                <field id="Connected_Phone__r.Phone_Carrier__c"/>

                <field id="Connected_Phone__r.Phone_Carrier__r.Name"/>

                <field id="Connected_Phone__r.Phone_Carrier__r.Id"/>

                <field id="Name_Truncate" uionly="true" displaytype="FORMULA" label="Name_Truncate" ogdisplaytype="TEXT" readonly="true" returntype="TEXT">

                    <formula>LEFT(  {{Connected_Member_DNA__r.Location__r.Name}}

 

,

 

{{UI_Only_Field__r.CSS__r.LEO_hdrMenuOptionSub__c}}  )</formula>

                </field>

                <field id="UI_Only_Field__c"/>

                <field id="UI_Only_Field__r.Name"/>

                <field id="UI_Only_Field__r.Id"/>

                <field id="UI_Only_Field__r.CSS__c"/>

                <field id="UI_Only_Field__r.CSS__r.Name"/>

                <field id="UI_Only_Field__r.CSS__r.LEO_hdrMenuOptionSub__c"/>

            </fields>

            <conditions>

                <condition type="modelmerge" value="" field="Connected_Member_DNA__r.Location__c" operator="=" mergefield="Location__r.Id" novaluebehavior="noquery" state="" model="Member_Selected" enclosevalueinquotes="true"/>

                <condition type="fieldvalue" value="Location" enclosevalueinquotes="true" field="Phone_Used_Where__c" operator="=" state=""/>

            </conditions>

            <actions/>

        </model>

        <model id="Phone_List_Organization_DNA" limit="20" query="true" createrowifnonefound="false" datasource="salesforce" type="" sobject="Phone_Numbers_DNA__c" orderby="CreatedDate">

            <fields>

                <field id="Id"/>

                <field id="Name"/>

                <field id="Connected_Phone__r.View_Name__c"/>

                <field id="Connected_Phone__r.Phone_Type__c"/>

                <field id="Country_and_Phone__c"/>

                <field id="Connected_Member_DNA__c"/>

                <field id="Connected_Member_DNA__r.Name"/>

                <field id="Connected_Member_DNA__r.Id"/>

                <field id="Connected_Phone__r.Country_Phone_Code__r.Name"/>

                <field id="Phone_Number_Stacked__c"/>

                <field id="Phone_Number_Type_Stacked__c"/>

                <field id="Connected_Phone__c"/>

                <field id="Connected_Phone__r.Name"/>

                <field id="Connected_Phone__r.DNC_Date__c"/>

                <field id="Connected_Phone__r.DNC_fax_reason_or_event__c"/>

                <field id="Connected_Phone__r.Phone_Carrier__r.View_Name__c"/>

                <field id="Connected_Phone__r.Phone_City_State__r.View_City__c"/>

                <field id="Connected_Phone__r.Text__c"/>

                <field id="Primary_Sequence__c"/>

                <field id="View_Phone_DNA__c"/>

                <field id="DNC_Flag" uionly="true" displaytype="FORMULA" label="DNC_Flag" ogdisplaytype="TEXT" readonly="true" returntype="TEXT">

                    <formula>IF({{Connected_Phone__r.DNC_fax_reason_or_event__c}} == "",

 

"",

 

"DNC/F")

 

 

</formula>

                </field>

                <field id="Phone_Used_Where__c"/>

                <field id="Connected_Member_DNA__r.Person__c"/>

                <field id="Connected_Member_DNA__r.Person__r.Name"/>

                <field id="Connected_Member_DNA__r.Person__r.Id"/>

                <field id="Connected_Member_DNA__r.View_Member__c"/>

                <field id="Roll_Off_Date__c"/>

                <field id="Roll_Off_Reason__c"/>

                <field id="Extension__c"/>

                <field id="Phone_Description__c"/>

                <field id="DNT__c"/>

                <field id="Primary_Entity_Phone__c"/>

                <field id="DNT_Text" uionly="true" displaytype="FORMULA" label="DNT_Text" ogdisplaytype="TEXT" readonly="true" returntype="TEXT">

                    <formula>IF({{DNT__c}}== true,

 

 

"Text",

 

 

"")</formula>

                </field>

                <field id="Roll_Off_Text" uionly="true" displaytype="FORMULA" label="Roll_Off_Text" ogdisplaytype="TEXT" readonly="true" returntype="TEXT">

                    <formula>IF({{Roll_Off_Reason__c}} == "",

 

"",

 

"RollOff")

 

</formula>

                </field>

                <field id="Connected_Member_DNA__r.View_Member_Stacked__c"/>

                <field id="Connected_Member_DNA__r.Person__r.View_Person__c"/>

                <field id="Connected_Member_DNA__r.View_Title_Department_Stacked__c"/>

                <field id="Connected_Member_DNA__r.Location__c"/>

                <field id="Connected_Member_DNA__r.Location__r.Name"/>

                <field id="Connected_Member_DNA__r.Location__r.Id"/>

                <field id="Connected_Member_DNA__r.Organization__c"/>

                <field id="Connected_Member_DNA__r.Organization__r.Name"/>

                <field id="Connected_Member_DNA__r.Organization__r.Id"/>

                <field id="Connected_Member_DNA__r.Organization__r.View_Name__c"/>

                <field id="Connected_Member_DNA__r.Location__r.View_Location__c"/>

                <field id="Connected_Phone__r.Phone_Carrier__c"/>

                <field id="Connected_Phone__r.Phone_Carrier__r.Name"/>

                <field id="Connected_Phone__r.Phone_City_State__c"/>

                <field id="Connected_Phone__r.Phone_City_State__r.Name"/>

                <field id="Connected_Phone__r.Phone_Carrier__r.Id"/>

                <field id="Connected_Phone__r.Phone_City_State__r.Id"/>

                <field id="Name_Truncate" uionly="true" displaytype="FORMULA" label="Name_Truncate" ogdisplaytype="TEXT" readonly="true" returntype="TEXT">

                    <formula>LEFT(  {{Connected_Member_DNA__r.Organization__r.Name}}

 

,

 

{{UI_Only_Field__r.CSS__r.LEO_hdrMenuOptionSub__c}}  )</formula>

                </field>

                <field id="UI_Only_Field__c"/>

                <field id="UI_Only_Field__r.Name"/>

                <field id="UI_Only_Field__r.Id"/>

                <field id="UI_Only_Field__r.CSS__c"/>

                <field id="UI_Only_Field__r.CSS__r.Name"/>

                <field id="UI_Only_Field__r.CSS__r.Id"/>

                <field id="UI_Only_Field__r.CSS__r.LEO_hdrMenuOptionSub__c"/>

            </fields>

            <conditions>

                <condition type="modelmerge" value="" field="Connected_Member_DNA__r.Organization__c" operator="=" mergefield="Organization__r.Id" novaluebehavior="noquery" state="" model="Member_Selected" enclosevalueinquotes="true"/>

                <condition type="fieldvalue" value="." field="Connected_Member_DNA__r.Organization__r.Name" operator="does not start with" enclosevalueinquotes="true"/>

                <condition type="fieldvalue" value="Organization" enclosevalueinquotes="true" field="Phone_Used_Where__c" operator="="/>

            </conditions>

            <actions/>

        </model>

        <model id="Phone_List_Yard_DNA" limit="20" query="true" createrowifnonefound="false" datasource="salesforce" type="" sobject="Phone_Numbers_DNA__c" orderby="Primary_Entity_Phone__c DESC">

            <fields>

                <field id="Id"/>

                <field id="Name"/>

                <field id="Connected_Phone__r.View_Name__c"/>

                <field id="Connected_Phone__r.Phone_Type__c"/>

                <field id="Country_and_Phone__c"/>

                <field id="Connected_Member_DNA__r.Name"/>

                <field id="Connected_Member_DNA__r.Id"/>

                <field id="Connected_Phone__r.Country_Phone_Code__r.Name"/>

                <field id="Connected_Phone__c"/>

                <field id="Connected_Phone__r.Name"/>

                <field id="Connected_Phone__r.DNC_Date__c"/>

                <field id="Connected_Phone__r.DNC_fax_reason_or_event__c"/>

                <field id="Connected_Phone__r.Phone_Carrier__r.View_Name__c"/>

                <field id="Connected_Phone__r.Phone_City_State__r.View_City__c"/>

                <field id="Connected_Phone__r.Text__c"/>

                <field id="Primary_Sequence__c"/>

                <field id="View_Phone_DNA__c"/>

                <field id="DNC_Flag" uionly="true" displaytype="FORMULA" label="DNC_Flag" ogdisplaytype="TEXT" readonly="true" returntype="TEXT">

                    <formula>IF({{Connected_Phone__r.DNC_fax_reason_or_event__c}} == "",

 

"",

 

"DNC/F")

 

 

</formula>

                </field>

                <field id="Phone_Used_Where__c"/>

                <field id="Connected_Member_DNA__r.Person__c"/>

                <field id="Connected_Member_DNA__r.Person__r.Name"/>

                <field id="Connected_Member_DNA__r.Person__r.Id"/>

                <field id="Connected_Member_DNA__r.View_Member__c"/>

                <field id="Roll_Off_Date__c"/>

                <field id="Roll_Off_Reason__c"/>

                <field id="Extension__c"/>

                <field id="Phone_Description__c"/>

                <field id="DNT__c"/>

                <field id="Primary_Entity_Phone__c"/>

                <field id="DNT_Text" uionly="true" displaytype="FORMULA" label="DNT_Text" ogdisplaytype="TEXT" readonly="true" returntype="TEXT">

                    <formula>IF({{DNT__c}}== true,

 

 

"Text",

 

 

"")</formula>

                </field>

                <field id="Roll_Off_Text" uionly="true" displaytype="FORMULA" label="Roll_Off_Text" ogdisplaytype="TEXT" readonly="true" returntype="TEXT">

                    <formula>IF({{Roll_Off_Reason__c}} == "",

 

"",

 

"RollOff")

 

</formula>

                </field>

                <field id="Phone_Number_Stacked__c"/>

                <field id="Connected_Member_DNA__r.Person__r.View_Person__c"/>

                <field id="Connected_Member_DNA__c"/>

                <field id="Connected_Member_DNA__r.View_Member_Stacked__c"/>

                <field id="Connected_Member_DNA__r.View_Title_Department_Stacked__c"/>

                <field id="Name_Truncate" uionly="true" displaytype="FORMULA" label="Name_Truncate" ogdisplaytype="TEXT" readonly="true" returntype="TEXT">

                    <formula>LEFT(  {{Connected_Member_DNA__r.Person__r.Name}}

 

,

 

45)</formula>

                </field>

                <field id="UI_Only_Field__c"/>

                <field id="UI_Only_Field__r.Name"/>

                <field id="UI_Only_Field__r.Id"/>

                <field id="UI_Only_Field__r.CSS__c"/>

                <field id="UI_Only_Field__r.CSS__r.Name"/>

                <field id="UI_Only_Field__r.CSS__r.Id"/>

                <field id="UI_Only_Field__r.CSS__r.LEO_hdrMenuOptionSub__c"/>

            </fields>

            <conditions>

                <condition type="modelmerge" value="" field="Connected_Member_DNA__r.Person__c" operator="=" mergefield="Person__r.Id" novaluebehavior="deactivate" state="" model="Member_Selected" enclosevalueinquotes="true"/>

                <condition type="fieldvalue" value="Yard Sign" enclosevalueinquotes="true" field="Phone_Used_Where__c" operator="="/>

            </conditions>

            <actions/>

        </model>

        <model id="TempPhoneNumber" limit="1" query="false" createrowifnonefound="true" sobject="Temp_Phone_Number__c" type="" datasource="salesforce" doclone="">

            <fields>

                <field id="Name"/>

                <field id="Temp_10_Digits__c" overridemetadata="false" ogdisplaytype="STRING" displaytype="STRING" defaultvaluetype="fieldvalue" length=""/>

                <field id="Temp_Extension__c"/>

                <field id="Temp_Phone_Used_Where__c"/>

                <field id="Temp_Phone_Description__c"/>

                <field id="Temp_Member_DNA__c"/>

                <field id="Temp_Member_DNA__r.Name"/>

                <field id="Country_Phone_Code__c"/>

                <field id="Country_Phone_Code__r.Name"/>

                <field id="Temp_Mobile_Number_World__c"/>

                <field id="Country_Phone_Code__r.Phone_Code__c"/>

                <field id="Country_Phone_Code__r.Id"/>

                <field id="Id"/>

                <field id="Temp_Member_DNA__r.Id"/>

                <field id="Temp_Text__c"/>

                <field id="Temp_Primary_Entity_Phone__c"/>

                <field id="Temp_Member_DNA__r.View_Member__c"/>

                <field id="Temp_Member_DNA__r.Member_Title__c"/>

                <field id="Temp_Member_DNA__r.Primary_Entity_Member__c"/>

               <field id="CreatedDate"/>

                <field id="Temp_Phone_Type__c"/>

                <field id="Temp_Primary_Sequence__c"/>

                <field id="Temp_Member_DNA__r.Person__c"/>

                <field id="Temp_Member_DNA__r.Person__r.Name"/>

                <field id="Temp_Member_DNA__r.Person__r.Id"/>

                <field id="Length_Of_Phone" uionly="true" displaytype="FORMULA" label="Length_Of_Phone" ogdisplaytype="TEXT" readonly="true" returntype="TEXT">

                    <formula>LEN({{Temp_10_Digits__c}}) </formula>

                </field>

            </fields>

            <conditions>

                <condition type="fieldvalue" value="" field="Temp_Member_DNA__c" operator="=" mergefield="Connected_Member_DNA__r.Id" novaluebehavior="noquery" state="filterableoff" enclosevalueinquotes="true" inactive="true" name="Temp_Member_DNA__c"/>

            </conditions>

            <actions/>

        </model>

        <model id="Brick" limit="1" query="true" createrowifnonefound="false" datasource="salesforce" type="" sobject="Brick__c">

            <fields>

                <field id="Id"/>

                <field id="Name"/>

                <field id="Phone_Number__c"/>

                <field id="Phone_Number_DNA__c"/>

            </fields>

            <conditions/>

            <actions/>

        </model>

    </models>

    <components>

        <grid uniqueid="sk-2g2OuW-87">

            <divisions>

                <division behavior="flex" verticalalign="top" ratio="1" minwidth="400px">

                    <components>

                        <tfg__collapsiblewrapper title="&lt;div class=&quot;LEO_hdrMenuOption&quot;&gt;Add Phone Number&lt;/div&gt; " showheader="yes" collapsible="collapsed" deferrenderingcontents="true" uniqueid="sk-3M902D-886" model="TempPhoneNumber" clickableheader="true">

                            <components>

                               

                                

                                <grid uniqueid="sk-3WT2Xl-644">

                                    <divisions>

                                        <division behavior="flex" minwidth="100px" ratio="1" verticalalign="top">

                                            <components>

                                               

                                                

                                       &n

Photo of Barry Schnell

Barry Schnell, Champion

  • 18,076 Points 10k badge 2x thumb
Hi Bill -

Did this work previously and just recently stop working?

Unfortunately, the page you posted was cut-off so can't make out the entire situation. One thought on why the button shows when "Initially open" and not when "initially collapsed" is that possibly you are loading the model data in the wrapper open actions?

You mentioned it works in some scenarios and not others but the scenarios seem to keep changing. I'd strongly encourage you to create a small isolated repro of the situation using stock objects. You can mimick the functionality you have in your page using stanard objects/fields and the same components. If you can do this and reproduce, identifying the source of the issue will likely be very easy.
Photo of Barry Schnell

Barry Schnell, Champion

  • 18,076 Points 10k badge 2x thumb
Hi Bill -

It took me quite a while to piece together what you are trying to do but I think I'm understanding your intent.  From that understanding, I believe I have figured out what your issue is and it has nothing to do with Grids, Collapsible Wrappers, etc.

Unfortunately, you have stumbled upon a Skuid bug that appears to be specific to Button Sets.  

I have posted the issue at ""Remove All rows in Model" action breaks conditional rendering on Button Set Buttons" with an isolated repro.

If my understanding of what you are trying to do is accurate and based on my findings with the bug, I believe the only workaround for you (until Skuid releases a fix) is to use a Page Title Component instead of a Button Set.

As you'll see with the isolated repro, boiling down complex use cases to simplified versions using standard objects makes identifying the root cause much simpler :)
Photo of Stephen Sells

Stephen Sells, Official Rep

  • 16,856 Points 10k badge 2x thumb
This is a bug. We'll notify when a fix is released.
Photo of Barry Schnell

Barry Schnell, Champion

  • 18,076 Points 10k badge 2x thumb
Thanks for confirming Stephen!

Bill - I thought about this some more and you might have a workaround besides having to move to a Page Title button.  In your action sequence for "Before Open", you are emptying the model then creating a new row.  The field editor only contains a single field.  Instead of emptying the model and creating a new row, if you just update the field to "blank" (or use cancel model changes which will effectively do the same thing), you should be able to avoid the bug with button sets.  This, of course, assumes you are never needing to save the row you are creating.  If you do, then things get more complicated but there might be some solutions.  Hopefully avoiding the "empty" model workaround will work for you.
Photo of Bill Fox

Bill Fox

  • 7,954 Points 5k badge 2x thumb
I thought I saw this was fixed in  the newest release * [SKUID-2880] - Button Set loses context.  It still does not work.
Photo of Barry Schnell

Barry Schnell, Champion

  • 18,076 Points 10k badge 2x thumb
Hi Bill - Your are correct.  The issue that I logged at ""Remove All rows in Model" action breaks conditional rendering on Button Set Buttons" occurs in 9.5 (latest release as of me writing this).  Hopefully one of the workarounds I proposed will work for you until Skuid fixes the current issue.
Photo of Stephen Sells

Stephen Sells, Official Rep

  • 16,856 Points 10k badge 2x thumb
Hello Skuid Community ~

Thank you for your thoughtful suggestion! Skuid listened to your concern and has implemented your idea in the new Brooklyn Update 1 - Iteration 4 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.