when i am using to show data using ourtputfield its not allowing to save the component file. error message is below

 Failed to save MyContactComp.cmp: No COMPONENT named markup://lighting:outputfield found 

    <p class="slds-p-horizontal_small">
        <aura:iteration items="{!v.contactList}" var="contact">
            <lightning:recordViewForm recordId="{!contact.Id}" objectApiName="contact">
                <div class="slds-box slds-theme_default">
                    <lighting:outputfield fieldName="Name" />
                    <lighting:outputfield fieldName="Phone" />
                    <lighting:outputfield fieldName="Email" /> 


and when i am using direct {!contact.Name} {!contact.Email} its showing data with bad formatting.

1 Answer 1


It is lightning:outputfield

not lighting:outputfield. you missed 'n'

check here https://developer.salesforce.com/docs/component-library/bundle/lightning:outputField/example

  • Yes @Ratan.Nice catch :)
    – Annappa PH
    Commented Jul 2, 2018 at 6:53
  • @cloudZigZag no problem
    – Ratan Paul
    Commented Jul 2, 2018 at 6:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .