No internet connection
  1. Home
  2. How to

JavaScript API Reference

By @alex
    2019-04-02 19:07:09.306Z

    Is there a complete API reference somewhere? I couldn't find anything in the documentation. Would be very helpful for script development...

    Solved in post #4, click to view
    • 5 replies
    1. Hi @alex
      Thank you for reaching out. Unfortunately I haven't had time to make an API reference yet.
      You should be able to use our code completion, and the How to category in here as a start, and coming in 2.2 will be a "View source" option on all the built in commands as well.
      Please let me know if there's a specific area you'd like more knowledge of.

      1. A@alex
          2019-04-28 00:05:44.432Z

          Thanks, Christian. Not looking for anything in particular, it's just always a nice way to get acquainted with an API and see what's possible. Even just a flat searchable list of all objects, methods and properties would be nice (and presumably already exists anyways for the autocomplete feature).

          1. You're right we actually have a complete TypeScript definition file which is what enables the auto complete feature.

            I've attached the most recent one here - this is from a 3.0 preview build so it may contain stuff that you won't find in 2.1.4
            typings.zip (38.97 kB)

            ReplySolution
            1. GGraham Archer @Graham_Archer
                2019-09-16 08:37:22.329Z

                Hey,

                I second this - it would be great to have an API reference. I'm just getting into SF and a flat searchable list of all objects, methods and properties would be really really useful.

                1. Thanks for the bump, @Graham_Archer.
                  I agree this would be nice. Just didn't find the time to add it yet.
                  The raw list you can find in the attached zip file above.