https://github.com/vignaesh01/sfdx-package-generator
Salesforce Package.xml Generator Extension for VS Code
https://github.com/vignaesh01/sfdx-package-generator
salesforce-cli salesforce-dx salesforce-dx-cli salesforce-metadata sfdx vscode vscode-extension
Last synced: 6 months ago
JSON representation
Salesforce Package.xml Generator Extension for VS Code
- Host: GitHub
- URL: https://github.com/vignaesh01/sfdx-package-generator
- Owner: vignaesh01
- License: other
- Created: 2019-05-08T19:50:28.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-12-21T14:47:37.000Z (over 1 year ago)
- Last Synced: 2024-12-21T15:31:03.205Z (over 1 year ago)
- Topics: salesforce-cli, salesforce-dx, salesforce-dx-cli, salesforce-metadata, sfdx, vscode, vscode-extension
- Language: JavaScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=VignaeshRamA.sfdx-package-xml-generator
- Size: 13.4 MB
- Stars: 65
- Watchers: 7
- Forks: 34
- Open Issues: 79
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Salesforce Package.xml Generator Extension for VS Code
This extension provides a User Interface to choose metadata components for Package.xml file for development against sandboxes or DE orgs (Org Development Model with VS Code). This is similar to Eclipse Force.com IDE Add/Remove Metadata Components option.
## Prerequisites
Before you set up Salesforce Package.xml Generator Extension for VS Code, make sure that you have these essentials.
- Salesforce Extensions for Visual Studio Code
- Visual Studio Code v1.26 or later
## Screenshots


## How to use?
[Click to view the Youtube Video](https://youtu.be/uXwIMh8bK0A)
[](https://youtu.be/uXwIMh8bK0A)
- Setup your project using **SFDX: Create Project with Manifest** command and authorize it using **SFDX: Authorize an Org command**. Skip this step if already done.
For more details refer [Org Development Model with VS Code] (https://forcedotcom.github.io/salesforcedx-vscode/articles/user-guide/org-development-model).
- Open the command palette (press Ctrl+Shift+P on Windows or Linux, or Cmd+Shift+P on macOS) and run **SFDX Package.xml Generator: Choose Metadata Components** command.
- In Choose Metadata Components for Package.xml page, select the Metadata you need and click on **Update Package.xml** button.
- Package.xml file opens up with the selected metadata components.
- Open the command palette (press Ctrl+Shift+P on Windows or Linux, or Cmd+Shift+P on macOS) and run **SFDX: Retrieve Source in Manifest from Org**
- **Select All** button selects all the metadata components except Reports, Dashboards, Email Templates and Documents.
- If you don't want to modify the existing package.xml file & only want the generated xml content, click on **Copy to Clipboard** button. This copies the formatted package.xml contents to clipboard which can be pasted somewhere else.