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

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

                    Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

                    Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?