People who code: we want your input. Take the Survey

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
845 views

Tooling API in production org

I am already aware that you cannot directly create Apex classes in production orgs (have to use either the Force.com IDE or changesets). But if I include test cases can the Tooling API do it? Also ...
3
votes
1answer
128 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
2answers
669 views

Getting null Metadata values from Tooling API

I want to view the Metadata(RecordType, VF access, Apex class access,etc.) from Profile using Tooling API. My code looks similar to this ToolingAPI toolingAPI = new ToolingAPI(); List<...
3
votes
1answer
241 views

Getting the SourceId of current Sandboxes in the system

Basically I'm trying to retrieve the SandboxInfo records of my organization, but I can't seem to find the correct endpoint for that. I've tried executing /services/data/v41.0/tooling/sobjects/...
3
votes
1answer
270 views

Trying to get methods references using REST version of the Tooling API

I am trying to get methods references and external references using REST version of the Tooling API, but they all = null: /services/data/v36.0/tooling/query/q=Select+Id,Name,SymbolTable+From+...
3
votes
2answers
693 views

Override View with URL

Is it possible, via the API or otherwise, to override the View button of an object with a URL (instead of a VF page)?
2
votes
0answers
33 views

Can metadata container contain AuraDefinitionBundle, Layout, FlexiPage, Object? [duplicate]

I want to build a package to find out metadata dependencies and determine which classes, triggers, pages, components, lightning components and applications, flexi pages, layouts, objects, custom ...
2
votes
2answers
1k views

Metadata API support for Approval Processes?

EDIT: I have search online and could not find any resource that talks about how to get metadata for Approval Process I know that the approval process stores in the ProcessDefinition object but what ...
1
vote
1answer
1k views

Querying Symbol Table of a Apex Class [duplicate]

I am interested in being able to get information about classes, specifically variables, methods etc. I see this can be done by the Tooling API, what I am not clear on is if I need to make an API call ...
1
vote
1answer
95 views

How do I specify profile mappings on a PackageInstallRequest?

I have created an unmanaged package containing a Salesforce Platform Profile named "Foo". In the org where I am attempting to install the package, I have also created a Salesforce Platform Profile ...
0
votes
1answer
295 views

Retrieve LastModifiedBy from FieldDefinition query

I am able to retreive field definition for a custom object except last modified by. below is my SOQL. select Label, DeveloperName , DataType, IsCalculated, RelationshipName from FieldDefinition ...
0
votes
1answer
430 views

How to set the externalSharingModel for managed package objects using automation?

Related to System.runAs for CspLitePortal Profile Users recently started returning no rows, I am now wondering how to automate the setting of the external sharing model for some SObjects contained in ...

1
2