3

What is the fqn attribute in the LightningComponentBundle element? I can't find it documented anywhere. Is this the unique identifier by which Salesforce manages the element? Would that be the identifier used in the members element in package.xml? If I change it, does that change the "identity" of the component, so SF no longer thinks it's the same one?

See the example at https://developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.use_config_for_community_builder, which contains the line

<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata" fqn="helloWorld">
4
  • 2
    "fqn" usually means "fully qualified name", which, in SF, is usually the namespace + separator + local name.
    – Phil W
    Commented Jul 22, 2020 at 17:28
  • Where did you come across this? I've not seen it anywhere so far. Can you provide an example of the meta XML for an LWC with this attribute in it? If so, please edit your question to add it.
    – Phil W
    Commented Jul 22, 2020 at 17:31
  • @PhilW it is used in LightningComponentBundle tag in Javascript meta xml file as seen in this page - trailhead.salesforce.com/content/learn/projects/…
    – Suneel
    Commented Oct 16, 2020 at 17:14
  • 1
    I suspect that is cruft from before LWCs were formalised. I certainly cannot find it in any specification, just in a few examples.
    – Phil W
    Commented Oct 16, 2020 at 17:41

0

You must log in to answer this question.

Browse other questions tagged .