Skip to main content
added 89 characters in body
Source Link

When i am previewing the Lightning APP it is giving error

Something has gone wrong. $Lightning is not defined. Please try again.

Mainly this is happening after salesforce update. Is there anything to do with that ?

<aura:application access="GLOBAL" extends="ltng:outApp">
   <c:load filesInSeries="/resource/CommunityStore/jquery-1.11.2.min.js,/resource/CommunityStore/bootstrap/bootstrap.js,/resource/CommunityStore/bootstrap/bootstrap.css,/resource/CommunityStore/style.css"/>  
    <aura:dependency resource="c:AccountInfoComponent"/> 
</aura:application> 

VFPAGE:

<apex:page standardStylesheets="false" sidebar="false">
           
    <div style="vertical-align: top; margin-top: -650px;">
        <apex:includeLightning />
        <div id="lightning" />
      
        <script>
       
        $Lightning.use("c:AccApp", function() {
          $Lightning.createComponent("c:AccountInfoComponent",
          { Label : " " },
          "lightning",
          function(cmp) {
            // do some stuff
          });
        });
    </script>
    </div>

    
</apex:page>
                 

When i am previewing the Lightning APP it is giving error

Something has gone wrong. $Lightning is not defined. Please try again.

<aura:application access="GLOBAL" extends="ltng:outApp">
   <c:load filesInSeries="/resource/CommunityStore/jquery-1.11.2.min.js,/resource/CommunityStore/bootstrap/bootstrap.js,/resource/CommunityStore/bootstrap/bootstrap.css,/resource/CommunityStore/style.css"/>  
    <aura:dependency resource="c:AccountInfoComponent"/> 
</aura:application> 

VFPAGE:

<apex:page standardStylesheets="false" sidebar="false">
           
    <div style="vertical-align: top; margin-top: -650px;">
        <apex:includeLightning />
        <div id="lightning" />
      
        <script>
       
        $Lightning.use("c:AccApp", function() {
          $Lightning.createComponent("c:AccountInfoComponent",
          { Label : " " },
          "lightning",
          function(cmp) {
            // do some stuff
          });
        });
    </script>
    </div>

    
</apex:page>
                 

When i am previewing the Lightning APP it is giving error

Something has gone wrong. $Lightning is not defined. Please try again.

Mainly this is happening after salesforce update. Is there anything to do with that ?

<aura:application access="GLOBAL" extends="ltng:outApp">
   <c:load filesInSeries="/resource/CommunityStore/jquery-1.11.2.min.js,/resource/CommunityStore/bootstrap/bootstrap.js,/resource/CommunityStore/bootstrap/bootstrap.css,/resource/CommunityStore/style.css"/>  
    <aura:dependency resource="c:AccountInfoComponent"/> 
</aura:application> 

VFPAGE:

<apex:page standardStylesheets="false" sidebar="false">
           
    <div style="vertical-align: top; margin-top: -650px;">
        <apex:includeLightning />
        <div id="lightning" />
      
        <script>
       
        $Lightning.use("c:AccApp", function() {
          $Lightning.createComponent("c:AccountInfoComponent",
          { Label : " " },
          "lightning",
          function(cmp) {
            // do some stuff
          });
        });
    </script>
    </div>

    
</apex:page>
                 
added 653 characters in body
Source Link

When i am previewing the Lightning APP it is giving error

Something has gone wrong. $Lightning is not defined. Please try again.

<aura:application access="GLOBAL" extends="ltng:outApp">
   <c:load filesInSeries="/resource/CommunityStore/jquery-1.11.2.min.js,/resource/CommunityStore/bootstrap/bootstrap.js,/resource/CommunityStore/bootstrap/bootstrap.css,/resource/CommunityStore/style.css"/>  
    <aura:dependency resource="c:AccountInfoComponent"/> 
</aura:application> 

VFPAGE:

