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 33577

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

expecting colon, found ERROR MESSAGE after running test class

What worked for me was: Product2 postgrado1 = new Product2(Name = 'TestPostgrad1'); insert postgrado1; Product2 postgrado2 = new Product2(Name = 'TestPostgrad2'); insert postgrado2; …
José's user avatar
  • 21
1 vote
2 answers
664 views

expecting colon, found ERROR MESSAGE after running test class

I am trying to cover some lines in my controller apex class, but since hours dealing with the error message: Expecting colon, found 'TestPostgrado1'. …
José's user avatar
  • 21
0 votes
0 answers
29 views

Needs help for writing a part of code according to business case

I am a newbie in Apex programming and trying to implement the following business case: We have three record types on object Account: one for recommendators, another for students and another for professors … So, I was just tempting to write a code, but as my knowledge in APEX is rudimentary, I need some help here, how can I implement this by code. …
José's user avatar
  • 21
0 votes

Automate data import process

Jitterbit is not the best solution. If you have more than one UPSERT to run for different Salesforce objects, you will have always to update the SOURCE writing the .CSV file from which you are picking …
José's user avatar
  • 21