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 12921

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
1 answer
415 views

Why does my delete trigger cause a 'Too Many SOQL Queries' error?

I have a trigger that is supposed to see if a field is empty and, if it is empty, it is supposed to check if there is an Account Team Member with a certain role. If that is true then it is supposed to …
Blair Kristin's user avatar
0 votes
1 answer
456 views

Help with Trigger Compile Error: Method does not exist or incorrect signature: [MAP<Id,Accou...

I am VERY new to apex coding and am trying to figure out why the trigger below gets the "Compile Error: Method does not exist or incorrect signature: [MAP].containsKeys(Id) at line 10 column 13". …
Blair Kristin's user avatar
2 votes
2 answers
1k views

Hide Visualforce component based on field in account layout

On my account layout, one of the sections has a visualforce component in there that will only appear if another field on the account layout has a value in it. When there is no value it displays a HTTP …
Blair Kristin's user avatar
0 votes

Hide Visualforce component based on field in account layout

@BradBumbalough that worked. Here was my final page: <apex:page standardController="Account" sidebar="false" > <apex:outputPanel layout="block" rendered="{!Account.Most_Recent_Order_Updated__c != …
Blair Kristin's user avatar
0 votes
1 answer
155 views

Rewrite apex class to be out of the loop

I have an apex class that I have been having trouble with when I try to upload in bulk accounts. … The apex class is below. …
Blair Kristin's user avatar
-3 votes
1 answer
2k views

Cannot Specify Id in an insert call error [duplicate]

APEX CLASS (Update CSM) public class UpdateCSM { public static void updateTeamMember(List<Account> accounts) { SObject[] sobs = new SObject[] {}; for (Account … } } insert sobs; } } } APEX
Blair Kristin's user avatar