How to create a Lightning Web Component without Salesforce DX?Dynamic component creation in Lightning Web ComponentsWhy Lightning Web Componentnot able to push lightning-web-component in salesforceSalesforce Lightning Web ComponentjsPDF and Salesforce Lightning Web ComponentLightning Web Component ComboboxLightning Web Component Push FailedLightning web component listen to Aura EventsLightning Web Component Custom SortingLightning Web Component - Sort table columns
Definition of 'vrit'
How is the idea of "girlfriend material" naturally expressed in Russian?
Print 'A' 1000 times with BrainFuck
"What is the maximum that Player 1 can win?"
reverse a call to mmap()
Syntax and semantics of XDV commands (XeTeX)
What is this plant I saw for sale at a Romanian farmer's market?
Why there is a red color in right side?
Why are there no file insertion syscalls
Would a 7805 5 V regulator drain a 9 V battery?
First occurrence in the Sixers sequence
Why things float in space, though there is always gravity of our star is present
No shading in ContourPlot3D
I have found ports on my Samsung smart tv running a display service. What can I do with it?
How to take photos with a yellowish tone and point-and-shoot film camera look?
Large-n limit of the distribution of the normalized sum of Cauchy random variables
My student in one course asks for paid tutoring in another course. Appropriate?
'No arbitrary choices' intuition for natural transformation.
Predict the product from the reaction
What is the "ls" directory in my home directory?
How to make all magic-casting innate, but still rare?
Why is it 出差去 and not 去出差?
What is this airplane that sits in front of Barringer High School in Newark, NJ?
Need help understanding the double sharp turn in Chopin's prelude in e minor
How to create a Lightning Web Component without Salesforce DX?
Dynamic component creation in Lightning Web ComponentsWhy Lightning Web Componentnot able to push lightning-web-component in salesforceSalesforce Lightning Web ComponentjsPDF and Salesforce Lightning Web ComponentLightning Web Component ComboboxLightning Web Component Push FailedLightning web component listen to Aura EventsLightning Web Component Custom SortingLightning Web Component - Sort table columns
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I want to create a Lightning Web Component (LWC) that be included in a managed package. Our current process uses SublimeText and Mavensmate (which I know is deprecated). We also use GitHub as our repository to move code and it is deployed using CircleCI. We don't want to re-do our entire set up because this LWC is only a small part of the larger package.
However, every tutorial I've seen for LWC uses SalesforceDX to set it up. Is there a way to create a LWC without SalesforceDX? I understand that Mavensmate doesn't support LWCs but are there other options? I'm even willing to use the Developer Console if needed.
lightning-web-components
add a comment |
I want to create a Lightning Web Component (LWC) that be included in a managed package. Our current process uses SublimeText and Mavensmate (which I know is deprecated). We also use GitHub as our repository to move code and it is deployed using CircleCI. We don't want to re-do our entire set up because this LWC is only a small part of the larger package.
However, every tutorial I've seen for LWC uses SalesforceDX to set it up. Is there a way to create a LWC without SalesforceDX? I understand that Mavensmate doesn't support LWCs but are there other options? I'm even willing to use the Developer Console if needed.
lightning-web-components
There is an idea created for this.
– PasanE
Jun 10 at 19:46
add a comment |
I want to create a Lightning Web Component (LWC) that be included in a managed package. Our current process uses SublimeText and Mavensmate (which I know is deprecated). We also use GitHub as our repository to move code and it is deployed using CircleCI. We don't want to re-do our entire set up because this LWC is only a small part of the larger package.
However, every tutorial I've seen for LWC uses SalesforceDX to set it up. Is there a way to create a LWC without SalesforceDX? I understand that Mavensmate doesn't support LWCs but are there other options? I'm even willing to use the Developer Console if needed.
lightning-web-components
I want to create a Lightning Web Component (LWC) that be included in a managed package. Our current process uses SublimeText and Mavensmate (which I know is deprecated). We also use GitHub as our repository to move code and it is deployed using CircleCI. We don't want to re-do our entire set up because this LWC is only a small part of the larger package.
However, every tutorial I've seen for LWC uses SalesforceDX to set it up. Is there a way to create a LWC without SalesforceDX? I understand that Mavensmate doesn't support LWCs but are there other options? I'm even willing to use the Developer Console if needed.
lightning-web-components
lightning-web-components
edited Jun 10 at 17:50
Jayant Das
22.9k21435
22.9k21435
asked Jun 10 at 17:05
RozgonyiRozgonyi
271111
271111
There is an idea created for this.
– PasanE
Jun 10 at 19:46
add a comment |
There is an idea created for this.
– PasanE
Jun 10 at 19:46
There is an idea created for this.
– PasanE
Jun 10 at 19:46
There is an idea created for this.
– PasanE
Jun 10 at 19:46
add a comment |
3 Answers
3
active
oldest
votes
You don't need SFDX at all (yes, even Salesforce CLI is not needed). It's fully supported by Metadata API.
Personally I'm using Illuminated Cloud plugin for deploying/retrieving LWCs but it's also possible to use Ant Migration Tool to do that (or other tool that's currently supporting deployments at API 45)
Add to yours package.xml:
<types>
<members>*</members>
<name>LightningComponentBundle</name>
</types>
Its available since API 45.
There is one limitation though as @Jayant Das mentioned. You cannot use Developer Console to create them.
Docs
+1. I was not aware of the Metadata API support already available.
– Jayant Das
Jun 10 at 17:46
Its good to know that its supported by the Metadata API. Our CircleCI uses the Ant Migration Tool and so I just used that to create it after adding those lines it to the page. I did end up use the Salesforce CLI just to get the proper directory structure.
– Rozgonyi
Jun 11 at 15:05
add a comment |
UPDATE:
Updated the answer to reflect Metadata API support for LWC.
You don't need the full fledged Salesforce DX here. To be able to use LWC, you can use the following.
Salesforce CLI. To be able to create projects, move components from sandbox to sandbox
Metadata API. If not using CLI, you can use this to move components from sandbox to sandbox- A code editor (preferably VS Code). You cannot use Developer Console to develop LWCs.
The following documentation provide more details on this topic:
Set Up Your Development Environment- Development Workflows
LightningComponentBundle Metadata API
add a comment |
I personally use VSCode. It is very easy to setup if you follow these steps to install it with all of the salesforce supported extensions https://forcedotcom.github.io/salesforcedx-vscode/articles/getting-started/install. Then, link your ORG(NOT scratch org, your sandbox or prod org) following these steps https://forcedotcom.github.io/salesforcedx-vscode/articles/getting-started/install
I hope this helps.
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsalesforce.stackexchange.com%2fquestions%2f265360%2fhow-to-create-a-lightning-web-component-without-salesforce-dx%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
You don't need SFDX at all (yes, even Salesforce CLI is not needed). It's fully supported by Metadata API.
Personally I'm using Illuminated Cloud plugin for deploying/retrieving LWCs but it's also possible to use Ant Migration Tool to do that (or other tool that's currently supporting deployments at API 45)
Add to yours package.xml:
<types>
<members>*</members>
<name>LightningComponentBundle</name>
</types>
Its available since API 45.
There is one limitation though as @Jayant Das mentioned. You cannot use Developer Console to create them.
Docs
+1. I was not aware of the Metadata API support already available.
– Jayant Das
Jun 10 at 17:46
Its good to know that its supported by the Metadata API. Our CircleCI uses the Ant Migration Tool and so I just used that to create it after adding those lines it to the page. I did end up use the Salesforce CLI just to get the proper directory structure.
– Rozgonyi
Jun 11 at 15:05
add a comment |
You don't need SFDX at all (yes, even Salesforce CLI is not needed). It's fully supported by Metadata API.
Personally I'm using Illuminated Cloud plugin for deploying/retrieving LWCs but it's also possible to use Ant Migration Tool to do that (or other tool that's currently supporting deployments at API 45)
Add to yours package.xml:
<types>
<members>*</members>
<name>LightningComponentBundle</name>
</types>
Its available since API 45.
There is one limitation though as @Jayant Das mentioned. You cannot use Developer Console to create them.
Docs
+1. I was not aware of the Metadata API support already available.
– Jayant Das
Jun 10 at 17:46
Its good to know that its supported by the Metadata API. Our CircleCI uses the Ant Migration Tool and so I just used that to create it after adding those lines it to the page. I did end up use the Salesforce CLI just to get the proper directory structure.
– Rozgonyi
Jun 11 at 15:05
add a comment |
You don't need SFDX at all (yes, even Salesforce CLI is not needed). It's fully supported by Metadata API.
Personally I'm using Illuminated Cloud plugin for deploying/retrieving LWCs but it's also possible to use Ant Migration Tool to do that (or other tool that's currently supporting deployments at API 45)
Add to yours package.xml:
<types>
<members>*</members>
<name>LightningComponentBundle</name>
</types>
Its available since API 45.
There is one limitation though as @Jayant Das mentioned. You cannot use Developer Console to create them.
Docs
You don't need SFDX at all (yes, even Salesforce CLI is not needed). It's fully supported by Metadata API.
Personally I'm using Illuminated Cloud plugin for deploying/retrieving LWCs but it's also possible to use Ant Migration Tool to do that (or other tool that's currently supporting deployments at API 45)
Add to yours package.xml:
<types>
<members>*</members>
<name>LightningComponentBundle</name>
</types>
Its available since API 45.
There is one limitation though as @Jayant Das mentioned. You cannot use Developer Console to create them.
Docs
edited Jun 11 at 19:08
answered Jun 10 at 17:39
user1974566user1974566
1,413417
1,413417
+1. I was not aware of the Metadata API support already available.
– Jayant Das
Jun 10 at 17:46
Its good to know that its supported by the Metadata API. Our CircleCI uses the Ant Migration Tool and so I just used that to create it after adding those lines it to the page. I did end up use the Salesforce CLI just to get the proper directory structure.
– Rozgonyi
Jun 11 at 15:05
add a comment |
+1. I was not aware of the Metadata API support already available.
– Jayant Das
Jun 10 at 17:46
Its good to know that its supported by the Metadata API. Our CircleCI uses the Ant Migration Tool and so I just used that to create it after adding those lines it to the page. I did end up use the Salesforce CLI just to get the proper directory structure.
– Rozgonyi
Jun 11 at 15:05
+1. I was not aware of the Metadata API support already available.
– Jayant Das
Jun 10 at 17:46
+1. I was not aware of the Metadata API support already available.
– Jayant Das
Jun 10 at 17:46
Its good to know that its supported by the Metadata API. Our CircleCI uses the Ant Migration Tool and so I just used that to create it after adding those lines it to the page. I did end up use the Salesforce CLI just to get the proper directory structure.
– Rozgonyi
Jun 11 at 15:05
Its good to know that its supported by the Metadata API. Our CircleCI uses the Ant Migration Tool and so I just used that to create it after adding those lines it to the page. I did end up use the Salesforce CLI just to get the proper directory structure.
– Rozgonyi
Jun 11 at 15:05
add a comment |
UPDATE:
Updated the answer to reflect Metadata API support for LWC.
You don't need the full fledged Salesforce DX here. To be able to use LWC, you can use the following.
Salesforce CLI. To be able to create projects, move components from sandbox to sandbox
Metadata API. If not using CLI, you can use this to move components from sandbox to sandbox- A code editor (preferably VS Code). You cannot use Developer Console to develop LWCs.
The following documentation provide more details on this topic:
Set Up Your Development Environment- Development Workflows
LightningComponentBundle Metadata API
add a comment |
UPDATE:
Updated the answer to reflect Metadata API support for LWC.
You don't need the full fledged Salesforce DX here. To be able to use LWC, you can use the following.
Salesforce CLI. To be able to create projects, move components from sandbox to sandbox
Metadata API. If not using CLI, you can use this to move components from sandbox to sandbox- A code editor (preferably VS Code). You cannot use Developer Console to develop LWCs.
The following documentation provide more details on this topic:
Set Up Your Development Environment- Development Workflows
LightningComponentBundle Metadata API
add a comment |
UPDATE:
Updated the answer to reflect Metadata API support for LWC.
You don't need the full fledged Salesforce DX here. To be able to use LWC, you can use the following.
Salesforce CLI. To be able to create projects, move components from sandbox to sandbox
Metadata API. If not using CLI, you can use this to move components from sandbox to sandbox- A code editor (preferably VS Code). You cannot use Developer Console to develop LWCs.
The following documentation provide more details on this topic:
Set Up Your Development Environment- Development Workflows
LightningComponentBundle Metadata API
UPDATE:
Updated the answer to reflect Metadata API support for LWC.
You don't need the full fledged Salesforce DX here. To be able to use LWC, you can use the following.
Salesforce CLI. To be able to create projects, move components from sandbox to sandbox
Metadata API. If not using CLI, you can use this to move components from sandbox to sandbox- A code editor (preferably VS Code). You cannot use Developer Console to develop LWCs.
The following documentation provide more details on this topic:
Set Up Your Development Environment- Development Workflows
LightningComponentBundle Metadata API
edited Jun 10 at 17:49
answered Jun 10 at 17:29
Jayant DasJayant Das
22.9k21435
22.9k21435
add a comment |
add a comment |
I personally use VSCode. It is very easy to setup if you follow these steps to install it with all of the salesforce supported extensions https://forcedotcom.github.io/salesforcedx-vscode/articles/getting-started/install. Then, link your ORG(NOT scratch org, your sandbox or prod org) following these steps https://forcedotcom.github.io/salesforcedx-vscode/articles/getting-started/install
I hope this helps.
add a comment |
I personally use VSCode. It is very easy to setup if you follow these steps to install it with all of the salesforce supported extensions https://forcedotcom.github.io/salesforcedx-vscode/articles/getting-started/install. Then, link your ORG(NOT scratch org, your sandbox or prod org) following these steps https://forcedotcom.github.io/salesforcedx-vscode/articles/getting-started/install
I hope this helps.
add a comment |
I personally use VSCode. It is very easy to setup if you follow these steps to install it with all of the salesforce supported extensions https://forcedotcom.github.io/salesforcedx-vscode/articles/getting-started/install. Then, link your ORG(NOT scratch org, your sandbox or prod org) following these steps https://forcedotcom.github.io/salesforcedx-vscode/articles/getting-started/install
I hope this helps.
I personally use VSCode. It is very easy to setup if you follow these steps to install it with all of the salesforce supported extensions https://forcedotcom.github.io/salesforcedx-vscode/articles/getting-started/install. Then, link your ORG(NOT scratch org, your sandbox or prod org) following these steps https://forcedotcom.github.io/salesforcedx-vscode/articles/getting-started/install
I hope this helps.
answered Jun 10 at 20:42
Lourdes MonteroLourdes Montero
8217
8217
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsalesforce.stackexchange.com%2fquestions%2f265360%2fhow-to-create-a-lightning-web-component-without-salesforce-dx%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
There is an idea created for this.
– PasanE
Jun 10 at 19:46