Created
May 23, 2018 18:15
-
-
Save forcemantis/7ddffd87324e640b0a7a8dbdce9a2df8 to your computer and use it in GitHub Desktop.
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', | |
lastName:'Jain', | |
emailAddress:'amit.jain@metacube.com', | |
companyName:'Metacube Software Pvt. Ltd.', | |
referrerURL: 'https://trailhead.salesforce.com/modules/entitlements/units/entitlements_starting' | |
}, // attributes to set on the component when created | |
"lightningComponent", // the DOM location to insert the component | |
function(cmp) { | |
// callback when component is created and active on the page | |
} | |
); | |
}, | |
'https://kb-developer-edition.na50.force.com/' // Community endpoint | |
); | |
</script> | |
<body style="padding:0; margin:0"> | |
<div id="lightningComponent" ></div> | |
</body> | |
</html> | |
</apex:page> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment