Skip to main content
8 votes
Accepted

How to use <lightning:select> on Community? PURE Markup, no APEX, no JS

You are not specifying the required attributes in your component as stated in the documentation: Attribute Name ----- Attribute Type --------- Required? label -------------- String -----------...
glls's user avatar
  • 20.2k
3 votes
Accepted

What namespace to use when developing Lightning components for a managed package?

When using Salesforce DX, you register your namespace with the Dev Hub. From there, you can create Scratch Orgs that use the namespace by using the namespace attribute in your scratch org definition ...
sfdcfox's user avatar
  • 495k
3 votes
Accepted

LWC Access denied error referencing namespace problem

The problem appears to relate to the way tracked parameters are implemented using a Proxy, with this then covered by/using the locker service in order to apply security constraints. The error is ...
Phil W's user avatar
  • 36.9k
1 vote

Namespace issue in LWC component in Scratch Org

Import your fields, and use the relevant tokens: import EVENT_SECTION_NAME from "@salesforce/schema/Event_Section__c.Event_Section_Name__c"; field[EVENT_SECTION_NAME.fieldApiName] = element....
sfdcfox's user avatar
  • 495k
1 vote
Accepted

Can we add/create a duplicate field with and without namespace prefix in a same object

No, you cannot create a duplicate field with and without namespace prefix in the same object. A namespace prefix is a one to 15-character alphanumeric identifier that distinguishes your package and ...
Tushar Jadav's user avatar
  • 2,049
1 vote
Accepted

Lightning application form, unable to submit because of SecureAction

Lightning chrome inspector plugin Decrypts the actual response. Installing/ activating plugin solves the issue and returns a proper response.
Pranay Jaiswal's user avatar
1 vote

What namespace to use when developing Lightning components for a managed package?

Recently faced this problem as well, and what I did was to obtain the namespace from Apex and create the string with namespace+":lightningComponentName" and pass that to $Lightning.use(). The ...
AslamK's user avatar
  • 2,079

Only top scored, non community-wiki answers of a minimum length are eligible