You need to sign in to do that
Don't have an account?
Antoine LELEU 10
CSS Sidebar problem : SLDS in Lightning Component Embedded in VF
Hi,
i'm developed a lightning component using SLDS Framework. The component is load in Lightning App and Embedded in VF.
The result is correct but when i want inculde header and side bar in the Salesforce Classic UI, there are display issues :
Please, find the code below :
the vf page :
<apex:page controller="AlineaSearchController" showHeader="false" standardStylesheets="false" sidebar="false" applyHtmlTag="false" applyBodyTag="false" docType="html-5.0">
<!-- ADD LIGHTNING COMPONENT -->
<apex:includeScript value="/lightning/lightning.out.js" />
<div id="lightning" />
<script>
$Lightning.use("c:AlineaSearch_App", function() {
$Lightning.createComponent("c:AlineaSearch",{ label : "" },"lightning",function(cmp) {
});
});
</script>
</apex:page>
And the page display in classic loadinf the original page :
<apex:page standardController="Case" tabStyle="Case">
<apex:include pageName="AlineaSearchPage"/>
</apex:page>
Thanks for your help,
Antoine
i'm developed a lightning component using SLDS Framework. The component is load in Lightning App and Embedded in VF.
The result is correct but when i want inculde header and side bar in the Salesforce Classic UI, there are display issues :
Please, find the code below :
the vf page :
<apex:page controller="AlineaSearchController" showHeader="false" standardStylesheets="false" sidebar="false" applyHtmlTag="false" applyBodyTag="false" docType="html-5.0">
<!-- ADD LIGHTNING COMPONENT -->
<apex:includeScript value="/lightning/lightning.out.js" />
<div id="lightning" />
<script>
$Lightning.use("c:AlineaSearch_App", function() {
$Lightning.createComponent("c:AlineaSearch",{ label : "" },"lightning",function(cmp) {
});
});
</script>
</apex:page>
And the page display in classic loadinf the original page :
<apex:page standardController="Case" tabStyle="Case">
<apex:include pageName="AlineaSearchPage"/>
</apex:page>
Thanks for your help,
Antoine
Can you share with me some screenshot of UI ?
Regards,
Scott Haleo
Hytechpro
Thanks for your answer.
Please find below, screen shots of UI.
This is the UI alone:
And this is when i try to embedded the UI with Salesforce header and sidebar :
The CSS sidebar seems not apply correctly and the footer stay at the middle of the page.
Thanks,
Antoine