<apex:page standardStylesheets="false" sidebar="false">
           
    <div style="vertical-align: top; margin-top: -650px;">
        <apex:includeLightning />
        <div id="lightning" />
      
        <script>
       
        $Lightning.use("c:AccApp", function() {
          $Lightning.createComponent("c:AccountInfoComponent",
          { Label : " " },
          "lightning",
          function(cmp) {
            // do some stuff
          });
        });
    </script>
    </div>

    
</apex:page>
                 

When i am previewing the Lightning APP it is giving error

Something has gone wrong. $Lightning is not defined. Please try again.

<aura:application access="GLOBAL" extends="ltng:outApp">
   <c:load filesInSeries="/resource/CommunityStore/jquery-1.11.2.min.js,/resource/CommunityStore/bootstrap/bootstrap.js,/resource/CommunityStore/bootstrap/bootstrap.css,/resource/CommunityStore/style.css"/>  
    <aura:dependency resource="c:AccountInfoComponent"/> 
</aura:application> 

When i am previewing the Lightning APP it is giving error

Something has gone wrong. $Lightning is not defined. Please try again.

<aura:application access="GLOBAL" extends="ltng:outApp">
   <c:load filesInSeries="/resource/CommunityStore/jquery-1.11.2.min.js,/resource/CommunityStore/bootstrap/bootstrap.js,/resource/CommunityStore/bootstrap/bootstrap.css,/resource/CommunityStore/style.css"/>  
    <aura:dependency resource="c:AccountInfoComponent"/> 
</aura:application> 

VFPAGE:

<apex:page standardStylesheets="false" sidebar="false">
           
    <div style="vertical-align: top; margin-top: -650px;">
        <apex:includeLightning />
        <div id="lightning" />
      
        <script>
       
        $Lightning.use("c:AccApp", function() {
          $Lightning.createComponent("c:AccountInfoComponent",
          { Label : " " },
          "lightning",
          function(cmp) {
            // do some stuff
          });
        });
    </script>
    </div>

    
</apex:page>
                 
deleted 31 characters in body
Source Link

When i am previewing the Lightning APP it is giving error

Something has gone wrong. $Lightning is not defined. Please try again.

<aura:application access="GLOBAL" extends="ltng:outApp" implements="force:appHostable">outApp">
   <c:load filesInSeries="/resource/CommunityStore/jquery-1.11.2.min.js,/resource/CommunityStore/bootstrap/bootstrap.js,/resource/CommunityStore/bootstrap/bootstrap.css,/resource/CommunityStore/style.css"/>  
   <c <aura:AccountInfoComponentdependency resource="c:AccountInfoComponent"/> 
</aura:application> 

When i am previewing the Lightning APP it is giving error

Something has gone wrong. $Lightning is not defined. Please try again.

<aura:application access="GLOBAL" extends="ltng:outApp" implements="force:appHostable">
   <c:load filesInSeries="/resource/CommunityStore/jquery-1.11.2.min.js,/resource/CommunityStore/bootstrap/bootstrap.js,/resource/CommunityStore/bootstrap/bootstrap.css,/resource/CommunityStore/style.css"/>  
   <c:AccountInfoComponent/>
</aura:application> 

When i am previewing the Lightning APP it is giving error

Something has gone wrong. $Lightning is not defined. Please try again.

<aura:application access="GLOBAL" extends="ltng:outApp">
   <c:load filesInSeries="/resource/CommunityStore/jquery-1.11.2.min.js,/resource/CommunityStore/bootstrap/bootstrap.js,/resource/CommunityStore/bootstrap/bootstrap.css,/resource/CommunityStore/style.css"/>  
    <aura:dependency resource="c:AccountInfoComponent"/> 
</aura:application> 
added 6 characters in body
Source Link
Ratan Paul
  • 22.8k
  • 14
  • 55
  • 99
Loading
added 11 characters in body; edited title
Source Link
Loading
Source Link
Loading