HomePage /w Page Include Charts Glitch

  • 2
  • Question
  • Updated 3 years ago
When I was troubleshooting page includes not working, I came upon an extremely quirky bug that I haven't quite figured out yet. The glitch i'm noticing is that chart's within pages to be included aren't loading, always. As this involves page includes & I've now bookmarked every post made about them, let me clear up some possibilities.
  • I have local clones of Include, UploadImage, and Export Data which are all assigned to everyone
  • There are no model name conflicts between home page & page include
  • Page include works perfectly fine on all other pages (other than home page)
Now I do have page includes on home pages that work (displaying charts etc.) but here's the glitch i'm running into.
A page that does not have an existing chart (even with/without a model) is unable to display chart information from any page includes that do have charts.
So here's the scenario. I've broken each tab of our home page (Closed Won, Pipeline, Tasks, Leads) into individual separate pages. Each of these pages only contain the page components & models required. All of these were made from the original page by cloning & deleting excess models/page components.

Now I've created an entirely brand new page & each new tab has it's respective page include. Charts for these page includes don't load.

Charts only load when I add a blank chart anywhere on the page. This chart doesn't reference any model, as this newly created page has no model. Created a model and linked chart to it, no effect.

So I've added blank charts to all my newly created home pages & conditionally rendered them away from view. So effectively I've fixed the issue I was facing; however, this glitch is still present.
Photo of Erik Wahlberg

Erik Wahlberg

  • 2,156 Points 2k badge 2x thumb

Posted 3 years ago

  • 2
Photo of Karen Waldschmitt

Karen Waldschmitt, Official Rep

  • 8,240 Points 5k badge 2x thumb
Erik~

I have not been able to reproduce the error you are mentioning. Can you paste the XML for the new page you created in which you cannot see the charts from the page includes on the different tabs? 

Thanks!
Karen
Photo of Erik Wahlberg

Erik Wahlberg

  • 2,156 Points 2k badge 2x thumb
Here's the XML for the new page. This one doesn't have any models; however, the issue was still coming up for one of our pages that has a bunch. Just let me know if you want me to post that as well. 

