5

Is it possible to set a custom label for the name of a Lightning Component in the App Builder? In the example below, my component is named "DashboardPage" - can I change the label to something else, or do I have to rename the entire component?

enter image description here

12

Yes. You need to create a design file for the component:

<design:component label="Label For Component">
</design:component>

See the Add a Design Resource to Your Component Bundle section in the dev guide at https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/components_config_for_app_builder.htm

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.