Give Lightning Web Component a Prettier NameLightning web components issue with SFDX push and pullSalesforce Lightning Web ComponentLightning Web Components - Not available in app builderSFDX error: Only one default export allowed?Array.push() on a @tracked array doesn't cause component refresh in lightning-accordion in LWCLightning Web Component Styling - Textarea
What is this "opened" cube called?
Don't look at what I did there
Is rebooked flight considered a delay
How do I portray irrational anger in first person?
Under GDPR, can I give permission once to allow everyone to store and process my data?
what does permission d--------- means
What should be done with the carbon when using magic to get oxygen from carbon dioxide?
Generic method to call API functions with simple retrial on errors
What control character is ^ in the buffer in a file open in vim?
Coupling two 15 Amp circuit breaker for 20 Amp
Can two aircraft stay on the same runway at the same time?
Can a network vulnerability be exploited locally?
Why did Starhopper's exhaust plume become brighter just before landing?
Can I lend a small amount of my own money to a bank at the federal funds rate?
Is this position a forced win for Black after move 14?
Why does `buck` mean `step-down`?
Group by consecutive index numbers
Is it possible for a person to be tricked into becoming a lich?
Did ancient peoples ever hide their treasure behind puzzles?
Can a Sorcerer use the Careful Spell Metamagic option on spells with optional saving throws?
I feel cheated by my new employer, does this sound right?
Historical Daf Yomi calendar
How can I reply to coworkers who accuse me of automating people out of work?
is "prohibition against," a double negative?
Give Lightning Web Component a Prettier Name
Lightning web components issue with SFDX push and pullSalesforce Lightning Web ComponentLightning Web Components - Not available in app builderSFDX error: Only one default export allowed?Array.push() on a @tracked array doesn't cause component refresh in lightning-accordion in LWCLightning Web Component Styling - Textarea
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
How do I give my lightning web component a better name than simply 'helloWorld' or 'createNewCase' in the Custom section of the Lightning App Builder when published? I want something like 'Hello World' and 'Create New Case' (Non-camel case capitalization with spaces).
Note: I tried changing the LightningComponentBundle tag fqn value, but that did not change the name in the UI.
lightning-web-components
add a comment |
How do I give my lightning web component a better name than simply 'helloWorld' or 'createNewCase' in the Custom section of the Lightning App Builder when published? I want something like 'Hello World' and 'Create New Case' (Non-camel case capitalization with spaces).
Note: I tried changing the LightningComponentBundle tag fqn value, but that did not change the name in the UI.
lightning-web-components
add a comment |
How do I give my lightning web component a better name than simply 'helloWorld' or 'createNewCase' in the Custom section of the Lightning App Builder when published? I want something like 'Hello World' and 'Create New Case' (Non-camel case capitalization with spaces).
Note: I tried changing the LightningComponentBundle tag fqn value, but that did not change the name in the UI.
lightning-web-components
How do I give my lightning web component a better name than simply 'helloWorld' or 'createNewCase' in the Custom section of the Lightning App Builder when published? I want something like 'Hello World' and 'Create New Case' (Non-camel case capitalization with spaces).
Note: I tried changing the LightningComponentBundle tag fqn value, but that did not change the name in the UI.
lightning-web-components
lightning-web-components
asked 8 hours ago
Brooks KreutzerBrooks Kreutzer
554 bronze badges
554 bronze badges
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Use the masterLabel tag in the configuration XML file.
<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata" fqn="firstComponent">
<apiVersion>45.0</apiVersion>
<isExposed>true</isExposed>
<targets>
<target>lightning__AppPage</target>
<target>lightning__RecordPage</target>
<target>lightning__HomePage</target>
</targets>
<masterLabel>First Component</masterLabel>
<targetConfigs>
<targetConfig targets="lightning__RecordPage,lightning__AppPage,lightning__HomePage">
<property name="label" type="String" default="WIPDeveloper.com"></property>
</targetConfig>
</targetConfigs>
</LightningComponentBundle>
Results in the following in setup.

Ref: https://fun-inspiration-5789-dev-ed.lightning.force.com/docs/component-library/documentation/lwc/lwc.reference_configuration_tags
add a comment |
Use the master label tag in meta XML like below
<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata" fqn="parentCmp">
<apiVersion>46.0</apiVersion>
<isExposed>true</isExposed>
<masterLabel> Test Component </masterLabel>
<targets>
<target>lightning__HomePage</target>
</targets>
</LightningComponentBundle>
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "459"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsalesforce.stackexchange.com%2fquestions%2f275401%2fgive-lightning-web-component-a-prettier-name%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Use the masterLabel tag in the configuration XML file.
<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata" fqn="firstComponent">
<apiVersion>45.0</apiVersion>
<isExposed>true</isExposed>
<targets>
<target>lightning__AppPage</target>
<target>lightning__RecordPage</target>
<target>lightning__HomePage</target>
</targets>
<masterLabel>First Component</masterLabel>
<targetConfigs>
<targetConfig targets="lightning__RecordPage,lightning__AppPage,lightning__HomePage">
<property name="label" type="String" default="WIPDeveloper.com"></property>
</targetConfig>
</targetConfigs>
</LightningComponentBundle>
Results in the following in setup.

