How can we expose a lightning web component on a Mobile app?












1















As lightning web component do not support currently (spring 19) in lightning out. How would one expose the component On a native mobile device? Is it possible?










share|improve this question



























    1















    As lightning web component do not support currently (spring 19) in lightning out. How would one expose the component On a native mobile device? Is it possible?










    share|improve this question

























      1












      1








      1








      As lightning web component do not support currently (spring 19) in lightning out. How would one expose the component On a native mobile device? Is it possible?










      share|improve this question














      As lightning web component do not support currently (spring 19) in lightning out. How would one expose the component On a native mobile device? Is it possible?







      lightning-web-components






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 17 at 9:05









      sfdx bombsfdx bomb

      714715




      714715






















          1 Answer
          1






          active

          oldest

          votes


















          2














          You can use your Lightning Web Component in mobile app too. The < component >.js-meta.xml file defines the metadata values for the component, including the design configuration for components intended for use in Lightning App Builder. Edit the configuration file to:




          • Make your component usable in Lightning App Builder and in managed
            packages.

          • Define what types of Lightning pages your component can be used on.

          • Configure your component’s properties.

          • Set your component’s supported objects.



          <?xml version="1.0" encoding="UTF-8"?>
          <LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
          <apiVersion>45.0</apiVersion>
          <isExposed>true</isExposed>
          <masterLabel>Best Component Ever</masterLabel>
          <description>This is a demo component.</description>
          <targets>
          <target>lightning__RecordPage</target>
          <target>lightning__AppPage</target>
          <target>lightning__HomePage</target>
          </targets></LightningComponentBundle>



          Including the above code in meta file will expose your component to App pages, home pages and record pages. You can use app pages in your mobile app.



          Read more here :-Use Components in Salesforce Experiences



          It will tell you how to use Lightning web components in different containers, including Lightning Experience, the Salesforce mobile app, and Lightning communities.






          share|improve this answer
























          • Are you saying that lwc would be wrapped with aura Component then placed on a lightning page and added as a tab to Salesforce mobile app would work ? Would it be possible then to expose it this way via lightning out app then? I guess I need to expirment it but if someone have tried would save some time..

            – sfdx bomb
            Mar 17 at 20:59












          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%2f254172%2fhow-can-we-expose-a-lightning-web-component-on-a-mobile-app%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














          You can use your Lightning Web Component in mobile app too. The < component >.js-meta.xml file defines the metadata values for the component, including the design configuration for components intended for use in Lightning App Builder. Edit the configuration file to:




          • Make your component usable in Lightning App Builder and in managed
            packages.

          • Define what types of Lightning pages your component can be used on.

          • Configure your component’s properties.

          • Set your component’s supported objects.



          <?xml version="1.0" encoding="UTF-8"?>
          <LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
          <apiVersion>45.0</apiVersion>
          <isExposed>true</isExposed>
          <masterLabel>Best Component Ever</masterLabel>
          <description>This is a demo component.</description>
          <targets>
          <target>lightning__RecordPage</target>
          <target>lightning__AppPage</target>
          <target>lightning__HomePage</target>
          </targets></LightningComponentBundle>



          Including the above code in meta file will expose your component to App pages, home pages and record pages. You can use app pages in your mobile app.



          Read more here :-Use Components in Salesforce Experiences



          It will tell you how to use Lightning web components in different containers, including Lightning Experience, the Salesforce mobile app, and Lightning communities.






          share|improve this answer
























          • Are you saying that lwc would be wrapped with aura Component then placed on a lightning page and added as a tab to Salesforce mobile app would work ? Would it be possible then to expose it this way via lightning out app then? I guess I need to expirment it but if someone have tried would save some time..

            – sfdx bomb
            Mar 17 at 20:59
















          2














          You can use your Lightning Web Component in mobile app too. The < component >.js-meta.xml file defines the metadata values for the component, including the design configuration for components intended for use in Lightning App Builder. Edit the configuration file to:




          • Make your component usable in Lightning App Builder and in managed
            packages.

          • Define what types of Lightning pages your component can be used on.

          • Configure your component’s properties.

          • Set your component’s supported objects.



          <?xml version="1.0" encoding="UTF-8"?>
          <LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
          <apiVersion>45.0</apiVersion>
          <isExposed>true</isExposed>
          <masterLabel>Best Component Ever</masterLabel>
          <description>This is a demo component.</description>
          <targets>
          <target>lightning__RecordPage</target>
          <target>lightning__AppPage</target>
          <target>lightning__HomePage</target>
          </targets></LightningComponentBundle>



          Including the above code in meta file will expose your component to App pages, home pages and record pages. You can use app pages in your mobile app.



          Read more here :-Use Components in Salesforce Experiences



          It will tell you how to use Lightning web components in different containers, including Lightning Experience, the Salesforce mobile app, and Lightning communities.






          share|improve this answer
























          • Are you saying that lwc would be wrapped with aura Component then placed on a lightning page and added as a tab to Salesforce mobile app would work ? Would it be possible then to expose it this way via lightning out app then? I guess I need to expirment it but if someone have tried would save some time..

            – sfdx bomb
            Mar 17 at 20:59














          2












          2








          2







          You can use your Lightning Web Component in mobile app too. The < component >.js-meta.xml file defines the metadata values for the component, including the design configuration for components intended for use in Lightning App Builder. Edit the configuration file to:




          • Make your component usable in Lightning App Builder and in managed
            packages.

          • Define what types of Lightning pages your component can be used on.

          • Configure your component’s properties.

          • Set your component’s supported objects.



          <?xml version="1.0" encoding="UTF-8"?>
          <LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
          <apiVersion>45.0</apiVersion>
          <isExposed>true</isExposed>
          <masterLabel>Best Component Ever</masterLabel>
          <description>This is a demo component.</description>
          <targets>
          <target>lightning__RecordPage</target>
          <target>lightning__AppPage</target>
          <target>lightning__HomePage</target>
          </targets></LightningComponentBundle>



          Including the above code in meta file will expose your component to App pages, home pages and record pages. You can use app pages in your mobile app.



          Read more here :-Use Components in Salesforce Experiences



          It will tell you how to use Lightning web components in different containers, including Lightning Experience, the Salesforce mobile app, and Lightning communities.






          share|improve this answer













          You can use your Lightning Web Component in mobile app too. The < component >.js-meta.xml file defines the metadata values for the component, including the design configuration for components intended for use in Lightning App Builder. Edit the configuration file to:




          • Make your component usable in Lightning App Builder and in managed
            packages.

          • Define what types of Lightning pages your component can be used on.

          • Configure your component’s properties.

          • Set your component’s supported objects.



          <?xml version="1.0" encoding="UTF-8"?>
          <LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
          <apiVersion>45.0</apiVersion>
          <isExposed>true</isExposed>
          <masterLabel>Best Component Ever</masterLabel>
          <description>This is a demo component.</description>
          <targets>
          <target>lightning__RecordPage</target>
          <target>lightning__AppPage</target>
          <target>lightning__HomePage</target>
          </targets></LightningComponentBundle>



          Including the above code in meta file will expose your component to App pages, home pages and record pages. You can use app pages in your mobile app.



          Read more here :-Use Components in Salesforce Experiences



          It will tell you how to use Lightning web components in different containers, including Lightning Experience, the Salesforce mobile app, and Lightning communities.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 17 at 11:54









          sanket kumarsanket kumar

          3,2782426




          3,2782426













          • Are you saying that lwc would be wrapped with aura Component then placed on a lightning page and added as a tab to Salesforce mobile app would work ? Would it be possible then to expose it this way via lightning out app then? I guess I need to expirment it but if someone have tried would save some time..

            – sfdx bomb
            Mar 17 at 20:59



















          • Are you saying that lwc would be wrapped with aura Component then placed on a lightning page and added as a tab to Salesforce mobile app would work ? Would it be possible then to expose it this way via lightning out app then? I guess I need to expirment it but if someone have tried would save some time..

            – sfdx bomb
            Mar 17 at 20:59

















          Are you saying that lwc would be wrapped with aura Component then placed on a lightning page and added as a tab to Salesforce mobile app would work ? Would it be possible then to expose it this way via lightning out app then? I guess I need to expirment it but if someone have tried would save some time..

          – sfdx bomb
          Mar 17 at 20:59





          Are you saying that lwc would be wrapped with aura Component then placed on a lightning page and added as a tab to Salesforce mobile app would work ? Would it be possible then to expose it this way via lightning out app then? I guess I need to expirment it but if someone have tried would save some time..

          – sfdx bomb
          Mar 17 at 20:59


















          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%2f254172%2fhow-can-we-expose-a-lightning-web-component-on-a-mobile-app%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

          數位音樂下載

          When can things happen in Etherscan, such as the picture below?

          格利澤436b