-
Component requires you to specify namespace in the objectApiName
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.?
Log In to reply.