Ref: https://fun-inspiration-5789-dev-ed.lightning.force.com/docs/component-library/documentation/lwc/lwc.reference_configuration_tags
add a comment |
Use the masterLabel tag in the configuration XML file.
<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata" fqn="firstComponent">
<apiVersion>45.0</apiVersion>
<isExposed>true</isExposed>
<targets>
<target>lightning__AppPage</target>
<target>lightning__RecordPage</target>
<target>lightning__HomePage</target>
</targets>
<masterLabel>First Component</masterLabel>
<targetConfigs>
<targetConfig targets="lightning__RecordPage,lightning__AppPage,lightning__HomePage">
<property name="label" type="String" default="WIPDeveloper.com"></property>
</targetConfig>
</targetConfigs>
</LightningComponentBundle>
Results in the following in setup.

Ref: https://fun-inspiration-5789-dev-ed.lightning.force.com/docs/component-library/documentation/lwc/lwc.reference_configuration_tags
add a comment |
Use the masterLabel tag in the configuration XML file.
<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata" fqn="firstComponent">
<apiVersion>45.0</apiVersion>
<isExposed>true</isExposed>
<targets>
<target>lightning__AppPage</target>
<target>lightning__RecordPage</target>
<target>lightning__HomePage</target>
</targets>
<masterLabel>First Component</masterLabel>
<targetConfigs>
<targetConfig targets="lightning__RecordPage,lightning__AppPage,lightning__HomePage">
<property name="label" type="String" default="WIPDeveloper.com"></property>
</targetConfig>
</targetConfigs>
</LightningComponentBundle>
Results in the following in setup.

Ref: https://fun-inspiration-5789-dev-ed.lightning.force.com/docs/component-library/documentation/lwc/lwc.reference_configuration_tags
Use the masterLabel tag in the configuration XML file.
<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata" fqn="firstComponent">
<apiVersion>45.0</apiVersion>
<isExposed>true</isExposed>
<targets>
<target>lightning__AppPage</target>
<target>lightning__RecordPage</target>
<target>lightning__HomePage</target>
</targets>
<masterLabel>First Component</masterLabel>
<targetConfigs>
<targetConfig targets="lightning__RecordPage,lightning__AppPage,lightning__HomePage">
<property name="label" type="String" default="WIPDeveloper.com"></property>
</targetConfig>
</targetConfigs>
</LightningComponentBundle>
Results in the following in setup.

Ref: https://fun-inspiration-5789-dev-ed.lightning.force.com/docs/component-library/documentation/lwc/lwc.reference_configuration_tags
answered 8 hours ago
Brett NelsonBrett Nelson
1414 bronze badges
1414 bronze badges
add a comment |
add a comment |
Use the master label tag in meta XML like below
<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata" fqn="parentCmp">
<apiVersion>46.0</apiVersion>
<isExposed>true</isExposed>
<masterLabel> Test Component </masterLabel>
<targets>
<target>lightning__HomePage</target>
</targets>
</LightningComponentBundle>
add a comment |
Use the master label tag in meta XML like below
<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata" fqn="parentCmp">
<apiVersion>46.0</apiVersion>
<isExposed>true</isExposed>
<masterLabel> Test Component </masterLabel>
<targets>
<target>lightning__HomePage</target>
</targets>
</LightningComponentBundle>
add a comment |
Use the master label tag in meta XML like below
<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata" fqn="parentCmp">
<apiVersion>46.0</apiVersion>
<isExposed>true</isExposed>
<masterLabel> Test Component </masterLabel>
<targets>
<target>lightning__HomePage</target>
</targets>
</LightningComponentBundle>
Use the master label tag in meta XML like below
<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata" fqn="parentCmp">
<apiVersion>46.0</apiVersion>
<isExposed>true</isExposed>
<masterLabel> Test Component </masterLabel>
<targets>
<target>lightning__HomePage</target>
</targets>
</LightningComponentBundle>
answered 8 hours ago
Mohith ShrivastavaMohith Shrivastava
64k7 gold badges110 silver badges157 bronze badges
64k7 gold badges110 silver badges157 bronze badges
add a comment |
add a comment |
Thanks for contributing an answer to Salesforce Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsalesforce.stackexchange.com%2fquestions%2f275401%2fgive-lightning-web-component-a-prettier-name%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown