Salesforce Development: Our Top 10 Lessons

Every Salesforce developer can look back on their early career with this platform and conjure thousands of things they wish they knew before touching the keys. From the perspective of personal experience, here are the top 10 lessons learned with Salesforce development that every new developer should know.

Salesforce Developers – you NEED this. From one Salesforce developer to another, we hope this article helps you avoid all, if not some of the mistakes most people find themselves in. Our goal is to share personal experiences with Salesforce developers through thought leadership and guidance. Learning from others mistakes is sometimes the best way to learn!

LESSON #1: Mentorship

The importance of finding mentorship in any area of your life is essential. In the realm of development, this is certainly no exception. The best situation in this case would be finding a mentor outside of your current development environment. The reason being is there are various bad practices picked up in peer to peer Salesforce development training. Having a mentor serves as checks and balances for the quality of advice. It is too easy to stay within the team’s status quo, and not seek alternate resources to bring additional ideas to the table.

PRO TIP: Locate your local Salesforce community groups and go! You’ll no doubt find a mentor at an upcoming event.

Salesforce Consulting Partner

Consulting Partner

Salesforce Managed Services Provider

Managed Services Provider

LESSON #2: Use Cases

Salesforce is always changing regarding platforms and services. Therefore, keeping up with these trends or changes is the most significant part of development. Knowing the different use cases that are relevant to your development will go a long way in the journey of creating correct solutions. Additionally, Salesforce is always adding solutions to make your development life easier. Therefore, staying up to date with these use cases will ultimately keep your solutions effective and relevant.

Here’s a library of use cases for Salesforce AI >

Salesforce Developer tip - use cases

LESSON #3: Custom Code

Salesforce development has a quicker turnaround time than other platforms, which is one of the biggest development benefits. This excites us as developers, and makes us feel like we can provide solution after solution. However, this benefit can quickly turn into a challenge for new developers. In nearly any situation, reinventing the wheel is never the correct way, and Salesforce is no exception.

Many developers just want to dive into creating a solution and coding something out. As a Salesforce developer, you will certainly get plenty of opportunity for this. However, you never want to waste time or effort in the process. The Salesforce platform performs much of the work for you, and has been well tested. Therefore, it is always best practice to look into using those resources first. Additionally, there are many other services for integration, application exchanging, platforms and things of that nature that could replace the need for a fully custom solution.

The key takeaway: Always look at your resources and conditions where custom code is needed to move forward with development. Check out our favorite AppExchange apps and components, what you need may be a simple package install away!

LESSON #4: Developer Editions

A developer edition is essentially a free personal instance of the Salesforce platform. When starting out with Salesforce, spending as much time as you can in this environment (and not in a real environment) is best practice. This is a great way to explore and educate yourself on the platform as a whole.

Of course, there are always sandbox (development) environments that can be refreshed from the production system. However, the developer editions provide various features that your environment may not have.

PRO TIP: Educate yourself as much as possible in this environment to be experienced enough to share ideas confidently.

Salesforce developer tip - Developer edition signup

LESSON #5: Governor Limits

The typical developer approach is to dive into a problem and start pounding keys. Since development is so rapid in Salesforce, this becomes even more prominent at times. Users are happy because development moves fast, and they are having fun creating custom solution after solution. User adoption is going up, and developers are learning new things along the way.

Unexpectedly, “that” day happens when you receive an email from a user saying they got an error using your custom solution. Upon research from this error, you read about governor limits within the platform. The most common limits a developer will encounter when first using the platform are:

  • Too many SOQL queries
  • Apex CPU time limit exceeded
  • Maximum view state size limit (135 KB)

These are just a few examples of the many governor limits within the platform. They are most common if there has been no previous research in best Salesforce development practices. This will essentially halt development, and force developers to educate themselves on the Salesforce multi-tenant platform. Taking the time to understand the platform, its limits, and common design patterns will go a long way. Instead of diving in and learning as you go, take this first step to learn about governor limits to prevent future headaches for yourself and the user.

LESSON #6: Trailhead

We all need a starting point to learn, and everyone learns better in different environments. Some learn by reading directions, others by hands-on experience. With Trailhead, Salesforce has provided the best of both worlds. Additionally, they have put a great amount of content together, and are implementing playgrounds for the hands-on experience. Before starting any project, developers at least need to complete beginner courses on Trailhead.

Salesforce Developer Tip - Trailhead

LESSON #7: Development and Deployment

Most developers are familiar with the term “unit test“. In Salesforce, all APEX codes must have 75% code coverage or greater by test class to go to production. This may seem like a chore at first, and developers will likely put this off. However, with some experience, you will see the usefulness of these tests as you are developing rather than an afterthought.

In nearly any situation, reinventing the wheel is never the correct way, and Salesforce is no exception.

LESSON #8: Declarative Tools

Since Lightning, declarative tools have become even more popular. These tools allow you to program for different situations using a point-and-click interface. Of course, there are limits and situations where these will not work. Never the less, learning when these tools can be used over a programmatic approach will improve efficiency, which is the ultimate goal.

LESSON #9: Developer Certification

The more experience and training you pick up on, the more you realize how much you can learn. Studying and obtaining at a minimum the Salesforce Platform Developer I certification, is a great way to ensure you know the Salesforce basics. From there, you can expand your skills and knowledge through additional training or certifications.

Salesforce Developer Tip - Certification

LESSON #10: Administrative Certification

Going back to training and ensuring you understand the tools you are given; Training for an Administration certification is a great way to understand the platform as a whole. At the minimum, it is a quick way to ensure you understand the platform and is the base level certification.

If you find all this daunting, you can always go the route of bringing in a support resource such as Smartbridge to expedite your project delivery as well as your own learning journey. How might you go about that? Well….

  • Consider a consultant like Smartbridge to provide train-the-trainer sessions, workshops or hackathons to aid your development team with regards to specific project outcomes and goals
  • A managed services provider like us can alleviate some of the strain from constant distractions so you can focus on the bigger projects
  • Admin-as-a-Service is another method to achieve the same goals
  • Finally, if your team lacks development skills in-house or has a skills gap for Salesforce customizations, consider partnering with a strategic advisor like us to help prioritize your optimization needs.

Feel free to reach out and schedule time on our calendar to meet with a senior manager or director of Salesforce services. Good luck with your Development journey!

Share This:

Looking for more on Salesforce?

Explore more insights and expertise at Smartbridge.com/salesforce

There’s more to explore at Smartbridge.com!

Sign up to be notified when we publish articles, news, videos and more!