<skuidpage unsavedchangeswarning="yes" personalizationmode="server" showsidebar="false" showheader="false">    <models>
        <model id="NewModel" limit="20" query="true" createrowifnonefound="false" adapter="salesforce" type="">
            <fields/>
            <conditions/>
            <actions/>
        </model>
    </models>
    <components>
        <navigation uniqueid="sk-21Z_uq-349">
            <navigationitems>
                <navigationitem label="Create Opportunity">
                    <actions>
                        <action type="showPopup" window="self">
                            <popup title="Create New Opportunity" width="90%">
                                <components>
                                    <includepanel type="skuid" uniqueid="sk-21aDf3-383" pagename="Opportunity_CreateNew_Master" module="Implemented Pages"/>
                                </components>
                            </popup>
                        </action>
                    </actions>
                </navigationitem>
                <navigationitem label="Create Contact">
                    <actions>
                        <action type="showPopup" window="self">
                            <popup title="Create New Contact" width="90%">
                                <components>
                                    <includepanel type="skuid" uniqueid="sk-21arev-407" pagename="Contacts_CreateNew__Upgrade" module="Implemented Pages"/>
                                </components>
                            </popup>
                        </action>
                    </actions>
                </navigationitem>
                <navigationitem label="Create Company">
                    <actions>
                        <action type="showPopup" window="self">
                            <popup title="Create New Company" width="90%">
                                <components>
                                    <includepanel type="skuid" uniqueid="sk-21b0JP-437" pagename="Company_CreateNew" module="Implemented Pages"/>
                                </components>
                            </popup>
                        </action>
                    </actions>
                </navigationitem>
                <navigationitem label="Create Lead">
                    <actions>
                        <action type="showPopup" window="self">
                            <popup title="Create New Lead" width="90%">
                                <components>
                                    <includepanel type="skuid" uniqueid="sk-21bAan-471" pagename="Leads_CreateNew" module="Implemented Pages"/>
                                </components>
                            </popup>
                        </action>
                    </actions>
                </navigationitem>
                <navigationitem label="Create New Case">
                    <actions>
                        <action type="showPopup" window="blank">
                            <popup title="Create New Case" width="90%">
                                <components>
                                    <includepanel type="skuid" uniqueid="sk-21bFpg-491" pagename="Case_Request" module="Implemented Pages"/>
                                </components>
                            </popup>
                        </action>
                    </actions>
                </navigationitem>
            </navigationitems>
        </navigation>
        <tabset rememberlastusertab="false" defertabrendering="false" uniqueid="sk-21O1b3-67" renderas="">
            <tabs>
                <tab name="Case Reports" icon="sk-icon-case">
                    <components>
                        <includepanel type="skuid" uniqueid="sk-21Pd93-169" pagename="HomePage_Component_Bug" module="Home Pages" lazyload="false">
                            <renderconditions logictype="and"/>
                        </includepanel>
                    </components>
                    <renderconditions logictype="and">
                        <rendercondition type="multiple" operator="in" fieldmodel="NewModel" sourcetype="userinfo" nosourcerowbehavior="deactivate" sourceuserinfotype="username" value="" enclosevalueinquotes="true">
                            <values>
                                <value>Basso</value>
                                <value>Keri</value>
                                <value>Wahlberg</value>
                                <value>Aviles</value>
                            </values>
                        </rendercondition>
                    </renderconditions>
                </tab>
                <tab name="Team's Won Opportunities" loadlazypanels="false" icon="fa-money">
                    <components>
                        <includepanel type="skuid" uniqueid="sk-21OB9o-110" pagename="HomePage_MAL_Admin_ClosedWon" module="MAL Admin Homepage" lazyload="false">
                            <renderconditions logictype="and"/>
                        </includepanel>
                        <skuidvis__chart model="NewModel" maintitle="{{Model.labelPlural}}" type="line" uniqueid="sk-2gcyud-122">
                            <dataaxes>
                                <axis id="axis1"/>
                            </dataaxes>
                            <categoryaxes>
                                <axis id="categories" categorytype="field"/>
                            </categoryaxes>
                            <serieslist/>
                            <colors/>
                            <legend layout="horizontal" halign="center" valign="bottom"/>
                            <renderconditions logictype="and">
                                <rendercondition type="fieldvalue" operator="=" enclosevalueinquotes="true" fieldmodel="NewModel" sourcetype="fieldvalue" nosourcerowbehavior="deactivate" value="asdaswa"/>
                            </renderconditions>
                        </skuidvis__chart>
                    </components>
                    <oninitialshowactions/>
                    <onshowactions/>
                </tab>
                <tab name="Team's Pipeline" loadlazypanels="true" icon="sk-icon-solutions">
                    <components>
                        <includepanel type="skuid" uniqueid="sk-21OAgA-105" pagename="HomePage_MAL_Admin_Pipeline" module="MAL Admin Homepage" lazyload="true"/>
                    </components>
                </tab>
                <tab name="Team's Leads" loadlazypanels="true" icon="sk-icon-lead">
                    <components>
                        <includepanel type="skuid" uniqueid="sk-21OADw-100" pagename="HomePage_MAL_Admin_Upgrade_Leads" module="MAL Admin Homepage" lazyload="true"/>
                    </components>
                    <oninitialshowactions/>
                    <onshowactions/>
                </tab>
                <tab name="Team's Tasks" loadlazypanels="true" icon="sk-icon-tasks-open">
                    <components>
                        <includepanel type="skuid" uniqueid="sk-21O9m3-95" pagename="HomePage_MAL_Admin_Upgrade_Tasks" module="MAL Admin Homepage" lazyload="true"/>
                    </components>
                </tab>
                <tab name="Reports &amp; Custom Pages" loadlazypanels="true" icon="fa-signal">
                    <components>
                        <includepanel type="skuid" uniqueid="sk-21ehsV-781" pagename="Reports" module="Custom Pages" lazyload="true"/>
                    </components>
                </tab>
                <tab name="GEN Home Page" loadlazypanels="true" icon="sk-icon-assets">
                    <components>
                        <includepanel type="skuid" uniqueid="sk-2cAwJo-113" pagename="HP_GEN_Admin" module="GEN Admin Homepage" lazyload="true">
                            <renderconditions logictype="and"/>
                        </includepanel>
                    </components>
                </tab>
            </tabs>
            <renderconditions logictype="and"/>
        </tabset>
    </components>
    <resources>
        <labels/>
        <javascript/>
        <css/>
    </resources>
    <styles>
        <styleitem type="background" bgtype="none"/>
    </styles>
</skuidpage>
Photo of Erik Wahlberg

Erik Wahlberg

  • 2,156 Points 2k badge 2x thumb
Also, just tested to see if removing the blank chart still affected the visualizations. Here's the two screenshots

With Blank Chart


Without Blank Chart