Page Include Not working In LEX

  • 2
  • Problem
  • Updated 2 years ago
  • Acknowledged
Page include is not working when we use a skuid page in LEX.

We are getting that error in console : 
Uncaught TypeError: Cannot redefine property: put   


Same page is working fine in Salesforce classic.

To replicate the same issue please follow these steps:
1.) Create a skuid Page : PageIncludePage


<skuidpage unsavedchangeswarning="yes" personalizationmode="server" showsidebar="false" showheader="false">
    <models>
        <model id="User" limit="1" query="true" createrowifnonefound="false" adapter="salesforce" type="" sobject="User">
            <fields>
                <field id="FirstName"/>
                <field id="LastName"/>
            </fields>
            <conditions>
                <condition type="userinfo" value="" field="Id" operator="=" enclosevalueinquotes="true" userinfotype="userid"/>
            </conditions>
            <actions/>
        </model>
    </models>
    <components>
        <skootable showconditions="true" showsavecancel="true" showerrorsinline="true" searchmethod="server" searchbox="true" showexportbuttons="false" pagesize="10" createrecords="true" buttonposition="" mode="read" uniqueid="sk-rAxLE-89" model="User">
            <fields>
                <field id="FirstName"/>
                <field id="LastName"/>
            </fields>
            <rowactions>
                <action type="edit"/>
                <action type="delete"/>
            </rowactions>
            <massactions usefirstitemasdefault="true">
                <action type="massupdate"/>
                <action type="massdelete"/>
            </massactions>
            <views>
                <view type="standard"/>
            </views>
        </skootable>
    </components>
    <resources>
        <labels/>
        <javascript/>
        <css/>
    </resources>
    <styles>
        <styleitem type="background" bgtype="none"/>
    </styles>
</skuidpage>

2.) Create a new page: "Test_Page" with below xml:


<skuidpage unsavedchangeswarning="yes" personalizationmode="server" showsidebar="true" showheader="true">
    <models>
        <model id="User" limit="1" query="true" createrowifnonefound="false" adapter="salesforce" type="" sobject="User">
            <fields>
                <field id="FirstName"/>
                <field id="LastName"/>
            </fields>
            <conditions>
                <condition type="userinfo" value="" field="Id" operator="=" enclosevalueinquotes="true" userinfotype="userid"/>
            </conditions>
            <actions/>
        </model>
    </models>
    <components>
        <includepanel type="skuid" uniqueid="sk-rBW2A-108" pagename="PageIncludePage" module=""/>
    </components>
    <resources>
        <labels/>
        <javascript/>
        <css/>
    </resources>
    <styles>
        <styleitem type="background" bgtype="none"/>
    </styles>
</skuidpage>



Now if you open "Test_Page" in Salesforce classic then it will work in classic and will show you current logged in user.
If you switch from Salesforce Classic To LEX and try to open that same page then you will see that issue that page include is not working.



Thanks,
Raj
Photo of Rajendra Rathore

Rajendra Rathore

  • 1,480 Points 1k badge 2x thumb

Posted 2 years ago

  • 2
Photo of Rajendra Rathore

Rajendra Rathore

  • 1,480 Points 1k badge 2x thumb
@Amy Dewaal Can you please look on that issue?
Photo of Zach McElrath

Zach McElrath, Employee

  • 49,056 Points 20k badge 2x thumb
I believe that this was addressed by the latest Rockaway Hotfix --- see skuid.com/releases. Salesforce made a change in the Winter 17 release that affected both Skuid's Page Include and Social components. The Hotfix should address these issues.
Photo of Karen Waldschmitt

Karen Waldschmitt, Official Rep

  • 8,220 Points 5k badge 2x thumb
Rajendra~

Thank you for pointing this issue out to us. We have been working on this since Friday using a two pronged approach:
  1. Our developers are working on a fix for this issue. 
  2. We have a case open with Salesforce support about this issue.   
We will update you when a either a workaround is available or when a release is available that fixes this issue.

Thank you for your patience as we get this issue resolved!
Karen
Photo of Rajendra Rathore

Rajendra Rathore

  • 1,480 Points 1k badge 2x thumb
Ok Thank You for your quick response.

Thanks,
Raj