Questions tagged [tooling-api]

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.

Filter by
Sorted by
Tagged with
4
votes
1answer
1k 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 ...
11
votes
1answer
4k views

Issues with managed package visibility?

Question Is anyone experiencing issues with incorrect managed package apex class visibility? Suddenly unable to save a class and everything seems to be in order. What am I missing? Anyone run into ...
10
votes
2answers
982 views

Is it possible to update custom field metadata via the tooling api?

I can successfully make a patch request to the tooling api to update a custom fields api name. However, if I include any of the field properties in the CustomFieldMetadata object I get an internal ...
14
votes
1answer
757 views

What are the, if any, Tooling API Limits?

What are the, if any, Tooling API Limits? I can't find any info on it. I checked in the docs, but no word of it, unless i'm just missing them. Thanks
2
votes
2answers
377 views

Tooling API – how to use LastSyncDate?

Based on the documentation LastSyncDate can be used as a safeguard to ensure that when someone else modified Apex Class in SFDC you do not accidentally overwrite those changes using your older local ...
4
votes
2answers
2k views

Force.com Web Service Connectors for Maven Repo

The Java jars generated from WSDLs and posted to Maven Repository have been awesome. Questions: Who maintains this repo? Could we also make public the web service connectors for the Apex and tooling ...
3
votes
2answers
217 views

Can the Tooling API be used to determine which Apex class the current Apex class extends from?

Does anyone know of a way to use the Tooling API to determine which Apex class the current class extends from? I have looked at the SymbolTable but cannot see any indication that this information is ...
4
votes
1answer
201 views

Does the Tooling API SymbolTable support custom interfaces?

I have been looking at the tooling api in versions 28.0 and 29.0. I have a couple of example classes that implement custom interfaces and also some that implement standard interfaces (i.e. Database....
5
votes
1answer
926 views

Using MetadataContainer with ApexClassMember, ApexTrigger Member etc.

I come to know that to update Apex component it is required to use Metdatacontainer object with ApexClassMember/ApexTrigger member. In Force.com Tooling API Dev guide given all examples to use ...
4
votes
2answers
2k views

Force.com Tooling API issues

I just tried to implement Tooling API using REST API and did some basic callouts: create a Apex class creating a apex trigger editing apex class query a tooling api object delete a apex class out of ...
9
votes
1answer
5k views

Tooling API usage in salesforce Apex method

I am trying all my level best to know how the Tooling API is used. Can someone suggest or show me with a small example on how do I create a apexClass in a controller method. I have already generated ...
7
votes
1answer
880 views

Tooling API 'No Access to entity:TraceFlag'

The Tooling API brings a new object with it, that allows me to create Apex Logs programmatically. It's called TraceFlag. I tried to implement it in my na15 org (28.0) but i get a No access to ...
7
votes
1answer
511 views

When is the Force.com IDE going to be rewritten (using the tooling api)

Last year I attended the Dreamforce session: Next Generation Debugging with the Developer Console and Tooling API One of the most exciting things that was mentioned was that the Force.com IDE is ...
5
votes
1answer
530 views

Call tooling API via WSC or AXIS

Was somebody able to access the new tooling API via the force.com Webservice Connector (WSC) or Axis? The code generation seemed to work fine for both of these stacks and I was also able to login and ...
17
votes
2answers
7k 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 ...
5
votes
1answer
6k views

Access Tooling API via REST from Apex class

While still having this question open I found out about the new Tooling API and tried to access an ApexClass members via the Rest Explorer in the Workbench and could get it to run. How would I be ...
5
votes
2answers
5k 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/27....