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 58242

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.

7 votes
2 answers
1k views

Can I create an Apex.Stack for any type?

Can I create an Apex.Stack for any type? If I will do: Apex.Stack stackForIds = new Apex.Stack(); Then I am able to put id values in such a stack: stackForIds.push(anId); Here is how I tried to …
iloveseven's user avatar
  • 1,115
1 vote
1 answer
77 views

What to use instead of n-dimensional List in Apex?

I have the following data model: My purpose is to get all the needed data from the server-side on the client side. And I need to know: all the assessments, for each assessment I need to know questi …
iloveseven's user avatar
  • 1,115
2 votes
1 answer
2k views

Can not return a custom Apex class from the server side to the client side

I can not return a custom Apex class from the server side to the client side. …
iloveseven's user avatar
  • 1,115
0 votes
1 answer
572 views

Set non Required Number field to nothing using Apex

Is it possible to set non Required Number field to nothing using Apex? If yes, than how? …
iloveseven's user avatar
  • 1,115
2 votes
1 answer
326 views

Automate the process of picklist values retrieval from the backend

Is it possible to automate the process of picklist values retrieval from the backend? Here is how I am doing it right now: @AuraEnabled public static List<String> retrieveMyObjectMyFieldOptions() { …
iloveseven's user avatar
  • 1,115
6 votes
1 answer
998 views

Complicated SOQL SELECT

I have the following data model: Now I would like to do the following: By knowing zced__Interaction__c extract all the zced__Assessment__c. Then for each of the extracted zced__Assessment__c I would …
iloveseven's user avatar
  • 1,115
0 votes
1 answer
6k views

Unexpected token `<`. in Apex trigger

I have the following trigger: trigger AccountAddressTrigger on Account (after insert, after update) { List<Account> accs = [ SELECT ShippingPostalCode, BillingPostalCode FROM Acco …
iloveseven's user avatar
  • 1,115
1 vote
0 answers
210 views

It take some time for the method in Apex to become visible for the lightning component. What...

It take some time for the method in Apex to become visible for the lightning component. What is a workaround here? … I mean literally: I create an Apex controller, create a method in it, then I create a lightning component and in its client-side JavaScript controller perform a request to the Apex controller. …
iloveseven's user avatar
  • 1,115
-3 votes
3 answers
17k views

Pass a JavaScript object to Apex controller in lightning

Is it possible to pass a JavaScript object to Apex controller in lightning? … I am only interested in the Apex part. …
iloveseven's user avatar
  • 1,115