Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
<aura:application extends="ltng:outApp" >
<aura:dependency resource="c:recordViewRepro" />
<aura:component access="PUBLIC">
<span>Begin Record View Form</span>
<!-- NOTE: Replace the record Id below with a record Id from your org -->
<lightning:recordViewForm recordId="0064400000nL1bT" objectApiName="Opportunity">
<lightning:outputField fieldName="Name" />
<span>End Record View Form</span>
<div id="ltng">
$Lightning.use('c:LightningOutRecordView', function() {
function(cmp) {
// do some stuff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment