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 answers only not deleted user 72832

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.

1 vote

Tooling API - UserFieldAccess - Receiving UNKNOWN_EXCEPTION error

I was able to reproduce it, with the same stacktrace error Id, and noted the following behavior: An error is thrown when using the 18-digit FieldDefinition Id for your custom field within DurableId T …
Kris Goncalves's user avatar
2 votes
Accepted

See when AuraDefinitionBundle was last updated?

You can get this field when you query through the Tooling API /services/data/v49.0/tooling/query/?q=SELECT+id,LastModifiedDate+FROM+AuraDefinitionBundle You can also just use SOQL to get the same La …
Kris Goncalves's user avatar
2 votes

Tooling API - Get all Active Workflow and Validation Rules

You won't get around needing to do individual calls as you'll need the details of metadata. When you make the PATCH call to deactivate/activate them, you need to include more than just the active prop …
Kris Goncalves's user avatar
1 vote
Accepted

What fields are shown in the object manager (Activities)?

EntityParticle would be the best source for this for objects you'll typically interact with: Represents each element of a field that can be presented in a user interface. Contrast EntityParticle with …
Kris Goncalves's user avatar
1 vote
Accepted

Cannot download FieldDefinition data for Contact object

It's confusing based on the naming, but if you look closer at FieldDefinition, you'll see that EntityDefinitionId is: The durable ID for the object defined in the EntityDefinition field. In EntityDe …
Kris Goncalves's user avatar
0 votes

Tooling API: Fetch sObject details of Process builder

You can only get sObject details if you add an Id = 'flowId' to your query in the Tooling API or call the /tooling/flow/flowId endpoint. The info is in the Metadata of the flow which you can only pul …
Kris Goncalves's user avatar
2 votes
Accepted

Is it possible to create a field on a system object?

Not all standard objects support creating custom fields. DatedConversionRate is not customizable which means it does not support creating a custom field on it. You'll always be prevented from creating …
Kris Goncalves's user avatar
5 votes
Accepted

Finding unused Apex Classes with Tooling API and MetadataComponentDependency

I think the doc is clear that it will only list the relationships between components so the lack of one would not be returned. Usage Use SOQL queries to list the relationships between the metadata c …
Kris Goncalves's user avatar
2 votes
Accepted

Retrieving results from UserFieldAccess using DurableId

Your comment is nearly there. The format for the standard object you're interested in (Contact): Object API Name Standard Field API Name or Custom Field Id User Id That 2nd point is the distin …
Kris Goncalves's user avatar
2 votes
Accepted

Delete/Update Global Value Set values using Tooling API

You cannot do a delete call. The easy way to see what you can and cannot do is to look at the Tooling API documentation for GlobalValueSet You should be able to update an existing value as long as …
Kris Goncalves's user avatar
5 votes
Accepted

Rest calls for Tooling API object with composite do not work

Definitely a doc bug - as it seems no tooling object supports it. It's sort-of mentioned in this answer - though it says "most objects" don't support it. Yet, I haven't seen an object work on that giv …
Kris Goncalves's user avatar
2 votes
Accepted

Difference between Tooling & Rest API when retrieving fields from USER object

Depending on what you're looking to do, you have to decide which API to use as they all have different purposes and, as you noted, may expose different fields, objects, endpoints, etc. If you were to …
Kris Goncalves's user avatar