Field Service Apex Reference

The Field Service Apex Reference provides the Field Service (FSL) namespace for programmatic access to Field Service functionality and the ConnectApi namespace for accessing Connect REST API data and building custom experiences in Salesforce.

  • ConnectApi Namespace

    The ConnectApi namespace (also called Connect in Apex) provides classes for accessing the same data available in Connect REST API. Use Connect in Apex to create custom experiences in Salesforce.

  • FSL Apex Namespace

    The Field Service (FSL) namespace contains all classes, methods, Visualforce pages, and custom objects within the Field Service managed package. To allow access to namespace elements, assign the FSL custom permission set that’s appropriate for the user’s persona. For example, to allow a user to book appointments, assign the FSL Agent custom permission set.

See Also