Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options questions only not deleted user 102

Tooling API exposes objects used in developer tooling that you can access through REST or SOAP, and works just like the Salesforce REST API and SOAP API.

21 votes
1 answer
3k views

Save/Deploy multiple files at once with MavensMate in Sublime Text 3

When editing multiple Apex classes using MavensMate in Sublime Text is it possible to save them all back to Salesforce in one MetadataContainer? I've got an abstract base class and a controller that …
Daniel Ballinger's user avatar
2 votes
1 answer
156 views

GACK response from SOAP Tooling API runTestsAsynchronous method

I'm attempting to call the runTestsAsynchronous(classids, suiteids, maxFailedTests) method on the SOAP Tooling API as per the linked documentation and the example in ApexTestQueueItem. In both cases, …
Daniel Ballinger's user avatar
4 votes
1 answer
2k views

Start ApexLog capture via the API

When the developer console is opened Salesforce will start capturing ApexLog records for the current user. After a period of time this stops occurring and the user needs to click the resume menu metho …
Daniel Ballinger's user avatar
1 vote
1 answer
1k views

Can the CustomFieldMetadata be retrieved with SOQL from the SOAP version of the Tooling API

I'm trying to use the SOAP version of the Winter 13 (v29.0) Tooling API to query the CustomField records and the associated CustomFieldMetadata Metadata field. The following query works without the Me …
Daniel Ballinger's user avatar
19 votes
2 answers
10k views

How do I use the Tooling API to create a new Apex Trigger?

How do I use the Tooling API to create a new Apex Trigger (rather than update an existing one)? According to the documentation I need to specify the ContentEntityId as an existing Trigger Id. But in …
Daniel Ballinger's user avatar
6 votes
2 answers
7k views

What is the URL for using the Tooling API via SOAP?

What is the URL for using the Tooling API via SOAP? If I already have a valid Session Id I can start using the API directly: E.g. Enterprise API: https://server-api.salesforce.com/services/Soap/c/2 …
Daniel Ballinger's user avatar
3 votes
1 answer
438 views

The Coverage field from ApexCodeCoverageAggregate isn't returning coverage lines in Spring '...

I've previously used the SOAP version of the Tooling API to run the following SOQL query to get the aggregate code coverage for an Apex class. SELECT ApexClassOrTriggerId, ApexClassOrTrigger.Name, …
Daniel Ballinger's user avatar
2 votes
1 answer
710 views

Unable to import binding 'SforceServiceBinding' with the Summer 19 Tooling API WSDL

I'm trying to update to the Summer `19 (v46.0) Tooling API WSDL in a .NET project. When I attempt to update the service reference from the v45.0 WSDL I get the following error from MSDiscoCodeGenerato …
Daniel Ballinger's user avatar