background preloader

To read

Facebook Twitter

Salesforce: Convert Existing Triggers to Allow For Bulk Processing. One of the most difficult concepts for me to get my head around after the Winter '10 release was that of bulk triggers. In the release documentation I read a line stating "All triggers are bulk triggers by default, and can process multiple records at a time. " Up until this release I had always written my triggers to allow for bulk processing but wasn't sure if this latest release meant that there was a need for me to update my existing Apex code to benefit from additional processing power. Of course, I was hoping there was something I could do to prevent hitting those annoying governor limits so I investigated further.

What I was able to determine through my deep dive was that I was not utilizing the Set and Map data structures in a manner that allowed for proper bulk processing. More specifically, most of my code was written so that it could not adequately process batches of several records at a time. When looping through data sets I was typically iterating a record at a time. Author. Business Analysis | Shamrock CRM - Salesforce.com Consulting, Implementations and Web Development. Salesforce.com Reports Dynamically Filtered Written by ShamrockCRM on August 9, 2009 – 3:16 pm When using Campaigns for mass mailing, the easiest way to add a large amount of Contacts to the Campaign is to have a predefined Contact report. With this predefined Salesforce report, you can easily click the “Add to Campaign” button and automatically add all of the Contacts on the report to this Campaign.

If you needed to step through this process to create or modify a report every time you needed to add a new set of users to a campaign, you would spend a lot of time setting this up. Well, Salesforce.com provides the capability to create a generic report that will have generic criteria established that can be dynamically filtered through the URL. For example, lets say you created a generic “Sales Pipeline” report. For this example, you can place a link on the Account page layout that will take you to a report of all Contacts at the Company. 1) Create your custom report. Awesome, right? Apex | TehNrd. ISVforce Guide. Salesforce Interview Questions - Part 1 | Shiva Blog.

1. What is Apex Ans: It is the in-house technology of salesforce.com which is similar to Java programming with object oriented concepts and to write our own custom logic. 2. What is S-Control ? Ans: S-Controls are the predominant salesforce.com widgets which are completely based on Javascript. These are hosted by salesforce but executed at client side. S-Controls are superseded by Visualforce now. 3. 4. 5. Setup->App Setup->Develop->Pages and create new Visulaforce page.Setup -> My Personal Information -> Personal Information -> Edit check the checkbox development mode. 6.What are Apex Governor Limits? Governor limits are runtime limits enforced by the Apex runtime engine. 7. 8. 9.