Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save choudharymanish8585/f3c25f46d59a8ffa43919fc80237b680 to your computer and use it in GitHub Desktop.
Save choudharymanish8585/f3c25f46d59a8ffa43919fc80237b680 to your computer and use it in GitHub Desktop.
<aura:component implements="lightning:isUrlAddressable,force:appHostable,flexipage:availableForAllPageTypes">
<aura:attribute type="String" name="recordId" />
<aura:attribute type="String" name="objectName" />
<aura:handler name="init" value="{!this}" action="{!c.doInit}"/>
<lightning:card title="URL Addressable Component">
<lightning:recordForm
recordId="{!v.recordId}"
objectApiName="{!v.objectName}"
layoutType="Full"
columns="2"
mode="edit" />
</lightning:card>
</aura:component>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment