Can I use $Label.LightningControl in my components?$Label.LightningControl.required does not existlightning:input doesn't always bind to attribute references?Localization Service in Lightning ComponentsMarkup for editing SObject fields in Lightning ComponentsHow to create a Custom label(URL) in Sandbox that can be deployed to Prod?Is it possible to use dynamic label for <design:attribute>Use standard salesforce componentUse aura:id to group or identify field components?Import and use strike componentsOn change of designer attribute, init() handler is called againUnable to update namespace of custom labels in managed package

Uncommanded roll at high speed

Mother abusing my finances

Term for checking piece whose opponent daren't capture it

How did early x86 BIOS programmers manage to program full blown TUIs given very few bytes of ROM/EPROM?

Creating Fictional Slavic Place Names

The qvolume of an integer

Strange math syntax in old basic listing

What does "tea juice" mean in this context?

What does it mean when you think without speaking?

Biblical Basis for 400 years of silence between old and new testament

How to detach yourself from a character you're going to kill?

Is there an evolutionary advantage to having two heads?

Is floating in space similar to falling under gravity?

What is the indigenous Russian word for a wild boar?

Can an old DSLR be upgraded to match modern smartphone image quality

Humans meet a distant alien species. How do they standardize? - Units of Measure

Can a rogue effectively triple their speed by combining Dash and Ready?

Adding strings in lists together

How to make the POV character sit on the sidelines without the reader getting bored

Using PCA vs Linear Regression

Is the world in Game of Thrones spherical or flat?

How to retrieve the correct Account records from SOQL query?

What caused the tendency for conservatives to not support climate change regulations?

Modern approach to radio buttons



Can I use $Label.LightningControl in my components?


$Label.LightningControl.required does not existlightning:input doesn't always bind to attribute references?Localization Service in Lightning ComponentsMarkup for editing SObject fields in Lightning ComponentsHow to create a Custom label(URL) in Sandbox that can be deployed to Prod?Is it possible to use dynamic label for <design:attribute>Use standard salesforce componentUse aura:id to group or identify field components?Import and use strike componentsOn change of designer attribute, init() handler is called againUnable to update namespace of custom labels in managed package






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















While reading documentation for the lightning:input aura component, I noticed that some attributes default to $Label.LightningControl.activeCapitalized or $Label.LightningControl.inactiveCapitalized.



So what are this LightningControl lables? Can I use them in my code, or should I? If yes, where can I this list of LightningControl labels in the system?










