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 not deleted user 84663

Questions relating to Apex, the native programming language for the Force.com platform. Use it for general questions on syntax, errors, constructs, and rules of use. Most questions should include a code *excerpt* to help answerers understand specifically what has gone wrong or why you need help.

1 vote

Ignore system fields, audit Fields when Extracting fields of an specific object through desc...

I needed to do the same thing and unfortunately there's not an easy (and dynamic) way to do this as far as I know, so I ended up creating a set of blacklisted system fields that I know I didn't want a …
tristan's user avatar
  • 79
5 votes

How to get a field's description via API?

Another way to get this data is via the Tooling API which can be called from Apex with REST calls. … For a full example of this query being sent from Apex see Salesforce Field Auditor. …
tristan's user avatar
  • 79
-1 votes

How to get Standard and Custom Object List in Apex class

Unfortunately there's not a great way to exclude all objects like share, tag, etc. from the Schema.getGlobalDescribe() results apart from using the String class .contains() method as shown above. This …
tristan's user avatar
  • 79
0 votes

Get creation date of metadata using Apex

To query the Tooling API via Apex to gather these results, see Salesforce Field Auditor for a full solution and the following code snippet for a general method of sending the query, deserializing the JSON …
tristan's user avatar
  • 79
0 votes

Identify User that Last Modified Specific Field by using apex

To query the Tooling API via Apex to gather field Last Modified date/user as well as other metadata, see Salesforce Field Auditor for a full solution and the following code snippet for a general method …
tristan's user avatar
  • 79