Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New LWC not available in app/experience builder after experimental deploy #2302

Closed
ringdal opened this issue Jun 30, 2020 · 3 comments
Closed

Comments

@ringdal
Copy link

ringdal commented Jun 30, 2020

Summary

New lightning web components deployed using the experimental deploy option are not listed in the lightning app builder component list or in experience builder.

Steps To Reproduce:

  1. Enable Experimental: Deploy Retrieve option in vscode
  2. Create a new lightning web component locally
  3. Right-click "deploy this source to org" and deploy to a sandbox or production org
  4. Open the component tab in Lightning App Builder while editing a page referenced in targets.

Expected result

The new component should be visible under Custom Components

Actual result

The component is not visible

Additional information

By downloading the component from the sandbox to another development computer, and redeploying the exact code without the experimental flag, the component appears. Disabling the flag and redeploying also works. Editing existing components with the experimental flag works fine.

Feel free to attach a screenshot.

VS Code Version: 1.46.1

SFDX CLI Version: sfdx-cli/7.63.0

OS and version: Tested on both Windows 10 20.04 and Ubuntu 20.04 (wsl)

@smaddox-sf
Copy link
Contributor

Hi @ringdal - Thanks for logging this. I'm glad you are unblocked. We'll investigate this to get it resolved.

And thank you for trying out the performance enhancements!

@git2gus
Copy link

git2gus bot commented Jun 30, 2020

This issue has been linked to a new work item: W-7763296

@sfsholden
Copy link
Contributor

Closing - this no longer appears to be an issue.

  1. Created a Lightning Web Component locally.
  2. Added the following values to the .js-meta.xml file:
    <isExposed>true</isExposed> <targets> <target>lightning__AppPage</target> <target>lightning__RecordPage</target> <target>lightning__HomePage</target> </targets>
  3. Deployed with Experimental: Deploy Retrieve enabled.
  4. Confirmed that the new component was available within the Lightning App Builder.
    LightningAppBuilder_CustomComponents

Please let us know if this issue persists. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants