Search Results
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 |
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 …
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 …
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 …
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 …
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 …
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 …
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 …
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 …
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 …
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 …
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 …
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 …