1

When i execute command sfdx help function it throws error below

»   Error: command function not found

I am following video https://www.youtube.com/watch?v=2XzaJ0TNwvo

SFDX Version - sfdx-cli/7.105.0 win32-x64 node-v14.17.0

2 Answers 2

3

Salesforce Functions is not GA. Until the feature becomes GA or you obtain access to a preview program and follow any applicable setup instructions, you won't be able to use that command or follow steps in demo videos.

Clarification: I don't know whether there are any preview programs available at the time of this writing. The situation may have changed if you're reading this answer in the future. Discuss your interest in this feature with your Account Executive.

2
  • Is there a way to get access it using Beta Program? Commented Jun 17, 2021 at 14:35
  • I don't know; I don't work on that team. Ask your Account Executive whether there are any programs available to you.
    – David Reed
    Commented Jun 17, 2021 at 14:55
1

To apply for the Beta, you need to sign up via https://sfdc.co/functions-beta

Once you have been approved, and have access to the feature in your dev hub, you need to follow the steps from the documentation:

Configure Orgs for Functions:

  1. Enable Functions on Dev Hub Orgs
  2. Create Compute Environment for Org
  3. Enable the Functions feature in your scratch org definition file.

and follow the steps outlined in : Deploy a Function

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .