Skip to main content

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







<models></models>



    <model id="User" limit="1" query="true" createrowifnonefound="false" adapter="salesforce" type="" sobject="User"></model>



        <fields></fields>



            <field id="FirstName"></field>



            <field id="LastName"></field>




        <conditions></conditions>



            <condition type="userinfo" value="" field="Id" operator="=" enclosevalueinquotes="true" userinfotype="userid"></condition>




        <actions></actions>





<components></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"></skootable>



        <fields></fields>



            <field id="FirstName"></field>



            <field id="LastName"></field>




        <rowactions></rowactions>



            <action type="edit"></action>



            <action type="delete"></action>




        <massactions usefirstitemasdefault="true"></massactions>



            <action type="massupdate"></action>



            <action type="massdelete"></action>




        <views></views>



            <view type="standard"></view>






<resources></resources>



    <labels></labels>



    <javascript></javascript>



    <css></css>




<styles></styles>



    <styleitem type="background" bgtype="none"></styleitem>




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







<models></models>



    <model id="User" limit="1" query="true" createrowifnonefound="false" adapter="salesforce" type="" sobject="User"></model>



        <fields></fields>



            <field id="FirstName"></field>



            <field id="LastName"></field>




        <conditions></conditions>



            <condition type="userinfo" value="" field="Id" operator="=" enclosevalueinquotes="true" userinfotype="userid"></condition>




        <actions></actions>





<components></components>



    <includepanel type="skuid" uniqueid="sk-rBW2A-108" pagename="PageIncludePage" module=""></includepanel>




<resources></resources>



    <labels></labels>



    <javascript></javascript>



    <css></css>




<styles></styles>



    <styleitem type="background" bgtype="none"></styleitem>




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

@Amy Dewaal Can you please look on that issue?


I believe that this was addressed by the latest Rockaway Hotfix — see Get the Latest Skuid Releases & Everything That Came Before. 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.


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


Ok Thank You for your quick response.

Thanks,
Raj


Reply