Activity Forums Salesforce® Discussions change name of existing lightning component

  • madhulika shah

    Member
    September 7, 2018 at 1:42 pm

    Hi Anjali,

    You need to delete the component and create new one with new name.

    Thanks.

  • Parul

    Member
    September 7, 2018 at 1:42 pm

    Hi Anjali,

    Follow these steps:

    Use the Developer Console Query Editor and update the names of the Lightning Components to see what happens. Run this query in the Query Editor:

    • Select Id, DeveloperName from AuraDefinitionBundle

    then let's change the name of the component.

    For example: TestLighntingBaseComponents to CodeScienceLightningBaseComponents and hit save.

     

    Thanks.

     

  • Avnish Yadav

    Member
    September 9, 2018 at 8:05 am

    Hi,

    Easiest was to provide a new label for the component via the design file.

    <design:component label="A New Name"> </design:component>

    Hope this will help.

    Thanks.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos