Created
May 15, 2019 18:21
-
-
Save choudharymanish8585/f3c25f46d59a8ffa43919fc80237b680 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 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