Salesforce.com Code Optimization

Trey AroseSalesforce, Technical TipsLeave a Comment

Rule #1: When developing custom Apex code in Salesforce.com, it is not enough to simply create a working trigger to fit your specific scenario, you must also take into consideration bulk data loading. If your trigger cannot handle loading multiple records, you will hit the error [message_box title=”Error:” color=”red”]System.LimitException: Too many SOQL queries: 101[/message_box] This error is typically caused by having a SOQL query within a for loop.  To remedy this,  you must add  your SOQL query before your for loop. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 Set<Id> projIds … Read More

Hosting a WordPress.org Blog using Amazon Web Services

Mara MonaghanTechnical Tips1 Comment

With tools like WordPress and Amazon Web Services, it’s easy to establish a presence on the Internet. Of course there is more to it than just having a website. There are a lot of aspects to hosting and running a website, but for casual use, this is a great way to start. WordPress itself is an excellent tool for both the novice user or the knowledgeable. A simple blog can be up with little effort, but with some time and knowledge, it can be a fully robust content manager. Amazon Web Services (AWS) offers an affordable, and sometimes free, way … Read More