share|improve this question




























    1















    While reading documentation for the lightning:input aura component, I noticed that some attributes default to $Label.LightningControl.activeCapitalized or $Label.LightningControl.inactiveCapitalized.



    So what are this LightningControl lables? Can I use them in my code, or should I? If yes, where can I this list of LightningControl labels in the system?










    share|improve this question
























      1












      1








      1








      While reading documentation for the lightning:input aura component, I noticed that some attributes default to $Label.LightningControl.activeCapitalized or $Label.LightningControl.inactiveCapitalized.



      So what are this LightningControl lables? Can I use them in my code, or should I? If yes, where can I this list of LightningControl labels in the system?










      share|improve this question














      While reading documentation for the lightning:input aura component, I noticed that some attributes default to $Label.LightningControl.activeCapitalized or $Label.LightningControl.inactiveCapitalized.



      So what are this LightningControl lables? Can I use them in my code, or should I? If yes, where can I this list of LightningControl labels in the system?







      lightning-aura-components customlabel






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked May 23 at 8:32









      EduardEduard

      1,9772826




      1,9772826




















          1 Answer
          1






          active

          oldest

          votes


















          2














          This is interesting, Normal syntax of the accesing custom label is
          $Label.Namespace.LabelName' . So this impliesLightningControl` is an internal namespace used by the lightning team to default a few values here and there.



          This namespace reminds me of this error which I faced, a few years back. $Label.LightningControl.required does not exist



          A custom label should be universally available, I tried accessing it in apex:
          System.debug(System.label.LightningControl.activeCapitalized); which gave me compile time error.



          and in VF as !$Label.LightningControl.activeCapitalized which again gave me compile time error.



          Also what other possible values can there be for this LightningControl namespace,
          I tried running this query in Developer Console using tooling Api.



          SELECT ID , Name , Value , namespaceprefix FROM CUSTOMLABEL where namespaceprefix = 'LightningControl'



          This returned zero results, which implies salesforce doesn't want us to use labels in this namespace outside lightning aura components.



          Can I use them in my code?
          I can confirm you can use them in Lightning Aura components, but not in VF and apex



          Should I use them?
          I would consider them like namespace labels which you get by installing any appexchange package. The thing about them is they are upgradable. So salesforce can upgrade/update the custom lable by putting any patch and it might start breaking your UI /logic. I would not personally use them, unless salesforce explicity documents it.






          share|improve this answer























            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
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsalesforce.stackexchange.com%2fquestions%2f263426%2fcan-i-use-label-lightningcontrol-in-my-components%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            2














            This is interesting, Normal syntax of the accesing custom label is
            $Label.Namespace.LabelName' . So this impliesLightningControl` is an internal namespace used by the lightning team to default a few values here and there.



            This namespace reminds me of this error which I faced, a few years back. $Label.LightningControl.required does not exist



            A custom label should be universally available, I tried accessing it in apex:
            System.debug(System.label.LightningControl.activeCapitalized); which gave me compile time error.



            and in VF as !$Label.LightningControl.activeCapitalized which again gave me compile time error.



            Also what other possible values can there be for this LightningControl namespace,
            I tried running this query in Developer Console using tooling Api.



            SELECT ID , Name , Value , namespaceprefix FROM CUSTOMLABEL where namespaceprefix = 'LightningControl'



            This returned zero results, which implies salesforce doesn't want us to use labels in this namespace outside lightning aura components.



            Can I use them in my code?
            I can confirm you can use them in Lightning Aura components, but not in VF and apex



            Should I use them?
            I would consider them like namespace labels which you get by installing any appexchange package. The thing about them is they are upgradable. So salesforce can upgrade/update the custom lable by putting any patch and it might start breaking your UI /logic. I would not personally use them, unless salesforce explicity documents it.






            share|improve this answer



























              2














              This is interesting, Normal syntax of the accesing custom label is
              $Label.Namespace.LabelName' . So this impliesLightningControl` is an internal namespace used by the lightning team to default a few values here and there.



              This namespace reminds me of this error which I faced, a few years back. $Label.LightningControl.required does not exist



              A custom label should be universally available, I tried accessing it in apex:
              System.debug(System.label.LightningControl.activeCapitalized); which gave me compile time error.



              and in VF as !$Label.LightningControl.activeCapitalized which again gave me compile time error.



              Also what other possible values can there be for this LightningControl namespace,
              I tried running this query in Developer Console using tooling Api.



              SELECT ID , Name , Value , namespaceprefix FROM CUSTOMLABEL where namespaceprefix = 'LightningControl'



              This returned zero results, which implies salesforce doesn't want us to use labels in this namespace outside lightning aura components.



              Can I use them in my code?
              I can confirm you can use them in Lightning Aura components, but not in VF and apex



              Should I use them?
              I would consider them like namespace labels which you get by installing any appexchange package. The thing about them is they are upgradable. So salesforce can upgrade/update the custom lable by putting any patch and it might start breaking your UI /logic. I would not personally use them, unless salesforce explicity documents it.






              share|improve this answer

























                2












                2








                2







                This is interesting, Normal syntax of the accesing custom label is
                $Label.Namespace.LabelName' . So this impliesLightningControl` is an internal namespace used by the lightning team to default a few values here and there.



                This namespace reminds me of this error which I faced, a few years back. $Label.LightningControl.required does not exist



                A custom label should be universally available, I tried accessing it in apex:
                System.debug(System.label.LightningControl.activeCapitalized); which gave me compile time error.



                and in VF as !$Label.LightningControl.activeCapitalized which again gave me compile time error.



                Also what other possible values can there be for this LightningControl namespace,
                I tried running this query in Developer Console using tooling Api.



                SELECT ID , Name , Value , namespaceprefix FROM CUSTOMLABEL where namespaceprefix = 'LightningControl'



                This returned zero results, which implies salesforce doesn't want us to use labels in this namespace outside lightning aura components.



                Can I use them in my code?
                I can confirm you can use them in Lightning Aura components, but not in VF and apex



                Should I use them?
                I would consider them like namespace labels which you get by installing any appexchange package. The thing about them is they are upgradable. So salesforce can upgrade/update the custom lable by putting any patch and it might start breaking your UI /logic. I would not personally use them, unless salesforce explicity documents it.






                share|improve this answer













                This is interesting, Normal syntax of the accesing custom label is
                $Label.Namespace.LabelName' . So this impliesLightningControl` is an internal namespace used by the lightning team to default a few values here and there.



                This namespace reminds me of this error which I faced, a few years back. $Label.LightningControl.required does not exist



                A custom label should be universally available, I tried accessing it in apex:
                System.debug(System.label.LightningControl.activeCapitalized); which gave me compile time error.



                and in VF as !$Label.LightningControl.activeCapitalized which again gave me compile time error.



                Also what other possible values can there be for this LightningControl namespace,
                I tried running this query in Developer Console using tooling Api.



                SELECT ID , Name , Value , namespaceprefix FROM CUSTOMLABEL where namespaceprefix = 'LightningControl'



                This returned zero results, which implies salesforce doesn't want us to use labels in this namespace outside lightning aura components.



                Can I use them in my code?
                I can confirm you can use them in Lightning Aura components, but not in VF and apex



                Should I use them?
                I would consider them like namespace labels which you get by installing any appexchange package. The thing about them is they are upgradable. So salesforce can upgrade/update the custom lable by putting any patch and it might start breaking your UI /logic. I would not personally use them, unless salesforce explicity documents it.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered May 23 at 9:09









                Pranay JaiswalPranay Jaiswal

                19.8k53266




                19.8k53266



























                    draft saved

                    draft discarded
















































                    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.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsalesforce.stackexchange.com%2fquestions%2f263426%2fcan-i-use-label-lightningcontrol-in-my-components%23new-answer', 'question_page');

                    );

                    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







                    Popular posts from this blog

                    Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

                    Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

                    Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form