Blog

Blog,  Salesforce

Determining Org Type in Apex Code

Have you ever wanted to run one block of code in a sandbox and another block in the production org?  I couldn’t find a built-in Apex function that allowed me to determine whether the code was running in a Production/DE environment or in a sandbox. Fortunately, I ran across this post that gave enough info…

Learn More
Blog,  Salesforce

SFDC Best Practice for Child Relationship Names

Please declare a unique Child Relationship Name! Think of it as just as important as the Related List Label (which is what your Salesforce users see). The Child Relationship Name is what developers see when writing sub queries in Apex. Salesforce uniquely names Child Relationships if you don’t. However, those names are generally useless for…

Learn More
Blog,  Salesforce

On-View triggers in Salesforce (trigger for Opportunity Contact Roles)

Native Opportunity Limitations One current limitation with Salesforce.com native Opportunities model is the inability to have a trigger on the Opportunity Contact Role object. Say you have built a custom Opportunity rollup or scoring mechanism of some variety and it relies upon what/who the user selects in the Opportunity Contact Role area: how will you…

Learn More
1 2 3 4 55 56 57 58 59 60 61 62 63 64 65 66

Follow us on LinkedIn for more insights.

GET OUR INSIGHTS DELIVERED

Scroll to Top