Lightning Web Components - Not available in app builder2019 Community Moderator Electiondesign:attribute on Locked Developer Controlled Package upgradeWhat are Lightning Web ComponentsLightning web components issue with SFDX push and pullLightning Web Component available in Community BuilderLightning Web Components Easy Spaces sample application LWC component codeNot being able to access previous Developer Edition Account after creating and logging in to the new pre-release editionSLDS classes on (new) base Lightning web components don't workHow to delete a Lightning Web Component?Lightning Web Component error : afterRender threw an error in 'c:bearList' [e[Ei] is not a function]Error when adding different Lightning Web Components to the Playground

What is difference between behavior and behaviour

What would be the benefits of having both a state and local currencies?

Is exact Kanji stroke length important?

Your magic is very sketchy

Products and sum of cubes in Fibonacci

when is out of tune ok?

What's a natural way to say that someone works somewhere (for a job)?

Generic lambda vs generic function give different behaviour

Is there an Impartial Brexit Deal comparison site?

Can I use my Chinese passport to enter China after I acquired another citizenship?

Print name if parameter passed to function

Confused about a passage in Harry Potter y la piedra filosofal

Mapping a list into a phase plot

What to do with wrong results in talks?

Is it correct to write "is not focus on"?

What is the term when two people sing in harmony, but they aren't singing the same notes?

Have I saved too much for retirement so far?

Why are on-board computers allowed to change controls without notifying the pilots?

Can a monster with multiattack use this ability if they are missing a limb?

Why "be dealt cards" rather than "be dealing cards"?

What is the opposite of 'gravitas'?

Valid Badminton Score?

Why Were Madagascar and New Zealand Discovered So Late?

How could Frankenstein get the parts for his _second_ creature?



Lightning Web Components - Not available in app builder



2019 Community Moderator Electiondesign:attribute on Locked Developer Controlled Package upgradeWhat are Lightning Web ComponentsLightning web components issue with SFDX push and pullLightning Web Component available in Community BuilderLightning Web Components Easy Spaces sample application LWC component codeNot being able to access previous Developer Edition Account after creating and logging in to the new pre-release editionSLDS classes on (new) base Lightning web components don't workHow to delete a Lightning Web Component?Lightning Web Component error : afterRender threw an error in 'c:bearList' [e[Ei] is not a function]Error when adding different Lightning Web Components to the Playground










1















I'm developing a lightning web component with org based development and I'm finding that the component isn't available in the app builder, despite (as far as I can tell) making it available in the component definition. I've attempted this with a my own component and also directly copying the "HelloWorld" Lightning component in this trailhead:



Create a Hello World Lightning Web Component



My component is pretty simple, and I'd like it to be available on the Contact record page. Here is the config on that component:



 <?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata" fqn="contact_CRSProfileLayout">
<apiVersion>45.0</apiVersion>
<description>Use this component to display the fields from this person's related CRS Profile</description>
<masterLabel>CRS Profile</masterLabel>
<isExposed>true</isExposed>
<targets>
<target>lightning__RecordPage</target>
</targets>
<targetConfigs>
<targetConfig targets="lightning__RecordPage">
<objects>
<object>Contact</object>
</objects>
</targetConfig>
</targetConfigs>
</LightningComponentBundle>


I've deployed the components into my sandbox from Visual Studio Code using the "SFDX: Deploy Source to Org" command and I can see that the lighting web components are in the sandbox when I navigate to them in the admin interface (I can't confirm that they exactly match what I'm seeing in Source, but I can see the timestamp of their update is correct).



Successful deployment



However, neither of them are appearing in the ap builder. I would expect both to appear on a record page app builder and the hellowWorld component only to appear on a home page Lightning Page.



enter image description here



Are there general troubleshooting steps I should be taking?










