sf-deploy-viewer
v2.0.0
Published
π Salesforce Deployment Viewer - Visualize deployment results with a modern UI (SOAP API + XML support)
Maintainers
Readme
π sf-deploy-viewer
A modern CLI + Web UI tool to visualize Salesforce deployment results.
Supports:
- π Local XML files
- βοΈ Live Salesforce deployments via SOAP API
- π Beautiful dashboard with charts, filters, and grouping
β¨ Features
- π΄ Visualize failures with error grouping
- π’ Success deployments with component listing
- π© Donut charts (success vs errors)
- π Search + filtering
- π¦ Group by metadata type
- π€ Export failures to CSV
- π Dark / Light mode
- β‘ Works with Salesforce CLI (
sf)
Screenshot

π¦ Installation
npm install -g sf-deploy-viewerπ Usage
1οΈβ£ View Local Deployment XML
sf-deploy-viewer -i deploy.xml2οΈβ£ Fetch Live Deployment (SOAP API)
sf-deploy-viewer \
-o [email protected] \
--asyncProcessId 0AfAq00000gdhg33οΈβ£ Interactive Mode
sf-deploy-viewerPrompts:
Enter Salesforce username:
Enter Async Process Id:4οΈβ£ Export to CSV
Export deployment results to CSV instead of opening the web UI:
sf-deploy-viewer -o af102 --asyncProcessId 0Afg800032fVpu --csv /tmp/0Afg800032fVpu.csv
Output columns:
- Type (metadata type)
- Name (component name)
- Status (SUCCESS or FAILED)
- Problem (error message, if any)
- Line (line number, if applicable)
- Column (column number, if applicable)
π Requirements
- Node.js >= 16
- Salesforce CLI (
sf) installed and authenticated
sf org login webπ UI Features
Deployment Summary
- Status
- User
- Start / End Time
- Number of files
- Total size
Visualization
- Donut chart (success vs errors)
Failures
- Grouped by metadata type
- Line / Column details
- Search + filter
- Export to CSV
Success
- Grouped deployed components
- Filterable + searchable
π€ Export CSV
Download failure data:
Export CSV β UI buttonπ CLI Options
| Option | Description |
| ------------------ | --------------------------- |
| -i, --input | Input XML file |
| -o, --org | Salesforce username |
| --asyncProcessId | Deployment ID |
| --csv | Export to CSV file |
| -p, --port | Server port (default: 3000) |
π§ͺ Example SOAP Request
<met:checkDeployStatus>
<met:asyncProcessId>0AfAq00000gdhg3</met:asyncProcessId>
<met:includeDetails>true</met:includeDetails>
</met:checkDeployStatus>π License
MIT Β© Mohan Chinnappan
