How to create a Lightning Web Component without Salesforce DX?Dynamic component creation in Lightning Web...
In American Politics, why is the Justice Department under the President?
Is all-caps blackletter no longer taboo?
Create a cube from identical 3D objects
Should I list a completely different profession in my technical resume?
When to use и or а as “and”?
Playing a trill with grace note ending
Professor Roman loves to teach unorthodox Chemistry
What does "lit." mean in boiling point or melting point specification?
Why does there seem to be an extreme lack of public trashcans in Taiwan?
one-hot-encoding categorical data gives error
How to make a composition of functions prettier?
As easy as Three, Two, One... How fast can you go from Five to Four?
ASCII Meme Arrow Generator
How to Handle Many Times Series Simultaneously?
A life of PhD: is it feasible?
That's not my X, its Y is too Z
Print "N NE E SE S SW W NW"
How (un)safe is it to ride barefoot?
How many sets of dice do I need for D&D?
Problem with pronounciation
How can I find out about the game world without meta-influencing it?
Does a single fopen introduce TOCTOU vulnerability?
What do I need to do, tax-wise, for a sudden windfall?
How to handle when PCs taste a potion that is actually poison?
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
6 hours ago
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 8 hours ago
Jayant Das
22.6k21434
22.6k21434
asked 8 hours ago
RozgonyiRozgonyi
259111
259111
There is an idea created for this.
– PasanE
6 hours ago
add a comment |
There is an idea created for this.
– PasanE
6 hours ago
There is an idea created for this.
– PasanE
6 hours ago
There is an idea created for this.
– PasanE
6 hours ago
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 you 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
8 hours ago
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 you 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
8 hours ago
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 you 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
8 hours ago
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 you 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 you 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
answered 8 hours ago
user1974566user1974566
1,368417
1,368417
+1. I was not aware of the Metadata API support already available.
– Jayant Das
8 hours ago
add a comment |
+1. I was not aware of the Metadata API support already available.
– Jayant Das
8 hours ago
+1. I was not aware of the Metadata API support already available.
– Jayant Das
8 hours ago
+1. I was not aware of the Metadata API support already available.
– Jayant Das
8 hours ago
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 8 hours ago
answered 8 hours ago
Jayant DasJayant Das
22.6k21434
22.6k21434
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 5 hours ago
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
6 hours ago