function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Mark MazzitelloMark Mazzitello 

In Depth tutorial or course on triggers

I am very new to Salesforce but I am an experienced developer and understand the principles involved.  I inherited Salesforce dev and admin when the only person at my company who knew anything about it left abruptly, so I am trying to figure it out as quickly as I can. 

I am looking for a recommendation for a tutorial or course, etc. on how to create and test and debug triggers. 
I have managed to set up Eclipse to connect to my Salesforce sandbox, and I have also found how to create & modify triggers in the developer console. 
I have not figured out how to enable any kind of intellisense (if this even exists), step through the trigger code to debug and see what is happening with the objects in the code during execution, or even how to test a trigger other than deploying it and perfoming the action that should activate the trigger.

I have found some very basic tutorials about simple triggers, but nothing on how to set up the Eclipse environment, debug, test, etc. or how to access object hierarchys or database query data inside a trigger. 
If anyone can recommend something for me to watch or a course to attend or anything short of hiring a private consultant/tutor that would be appreciated. 

Thanks
Pramod_SFDCPramod_SFDC
Hi

You can check the workbench link mentioned below to check the object hierarchy and the relationship between the objects and also help you in constucting the complex queries.

>> https://workbench.developerforce.com/login.php

Force.com apex guide will provide you all information on writing Apex code. Below is the link for that.

>>http://www.salesforce.com/us/developer/docs/apexcode/index_Left.htm

Also, find below link which mgiht help you.

>> http://blog.jeffdouglas.com/2010/10/21/force-com-programming-best-practices/


Regards
Pramod

David "w00t!" LiuDavid "w00t!" Liu
I created this site to help out people like you  =)
http://www.sfdc99.com/beginner-tutorials/