This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<aura:component> | |
<aura:attribute name="firstName" type="String" access="global"/> | |
<aura:attribute name="lastName" type="String" access="global"/> | |
<aura:attribute name="emailAddress" type="String" access="global"/> | |
<aura:attribute name="companyName" type="String" access="global"/> | |
<aura:attribute name="referrerURL" type="String" access="global"/> | |
Embedding Lighting Component in vf page and passing parameters from vf page to Lighting Component<br/> | |
First Name: {!v.firstName}<br/> | |
Last Name: {!v.lastName}<br/> | |
Email Address: {!v.emailAddress}<br/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<apex:page standardStylesheets="false" applyBodyTag="false" applyHtmlTag="false" showHeader="false" sidebar="false"> | |
<html> | |
<script src="https://kb-developer-edition.na50.force.com/lightning/lightning.out.js"></script> | |
<script> | |
$Lightning.use("c:TrailheadHelp", // name of the Lightning app | |
function() { // Callback once framework and app loaded | |
$Lightning.createComponent( | |
"c:KBAndSupport", // top-level component of your app | |
{ | |
firstName:'Amit', |