function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Danny PhamDanny Pham 

Stuck at -- Create a Lightning Component Set Default Form c:SpeakerForm

Hello,
 I am following the instruction to set default form.
 I am stuck at setting default form to "c:SpeakerForm"
 I cannot see the option 
 User-added image
 https://trailhead.salesforce.com/content/learn/projects/salesforce_developer_workshop/creating_lightning_component

Please advice!
Thanks
/Danny
Raj VakatiRaj Vakati
Use the below code ..
 
<aura:component implements="flexipage:availableForRecordHome,force:appHostable,lightning:actionOverride,force:hasRecordId">

 
Raj VakatiRaj Vakati
Give me your code
Danny PhamDanny Pham
Here is the code from the trail head
<aura:component implements="flexipage:availableForRecordHome,force:appHostable,lightning:actionOverride,force:hasRecordId">
    <aura:attribute name="speaker" type="Speaker__c" />
    <aura:attribute name="recordId" type="String" />
    <div class="slds-p-bottom_large slds-p-left_large" style="width:600px">
        <lightning:recordEditForm aura:id="recordViewForm"
                                  recordId="{!v.recordId}"
                                  recordTypeId="{!v.speaker}"
                                  objectApiName="Speaker__c"
                                  onsuccess="{!c.onSuccess}">
            <lightning:messages />
            <lightning:inputField fieldName="First_Name__c" />
            <lightning:inputField fieldName="Last_Name__c" />
            <lightning:inputField fieldName="Email__c" />
            <lightning:inputField fieldName="Bio__c" />
            <lightning:button aura:id="submit" type="submit" label="Update Speaker" class="slds-m-top_medium" />
        </lightning:recordEditForm>
    </div>
</aura:component>

Thanks
Raj VakatiRaj Vakati
Your code looks goog to me