Activity Forums Salesforce® Discussions Component requires you to specify namespace in the objectApiName

  • Component requires you to specify namespace in the objectApiName

    Posted by Luis on October 27, 2020 at 4:56 am

    This message is displayed in an organization where I install a managed package:
    API Name Contract__c is invalid, did you mean "namespace__Contract__c?
    Code:
    <aura:if isTrue="{!v.showrecord}">
    <lightning:recordForm aura:id="contractRecordForm11" recordId="{!v.recordId}"
    objectApiName=" Contract __c" fields="Name" columns="1" mode="readonly"/>
    </aura:if>
    Shouldn't Salesforce put the namespace in? without needing me to put it manually?
    If I write it manually in objectApiName it works. But I understand that when I install the package, Salesforce have to put the namespace to it.
    Thanks for your help.👍

    Luis replied 4 years, 3 months ago 1 Member · 0 Replies
  • 0 Replies

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos

Popular Salesforce Infographics

marketing cloud

Salesforce Marketing Cloud Features, Benfits and Advantages

in

Elevate Your Strategy: Discover the 4 Power Moves with Salesforce Marketing Cloud 1. 𝐏𝐫𝐞𝐜𝐢𝐬𝐢𝐨𝐧 𝐓𝐚𝐫𝐠𝐞𝐭𝐢𝐧𝐠 Laser-focused campaigns for maximum impact. 2. 𝐃𝐚𝐭𝐚-𝐃𝐫𝐢𝐯𝐞𝐧 𝐈𝐧𝐬𝐢𝐠𝐡𝐭𝐬 Real-time analytics…