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.

learn more… | top users | synonyms (1)

0
votes
0answers
6 views

Querying Master Object From Child Object PHP Toolkit

I am a bit new to salesforce and coding. I have integrated my salesforce through php toolkit and is trying to update opportunity and account through a web form. Uptil now I am successful in updating ...
0
votes
0answers
6 views

Push Workflow Rule changes with Tooling API and Streaming API

Is it possible to create a push Streaming API for objects within the Tooling API? My organization keeps track of the workflows manually. They want to automate the process. I am trying to create a ...
1
vote
0answers
12 views

TraceFlag Tooling REST API

How to send a TaceFlag using the Tooling REST Api?I am looking for a good REST example how to setup Traceflag and get how to get Traceflag results back?
3
votes
0answers
35 views

ValidationRule queried via REST API returns Deleted objects VR too and that results in error with GACK?

When I try to query ValidationRule via REST (Tooling) API it's returning weird error: Query used: ...
0
votes
1answer
17 views

How to Update Static resource using Tooling api in salesforce?

Httprequest req =new HttpRequest(); req.setEndpoint(URL.getSalesforceBaseUrl().toExternalForm()+'/services/data/v28.0/tooling/sobjects/staticresource/08190000000cgISAAY/'+'?_HttpMethod=PATCH'); ...
6
votes
3answers
111 views

Metadata+ToolingAPI access on CS14 extremly slow & No Support?

We are working on CS14. Starting last Friday we are suffering form a extreme performance loss on CS14. Loading and Saving Metadata via Tooling/Metadata-API is very slow. Operations which usually ...
0
votes
1answer
32 views

How to query Id of a field/Custom field from standard object using Tooling API in .net

How do I get the Id of the field on Standard object like Account, Opportunity & Custom Object and Custom Field Id using Tooling API in .net.
2
votes
0answers
21 views

Deploying a Profile Update via Tooling RESP API - INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY

I was wondering if anyway has ever been able to make updates to Profiles via the Tooling REST API? I have recently built an application which creates CustomFields via the API, and I would then like ...
4
votes
1answer
124 views

Lightning: is direct API access on the roadmap?

I'm programming developer tools and an IDE. Right now, my code is based on Visualforce and JavaScript. As described here, I would like to convert most of my API callouts form APEX to JavaScript. Also ...
2
votes
1answer
64 views

Is there a Javascript Wrapper Salesforce Metadata API?

I'm using Andrew Fawcett's legendary Apex Wrapper Salesforce Metadata API in several projects. It perfectly works and provides a new dimension of APEX programming. Now there are situations where it ...
5
votes
1answer
53 views

Standard field accessiblity inconsistent : feature or simply strange?

UPDATE: Thanks to @ca_peterson I could clarify the issue below and it all drills down to FLS. But even having identified FLS as the reason, the behavior is still odd and I have addressed it in this ...
4
votes
1answer
130 views

Hitting governor limit while retrieving custom labels

In the current functionality, we retrieve custom labels from the source organization. The labels are retrieved from salesforce into another Salesforce organization. However, when retrieving the labels ...
3
votes
1answer
38 views

Can I find the field that will be updated from a WorkflowRule

So I have two workflow rules that fire when an Opportunity is created/updated. These two workflows set the same variable to either true/false depending on which criteria is met. I'm looking at ...
1
vote
1answer
36 views

How to support inheritance with WSDL2Apex

I'm attempting to update the tooling api project (https://github.com/afawcett/apex-toolingapi) with a SOAP variant in addition to the REST api. The issue I'm currently having is supporting all the ...
2
votes
0answers
55 views

tooling API workflow alert update

