Defect/Issue Description:
Unable to use Skuid Component in Lightning Page
Environment:
API Version: V2
Release: Dubai
Release version: 15.3.6
Platform: Salesforce
Brief Summary of the Defect/Issue:
Unable to make use of Skuid component in Lightning page.
Action Performed:
- Created Skuid page as per XML below.
- Add Skuid page component to both Account Record Page and custom app.
Expected Result:
Should have displayed the skuid page.
Actual Result:
Got 3 errors in console and skuid page component fails to load page.
Access to XMLHttpRequest at ‘https://sasmfg--skuid.vf.force.com/resource/1674052024000/skuid__next/js/vendor.js’ from origin ‘https://sasmfg.lightning.force.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
Uncaught (in promise) Error: Timeout: https://sasmfg--skuid.vf.force.com/resource/1674052024000/skuid__next/js/vendor.js
Uncaught (in promise) Error: There was an error rendering a Skuid Page component for page SimplePage
Error: Timeout: https://sasmfg--skuid.vf.force.com/resource/1674052024000/skuid__next/js/vendor.js
at eval (page.js:165:10)
Additional Resources:
<skuid__page unsavedchangeswarning="yes" personalizationmode="server" showsidebar="true" showheader="true" theme="SAS_Lightning">
<models>
<model id="NewModel" limit="1" query="true" createrowifnonefound="false" datasource="salesforce" sobject="Account">
<fields>
<field id="Name"/>
</fields>
<conditions/>
<actions/>
</model>
</models>
<components>
<skuid__form showErrorsInline="true" model="NewModel" uniqueid="sk-35M2-19070" mode="read">
<columns>
<column>
<sections>
<section title="New Section">
<fields>
<skuid__field id="Name" uniqueId="sk-35M2-19071"/>
</fields>
</section>
</sections>
</column>
</columns>
</skuid__form>
</components>
<resources>
<labels/>
<javascript/>
<css/>
<actionsequences/>
</resources>
<styles>
<styleitem type="background" bgtype="none"/>
</styles>
</skuid__page>