-
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.
Popular Salesforce Blogs
Implementing Salesforce Revenue Cloud with QuickStart Solutions to Achieve your Business Goals
Are you a business leader looking to capitalize on the power of Salesforce Revenue Cloud? Implementing this powerful solution can be both an exciting and daunting…
Get your development faster with Apex Code Assistance, Lightning Previewer and PMD Support for Apex in a new release of The Welkin Suite IDE
The Welkin Suite team just finished up its large push to hand out its latest Release for Windows, “Bloom R1”, as they continue toward their…
Popular Salesforce Videos
Salesforce CPQ Tips to Accelerate Sales Cycle
Learn how to accelerate your sales cycle with Salesforce CPQ! Optimize your product catalogue by streamlining listings, removing outdated items, and categorizing products effectively. Automate…
Get Started with Salesforce for Recruitment and Admissions: Recruitment and Marketing
This webinar is designed for Salesforce admins and users who work in Recruitment and Admissions. It covers all you need to know about using Salesforce…
Explore Record Triggered Flow | Learn Salesforce Lightning Flows | Flow Builder Videos
Creating or updating a record can trigger an auto-launched flow to make additional updates to that record before it's saved to the database. A record-triggered…
Popular Salesforce Infographics
Salesforce Administrator Vs Salesforce Developer – Mainstreams of Salesforce Profession
Salesforce CRM training, an important requisite, can help people enjoy this Salesforce professional sustenance. Salesforce administrators and Salesforce developers are the popular and standard mainstreams…
Salesforce Events of 2018 | Infographic
Complete Salesforce Event Timeline for 2018 including Dreamforce, Salesforce World Tour and the Dreamin' events from all over the world. Use those links to connect…
The 6 Greatest Benefits of CRM Platforms | Salesforce CRM
A CRM platform helps companies target different audiences, set scores and alerts based on an individual lead or customer’s activity, proactively work with contacts and…