share|improve this question




























    1















    I'm developing a lightning web component with org based development and I'm finding that the component isn't available in the app builder, despite (as far as I can tell) making it available in the component definition. I've attempted this with a my own component and also directly copying the "HelloWorld" Lightning component in this trailhead:



    Create a Hello World Lightning Web Component



    My component is pretty simple, and I'd like it to be available on the Contact record page. Here is the config on that component:



     <?xml version="1.0" encoding="UTF-8"?>
    <LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata" fqn="contact_CRSProfileLayout">
    <apiVersion>45.0</apiVersion>
    <description>Use this component to display the fields from this person's related CRS Profile</description>
    <masterLabel>CRS Profile</masterLabel>
    <isExposed>true</isExposed>
    <targets>
    <target>lightning__RecordPage</target>
    </targets>
    <targetConfigs>
    <targetConfig targets="lightning__RecordPage">
    <objects>
    <object>Contact</object>
    </objects>
    </targetConfig>
    </targetConfigs>
    </LightningComponentBundle>


    I've deployed the components into my sandbox from Visual Studio Code using the "SFDX: Deploy Source to Org" command and I can see that the lighting web components are in the sandbox when I navigate to them in the admin interface (I can't confirm that they exactly match what I'm seeing in Source, but I can see the timestamp of their update is correct).



    Successful deployment



    However, neither of them are appearing in the ap builder. I would expect both to appear on a record page app builder and the hellowWorld component only to appear on a home page Lightning Page.



    enter image description here



    Are there general troubleshooting steps I should be taking?










    share|improve this question


























      1












      1








      1








      I'm developing a lightning web component with org based development and I'm finding that the component isn't available in the app builder, despite (as far as I can tell) making it available in the component definition. I've attempted this with a my own component and also directly copying the "HelloWorld" Lightning component in this trailhead:



      Create a Hello World Lightning Web Component



      My component is pretty simple, and I'd like it to be available on the Contact record page. Here is the config on that component:



       <?xml version="1.0" encoding="UTF-8"?>
      <LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata" fqn="contact_CRSProfileLayout">
      <apiVersion>45.0</apiVersion>
      <description>Use this component to display the fields from this person's related CRS Profile</description>
      <masterLabel>CRS Profile</masterLabel>
      <isExposed>true</isExposed>
      <targets>
      <target>lightning__RecordPage</target>
      </targets>
      <targetConfigs>
      <targetConfig targets="lightning__RecordPage">
      <objects>
      <object>Contact</object>
      </objects>
      </targetConfig>
      </targetConfigs>
      </LightningComponentBundle>


      I've deployed the components into my sandbox from Visual Studio Code using the "SFDX: Deploy Source to Org" command and I can see that the lighting web components are in the sandbox when I navigate to them in the admin interface (I can't confirm that they exactly match what I'm seeing in Source, but I can see the timestamp of their update is correct).



      Successful deployment



      However, neither of them are appearing in the ap builder. I would expect both to appear on a record page app builder and the hellowWorld component only to appear on a home page Lightning Page.



      enter image description here



      Are there general troubleshooting steps I should be taking?










      share|improve this question
















      I'm developing a lightning web component with org based development and I'm finding that the component isn't available in the app builder, despite (as far as I can tell) making it available in the component definition. I've attempted this with a my own component and also directly copying the "HelloWorld" Lightning component in this trailhead:



      Create a Hello World Lightning Web Component



      My component is pretty simple, and I'd like it to be available on the Contact record page. Here is the config on that component:



       <?xml version="1.0" encoding="UTF-8"?>
      <LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata" fqn="contact_CRSProfileLayout">
      <apiVersion>45.0</apiVersion>
      <description>Use this component to display the fields from this person's related CRS Profile</description>
      <masterLabel>CRS Profile</masterLabel>
      <isExposed>true</isExposed>
      <targets>
      <target>lightning__RecordPage</target>
      </targets>
      <targetConfigs>
      <targetConfig targets="lightning__RecordPage">
      <objects>
      <object>Contact</object>
      </objects>
      </targetConfig>
      </targetConfigs>
      </LightningComponentBundle>


      I've deployed the components into my sandbox from Visual Studio Code using the "SFDX: Deploy Source to Org" command and I can see that the lighting web components are in the sandbox when I navigate to them in the admin interface (I can't confirm that they exactly match what I'm seeing in Source, but I can see the timestamp of their update is correct).



      Successful deployment



      However, neither of them are appearing in the ap builder. I would expect both to appear on a record page app builder and the hellowWorld component only to appear on a home page Lightning Page.



      enter image description here



      Are there general troubleshooting steps I should be taking?







      salesforcedx lightning-web-components






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited yesterday









      Marcell Csiszár

      33




      33










      asked yesterday









      BigearsBigears

      393122




      393122




















          2 Answers
          2






          active

          oldest

          votes


















          6














          You currently have the isExposed attribute set to false, it needs to be set to true for the component to be available on the targeted pages and app builder.



          <isExposed>true</isExposed> 


          By definition:




          isExposed



          A Boolean value. Exposes the component in all orgs, and in Lightning App Builder and Community Builder







          share|improve this answer

























          • Unfortunately, I'd already tried that (and the helloWorld component was set to Exposed = true. Unfortunately, this hasn't made any difference. I've made the change in the original question so it's clearer.

            – Bigears
            yesterday











          • Did you redeploy the configuration file after making the change?

            – Jayant Das
            yesterday











          • Thank you for checking, but yes - I'm clicking "SFDX: deploy Source to Org" after every change, just to see.

            – Bigears
            yesterday











          • You have few different components mentioned in your question and that your original question was updated. I will recommend to start with one of the components say hello world and try to update the attribute and see if that works. There’s no other attribute which makes the component available in app builder.

            – Jayant Das
            yesterday











          • Additionally just to make sure that the deployment was successful, check for message ended with exit code 0 to make sure the deployment was indeed successful.

            – Jayant Das
            yesterday


















          1














          The issue wasn't the deploy, it was me - I'm inexperienced with Visual Studio Code.



          I wasn't following the correct order of actions. The local save wasn't happening, so I was repeatedly deploying a "blank" component to the server.



          I've ensured that the local save is happening and the components are now showing up as expected.






          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%2f255160%2flightning-web-components-not-available-in-app-builder%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









            6














            You currently have the isExposed attribute set to false, it needs to be set to true for the component to be available on the targeted pages and app builder.



            <isExposed>true</isExposed> 


            By definition:




            isExposed



            A Boolean value. Exposes the component in all orgs, and in Lightning App Builder and Community Builder







            share|improve this answer

























            • Unfortunately, I'd already tried that (and the helloWorld component was set to Exposed = true. Unfortunately, this hasn't made any difference. I've made the change in the original question so it's clearer.

              – Bigears
              yesterday











            • Did you redeploy the configuration file after making the change?

              – Jayant Das
              yesterday











            • Thank you for checking, but yes - I'm clicking "SFDX: deploy Source to Org" after every change, just to see.

              – Bigears
              yesterday











            • You have few different components mentioned in your question and that your original question was updated. I will recommend to start with one of the components say hello world and try to update the attribute and see if that works. There’s no other attribute which makes the component available in app builder.

              – Jayant Das
              yesterday











            • Additionally just to make sure that the deployment was successful, check for message ended with exit code 0 to make sure the deployment was indeed successful.

              – Jayant Das
              yesterday















            6














            You currently have the isExposed attribute set to false, it needs to be set to true for the component to be available on the targeted pages and app builder.



            <isExposed>true</isExposed> 


            By definition:




            isExposed



            A Boolean value. Exposes the component in all orgs, and in Lightning App Builder and Community Builder







            share|improve this answer

























            • Unfortunately, I'd already tried that (and the helloWorld component was set to Exposed = true. Unfortunately, this hasn't made any difference. I've made the change in the original question so it's clearer.

              – Bigears
              yesterday











            • Did you redeploy the configuration file after making the change?

              – Jayant Das
              yesterday











            • Thank you for checking, but yes - I'm clicking "SFDX: deploy Source to Org" after every change, just to see.

              – Bigears
              yesterday











            • You have few different components mentioned in your question and that your original question was updated. I will recommend to start with one of the components say hello world and try to update the attribute and see if that works. There’s no other attribute which makes the component available in app builder.

              – Jayant Das
              yesterday











            • Additionally just to make sure that the deployment was successful, check for message ended with exit code 0 to make sure the deployment was indeed successful.

              – Jayant Das
              yesterday













            6












            6








            6







            You currently have the isExposed attribute set to false, it needs to be set to true for the component to be available on the targeted pages and app builder.



            <isExposed>true</isExposed> 


            By definition:




            isExposed



            A Boolean value. Exposes the component in all orgs, and in Lightning App Builder and Community Builder







            share|improve this answer















            You currently have the isExposed attribute set to false, it needs to be set to true for the component to be available on the targeted pages and app builder.



            <isExposed>true</isExposed> 


            By definition:




            isExposed



            A Boolean value. Exposes the component in all orgs, and in Lightning App Builder and Community Builder








            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited yesterday

























            answered yesterday









            Jayant DasJayant Das

            17.2k21330




            17.2k21330












            • Unfortunately, I'd already tried that (and the helloWorld component was set to Exposed = true. Unfortunately, this hasn't made any difference. I've made the change in the original question so it's clearer.

              – Bigears
              yesterday











            • Did you redeploy the configuration file after making the change?

              – Jayant Das
              yesterday











            • Thank you for checking, but yes - I'm clicking "SFDX: deploy Source to Org" after every change, just to see.

              – Bigears
              yesterday











            • You have few different components mentioned in your question and that your original question was updated. I will recommend to start with one of the components say hello world and try to update the attribute and see if that works. There’s no other attribute which makes the component available in app builder.

              – Jayant Das
              yesterday











            • Additionally just to make sure that the deployment was successful, check for message ended with exit code 0 to make sure the deployment was indeed successful.

              – Jayant Das
              yesterday

















            • Unfortunately, I'd already tried that (and the helloWorld component was set to Exposed = true. Unfortunately, this hasn't made any difference. I've made the change in the original question so it's clearer.

              – Bigears
              yesterday











            • Did you redeploy the configuration file after making the change?

              – Jayant Das
              yesterday











            • Thank you for checking, but yes - I'm clicking "SFDX: deploy Source to Org" after every change, just to see.

              – Bigears
              yesterday











            • You have few different components mentioned in your question and that your original question was updated. I will recommend to start with one of the components say hello world and try to update the attribute and see if that works. There’s no other attribute which makes the component available in app builder.

              – Jayant Das
              yesterday











            • Additionally just to make sure that the deployment was successful, check for message ended with exit code 0 to make sure the deployment was indeed successful.

              – Jayant Das
              yesterday
















            Unfortunately, I'd already tried that (and the helloWorld component was set to Exposed = true. Unfortunately, this hasn't made any difference. I've made the change in the original question so it's clearer.

            – Bigears
            yesterday





            Unfortunately, I'd already tried that (and the helloWorld component was set to Exposed = true. Unfortunately, this hasn't made any difference. I've made the change in the original question so it's clearer.

            – Bigears
            yesterday













            Did you redeploy the configuration file after making the change?

            – Jayant Das
            yesterday





            Did you redeploy the configuration file after making the change?

            – Jayant Das
            yesterday













            Thank you for checking, but yes - I'm clicking "SFDX: deploy Source to Org" after every change, just to see.

            – Bigears
            yesterday





            Thank you for checking, but yes - I'm clicking "SFDX: deploy Source to Org" after every change, just to see.

            – Bigears
            yesterday













            You have few different components mentioned in your question and that your original question was updated. I will recommend to start with one of the components say hello world and try to update the attribute and see if that works. There’s no other attribute which makes the component available in app builder.

            – Jayant Das
            yesterday





            You have few different components mentioned in your question and that your original question was updated. I will recommend to start with one of the components say hello world and try to update the attribute and see if that works. There’s no other attribute which makes the component available in app builder.

            – Jayant Das
            yesterday













            Additionally just to make sure that the deployment was successful, check for message ended with exit code 0 to make sure the deployment was indeed successful.

            – Jayant Das
            yesterday





            Additionally just to make sure that the deployment was successful, check for message ended with exit code 0 to make sure the deployment was indeed successful.

            – Jayant Das
            yesterday













            1














            The issue wasn't the deploy, it was me - I'm inexperienced with Visual Studio Code.



            I wasn't following the correct order of actions. The local save wasn't happening, so I was repeatedly deploying a "blank" component to the server.



            I've ensured that the local save is happening and the components are now showing up as expected.






            share|improve this answer



























              1














              The issue wasn't the deploy, it was me - I'm inexperienced with Visual Studio Code.



              I wasn't following the correct order of actions. The local save wasn't happening, so I was repeatedly deploying a "blank" component to the server.



              I've ensured that the local save is happening and the components are now showing up as expected.






              share|improve this answer

























                1












                1








                1







                The issue wasn't the deploy, it was me - I'm inexperienced with Visual Studio Code.



                I wasn't following the correct order of actions. The local save wasn't happening, so I was repeatedly deploying a "blank" component to the server.



                I've ensured that the local save is happening and the components are now showing up as expected.






                share|improve this answer













                The issue wasn't the deploy, it was me - I'm inexperienced with Visual Studio Code.



                I wasn't following the correct order of actions. The local save wasn't happening, so I was repeatedly deploying a "blank" component to the server.



                I've ensured that the local save is happening and the components are now showing up as expected.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered yesterday









                BigearsBigears

                393122




                393122



























                    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%2f255160%2flightning-web-components-not-available-in-app-builder%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







                    -lightning-web-components, salesforcedx

                    Popular posts from this blog

                    Frič See also Navigation menuinternal link

                    Identify plant with long narrow paired leaves and reddish stems Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?What is this plant with long sharp leaves? Is it a weed?What is this 3ft high, stalky plant, with mid sized narrow leaves?What is this young shrub with opposite ovate, crenate leaves and reddish stems?What is this plant with large broad serrated leaves?Identify this upright branching weed with long leaves and reddish stemsPlease help me identify this bulbous plant with long, broad leaves and white flowersWhat is this small annual with narrow gray/green leaves and rust colored daisy-type flowers?What is this chilli plant?Does anyone know what type of chilli plant this is?Help identify this plant

                    fontconfig warning: “/etc/fonts/fonts.conf”, line 100: unknown “element blank” The 2019 Stack Overflow Developer Survey Results Are In“tar: unrecognized option --warning” during 'apt-get install'How to fix Fontconfig errorHow do I figure out which font file is chosen for a system generic font alias?Why are some apt-get-installed fonts being ignored by fc-list, xfontsel, etc?Reload settings in /etc/fonts/conf.dTaking 30 seconds longer to boot after upgrade from jessie to stretchHow to match multiple font names with a single <match> element?Adding a custom font to fontconfigRemoving fonts from fontconfig <match> resultsBroken fonts after upgrading Firefox ESR to latest Firefox