i am trying to update workflow alert email template using tooling api. REST AND PATCH . JSON body is below {"Metadata":{"ccEmails":["test@gmail.com"], ...
1
vote
1answer
69 views

How to find Dependent Components for a Class/Page/Trigger using API (Tooling or Metadata API)?

We are trying to automate certail processes for which we need to find the dependent components for a Class/Page/Trigger. We understand that salesforce is providing dependent components using "Show ...
0
votes
1answer
39 views

Size of an attachment?

Is there any api in salesforce to find out the size of an attachment? I am creating package.XML in Salesforce and I would like to make sure that the size is less than 3 MB.
5
votes
1answer
77 views

Tooling API SymbolTable contains “private” visibility modifiers instead of “protected”

When I query SymbolTable using Tooling API there are not any protected modifiers at all! Every protected word is replaced with private. The field classBody shows all protected keywords as they are ...
1
vote
1answer
88 views

Invalid cross reference Id when I'm querying fullName of a CustomField using Tooling SOAP API

I'm trying to get a fullName field of a CustomObject in query QueryResult queryResult = toolingConnection.query("select TableEnumOrId, FullName, LastModifiedDate from CustomField " ); I have ...
1
vote
1answer
84 views

How to query Id of a field from standard object

How do I get the Id of the field on Standard object like Account, Opportunity from Apex? Tooling API helps in getting the Custom Object and Custom Field Id. Any idea?
1
vote
1answer
69 views

Tooling API to get the ID of the field

Does the Tooling API count against the Org limit? I have a scenario in which I need to create custom button on related list and by pass record type selection page and re-direct to appropriate Page ...
4
votes
1answer
142 views

difference between metadata and tooling API

What is the difference between metadata API and tooling API? When I read the documentation, they both appear the same to me from the metadata perspective. I would like to know how I can use it for ...
0
votes
0answers
22 views

Using tooling API to query the most recent objects changed?

Can I use the tooling API to query the metadata that has changed in given org in the last X amount of time? X could be 24 hours, one week,two weeks or one month.
1
vote
1answer
55 views

Calling ToolingAPI to save an AuraDefinition using PATCH via JavaScript possible?

I'm trying to save an AuraDefinition from within a native Visualforce app. Therefore I following @MartyC. suggestion here: Lightning ToolingAPI BETA Documentation As an unfortunate PATCH requests ...
3
votes
2answers
59 views

Patching ToolingAPI.cls for v31+: How to query for DeployDetails at ContainerAsyncRequest?

My original problem is described here: ToolingAPI.cls for Apex: How to get CompilerErrors at ContainerAsyncRequest in v31+? Now I have patched ToolingAPI.cls like this: // elf-patch public class ...
3
votes
1answer
49 views

ToolingAPI.cls for Apex: How to get CompilerErrors at ContainerAsyncRequest in v31+?

Im trying to patch ToolingAPI.cls in order to use it with API v32. I run it successfully for a couple of month now with v29/30, but due to changes to the API, I need to adapt some parts. Unfortunately ...
3
votes
1answer
69 views

Are there any plans to update ToolingAPI.cls for APEX to v32 in order to support Lightning Components?

Unlike MetadataAPI the ToolingAPI APEX class still refers to version 30. Please note this question is not about ToolingAPI itself, but about the APEX wrapper class project to make ToolingAPI available ...
3
votes
2answers
58 views

Lightning ToolingAPI BETA Documentation

Thanks to @DougChasman we have learned here that both ToolingAPI and MetadataAPI are fully supporting AuraDefinitionBundel and AuraDefinition right now as BETA and we can start to use them. Doug also ...
3
votes
1answer
154 views

Can I save a new Apex class using Tooling API in java?

Is it possible to create a new Apex class using Tooling SOAP API in java? When I'm trying to do that I get ApiFault exceptionCode=’INVALID_TYPE’ exceptionMessage=’This type of object is not ...
4
votes
3answers
154 views

Lightning access via ToolingAPI or MetadataAPI

I assume there is no official support in the APIs right now since Aura Components are in BETA. The choice of developer tools is a bit narrow (Developer Console and Sublime Lightning) and I want to add ...
3
votes
1answer
105 views

Trying to get SymbolTable of an Apex class and get null

I'm quering Apex classes using Tooling API QueryResult queryResult = toolingConnection.query("select Id, ApiVersion, Name, NamespacePrefix, SymbolTable, Body from ApexClass where NamespacePrefix = ...
0
votes
0answers
31 views

How can I get apex class modifiers through any API? Does field modifiers in tableDeclaration in SymbolTable is what I need?

I need to get a list of an apex class modifiers through Tooling API (or any other if it's possible). Is there any way to do this? When I retrieve SymbolTable through Tooling API I see field ...
3
votes
0answers
51 views

Apex Standard Library Symbol Table

The ability to query a symbol table for a custom apex class is great, but can we obtain this information for standard classes? I have tried things like... SELECT SymbolTable FROM ApexClass WHERE ...
5
votes
1answer
91 views

Tooling API - ProfileMetadata not being returned v32

I am attempting to use the Tooling API to retrieve all the data for a particular profile. According to the Tooling API documentation from v32 there is a Profile object which contains a set of ...
3
votes
0answers
53 views

How to exclude deleted fields from Apex Tooling API query

I have an object with a couple of deleted (and erased) fields. When I try and run a query like this using the Apex Tooling API (List<ToolingAPI.CustomField>)toolingAPI.query('Select Id, ...
3
votes
3answers
436 views

Saving mutiple files in Salesforce org with MavensMate in Sublime Text 3

I'm trying to save a large number of files for an org in a single instance (over 35 files at a time). I'm replacing numerous endpoints to a new remote site, so basically a find/replace across numerous ...
0
votes
0answers
121 views

Error while querying workflow rules using tooling api

I am trying to run the following query in my developer console (using tooling api): SELECT Id,Name,NamespacePrefix,Metadata FROM WorkflowRule but get an error saying 'An unexpected error occurred.' ...
0
votes
1answer
307 views

Error when creating page with customObject as a standardController with Tooling

I want to create a visualforce page by using Tooling api and I am doing this like below : @RemoteAction public static String createInlinePage(String objectName) { objectName = ...
2
votes
2answers
406 views

Cannot save in DevConsole or Force IDE due to “unfinished save request” - How to resolve?

Since the IDE and DevConsole was updated to use the Tooling API is sometimes run into situation where I cannot do a Save on a class change anymore. The Force.com IDE is giving no error at all and is ...
2
votes
1answer
413 views

Connecting to Tooling API using Java SOAP

I have been trying to connect to the tooling API using SOAP and Java, but so far I have not been able to get it to work. I have a Java project with the tooling.jar and wsc-23.jar present, and I have a ...
0
votes
0answers
154 views

Google hangout intigration with salesforce service cloud

Can we integrate salesforce service cloud live agent with google hangout?
0
votes
0answers
30 views

Version Control in Salesforce [duplicate]

Can we implement version control using Tooling API ?? if not please suggest me some version control tool for Salesforce.
3
votes
0answers
35 views

Can you build a symbol table from a VF page?

Is there a parser for a VF page that will build a symbol table? I'd like to know what external references exist so I can tell what public variables and methods are unused in a project. Looks like ...
1
vote
1answer
107 views

Tooling API and Scheduled Batch Apex - How to access

Without storing a users credentials to salesforce how can one access the tooling API during a daily scheduled batch? Currently we are storing the users username and password in encrypted fields but ...
2
votes
1answer
104 views

How to set managed packaged versions for apex class with tooling api?

Trying to work on a mm bug (see Issues with managed package visibility?) with the tooling api which involves not sending over the managed package versions in the meta-xml files. I've read through ...
3
votes
1answer
107 views

Edit existing Visualforce Page (ApexPage) using AndrewFawcett ToolingAPI package

In APEX there is great wrapper class to access the ToolingAPI written by Andrew Fawcett https://github.com/afawcett/apex-toolingapi There are a lot of examples including one which shows how to edit ...
1
vote
1answer
205 views

Getting error message: “sObject type 'CustomEntityDefinition' is not supported.” when platform users call tooling API

A bit of background: I'm trying to emulate the behavior of the default "New" button w.r.t. automatically setting the parent object in the new object form. So, for instance, if I click the "new ...
3
votes
2answers
167 views

Call ToolingAPI or Metadata API in APEX without adding instance url into remote site settings

I need to upgrade the metadata in post install script, for instance, upgrade the picklist values for some fields, as those values are not updatable for the existing orgs. Not matter I tried to use ...
2
votes
1answer
440 views

Get Debug Logs with specified log levels for Execute Anonyous via APEX ToolingAPI, SoapAPI or anyhow

A) via ToolingAPI I'm trying to execute apex-code via public ExecuteAnonymousResult executeAnonymousEncoded(String body) of the ToolingAPI.cls from within APEX. So far it works. But I was not ...
3
votes
1answer
265 views

Update StaticResource via APEX ToolingAPI

I'm trying to update StaticResources from APEX. Currently I'm using async methods of apex-mdapi and it works good. On the other side I'm using apex-toolingapi to update ApexClasses which works even ...