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 18269

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.

8 votes
Accepted

How do I update Custom Label's value using apex? Which one would be a better option metadata...

You can use this MetadataService class and follow this example: public static void updateField() { MetadataService.MetadataPort service = createService(); MetadataService.CustomField customFi …
Renato Oliveira's user avatar
1 vote

How to get pagelayout assigned to a non admin users in apex

There's no way to do this with native Apex. As you might have guessed or searched, you would need to use the Tooling API and Metadata API to automate this with a callout to your own org endpoints. On …
Renato Oliveira's user avatar
5 votes
Accepted

How to get dependent classes for a trigger?

You have not specified if you want this programmatically, so my guess is that you can get all dependencies with change sets. Create a change set, and then add your trigger on it. Click on "View/Add d …
Renato Oliveira's user avatar
4 votes
Accepted

Can't delete Apex class from production, deployment fails with "This Batchable class is in u...

When I checked the "apex jobs" page, filtering by status, I couldn't see any jobs pending. However, when I queried them with the Developer Console, some rows were showing as "processing" still. The qu …
Renato Oliveira's user avatar