https://github.com/jsmithdev/lwc-flow-example
Example of lwc in a Salesforce screen flow (passing in values, navigation, etc.)
https://github.com/jsmithdev/lwc-flow-example
Last synced: 15 days ago
JSON representation
Example of lwc in a Salesforce screen flow (passing in values, navigation, etc.)
- Host: GitHub
- URL: https://github.com/jsmithdev/lwc-flow-example
- Owner: jsmithdev
- Created: 2021-04-08T22:27:10.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-08T22:27:34.000Z (about 5 years ago)
- Last Synced: 2025-09-04T16:49:37.434Z (9 months ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# lwc-flow-example
Example of lwc in a Salesforce screen flow (passing in values, navigation, etc.)
## About
contains:
- minimal flow & flow definition
- example lwc from documentation @ [lightning-flow-support](https://developer.salesforce.com/docs/component-library/bundle/lightning-flow-support/documentation)

## Deploy
Covert with SFDX; This creates a folder called `deploy`
```bash
sfdx force:source:convert -r force-app -d deploy
```
Now you can deploy from the resulting `deploy` directory
```bash
sfdx force:mdapi:deploy -d deploy -w -1 --verbose
```
📌 Above deploys to the default org set
- Add `-u user@domain.com` or `-u alias` to deploy else where
- To run tests add `-l RunSpecifiedTests -r ApexTestName`
----------------------
Thrown together with 💝 by [Jamie Smith](https://jsmith.dev)