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 3247

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

Save error: Initial term of field expression must be a concrete SObject: LIST<EventRelation>

You are attempting to access a list as if it is an sObject, you need to iterate over the list to first access the sObjects. From your example it's a bit hard to understand what you are trying to achi …
Tom Gangemi's user avatar
1 vote
Accepted

Apex CPU time limit exceeded - How to optimize the code with nested FOR loop?

It's hard to give a clear recommendation due to the minimal example given but there are two things changes that can greatly improve the performance of your code. Avoid excessive string concatenating …
Tom Gangemi's user avatar
1 vote

How can i increase my code coverage in test class

The latest information about apex testing can always be found in the Apex Code Developer's Guide. …
Tom Gangemi's user avatar
1 vote

Creating Amazon S3 Signing Key using Apex

I was able to produce a working client with Signature Version 4 Signing by utilising the solution from this existing answer.
Tom Gangemi's user avatar
1 vote

How to get google adwords reports in salesforce?

The problem is that you are not forming a valid SOAP request - Your issue is not an Apex code one but a SOAP one. … I haven't tested this solution myself but Salesforce has the functionality to build apex classes from WSDLs, try using the AdWords WSDL to generate a class. …
Tom Gangemi's user avatar