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 caused the end of cybernetic implants?
Does Dovescape counter Enchantment Creatures?
How did medieval manors handle population growth? Was there room for more fields to be ploughed?
Count the number of triangles
“I hope he visit us more often” Why is this wrong?
How to investigate an unknown 1.5GB file named "sudo" in my Linux home directory?
What is the following VRP?
Where should I draw the line on follow up questions from previous employer
Is the Amazon rainforest the "world's lungs"?
Why do IR remotes influence AM radios?
How do I portray irrational anger in first person?
How to differentiate between two people with the same name in a story?
How can I reply to coworkers who accuse me of automating people out of work?
Answer with an image of my favorite musician
Why doesn't Starship have four landing legs?
What's the difference between a variable and a memory location?
Convert shapefille to KML
Scaling arrows.meta with tranform shape
Defending Castle from Zombies
Why can't I identify major and minor chords?
Unable to enroll in insurance now because of typo in email address
Can I lend a small amount of my own money to a bank at the federal funds rate?
How can I observe Sgr A* with itelescope.net
Coupling two 15 Amp circuit breaker for 20 Amp
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 7 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 7 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