Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Functions Overview Doc #3856

Merged
merged 3 commits into from
Feb 23, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/_articles/en/functions/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ lang: en
Use the Salesforce Functions features in VS Code to build event-driven, elastically scalable apps and experiences. You can create and test functions against sample payloads locally in VS Code.

### Create Function
Run `SFDX: Create Function` to create a Salesforce Function in Javascript or Java in a Salesforce DX project.
Run `SFDX: Create Function` to create a Salesforce Function in Javascript, Typescript or Java in a Salesforce DX project.
sbudhirajadoc marked this conversation as resolved.
Show resolved Hide resolved

This command creates a new directory named after your Function name and all the supporting files.

Expand All @@ -16,6 +16,8 @@ This command creates a new directory named after your Function name and all the
![Create Function](../../../images/vs_code_create_func.gif)
### Start Function
Run `SFDX: Start Function` to run the function locally.
Run `SFDX: Start Function in Container` to run the function in a Docker container.


### Invoke Function
The Salesforce extensions add the `Invoke` and `Debug Invoke` CodeLens to a file that is in the correct format to send test events to a Function that is running locally. With one click, you can test a function that is running, by invoking it with a mock payload. You can also debug the function against the payload.
Expand Down