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 14780

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.

0 votes

QueryLocator crashes after casting to Iterable and executing .iterator()

I believe the issue is with the assignment. In the initial code, you are assigning ql.iterator() returns a QueryLocatorIterator. So, Iterable = ql.iterator() makes sense. But in your second code, y …
Bugude's user avatar
  • 390
5 votes

Can variables with inline get/set not be @AuraEnabled?

As per Salesforce document (https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_annotation_AuraEnabled.htm) the AuraEnabled is available for methods and also there is …
Bugude's user avatar
  • 390
2 votes
Accepted

How to Customize Custom Label data in formula field

You can use SUBSTITUTE function to replace the , with a line break like below. SUBSTITUTE('Test,Test1,Test2', ',', BR() ) This would display as Test Test1 Test2
Bugude's user avatar
  • 390
0 votes

Field History Tracking - Finding value on a particular date?

You can use CreatedDate in the History object of the main object to find out the specific old and new value. Precondition: The field history should be enabled for that specific field on the object. …
Bugude's user avatar
  • 390