Why learn to read or write code as a Salesforce Admin?

Photo by Christopher Gower on Unsplash

This blog is only meant to help you navigate but is not a how-to guide. There are plenty of resources and I will link you to those.

Let me start by telling you why you should consider dabbling into code if you haven't already.

Key reasons in short:

  1. You get a better understanding of platform limits just by learning some Apex so you design a scalable solution
  2. It makes you a better admin and architect in the long run
  3. You get better opportunities and potentially a higher paying job
  4. Learn transferrable skills if you wanted to try some other tech stack in future

Hopefully, I convinced you to some extent and now you are thinking OK that's great but how does one get started?


Start with SOQL querying different data which otherwise you would use reports and list views for. Don't be afraid to get inside the developer console or workbench, to just run some queries, add relations to get the parent or child fields, etc. Don't worry, you won't break anything.

Then you can start reviewing/reading small codes already present in your org and trying to understand what each line is doing. Code is just a language that the program understands, you have to tell the system what to do, imagine creating a step-by-step recipe. Every step must be defined by the programmer through few lines of code for the program to perform those actions.

But where do I really look for this code?

Before I answer that, let me clarify something, There are many types of “code” within Salesforce like Apex Classes and triggers, Lightning Aura and Web components, visual force pages but the easiest one to start is probably Apex Triggers. You can easily access or view triggers for each object by going to Object Manager > Triggers.

For a cleaner and readable code, click on the setup gear icon and click on the developer console. Even if it looks like the matrix, it's not scary once you start reading it step by step.

Here are some resources that will help you along the way. If you have been following my channel, let me know in the comments if you are interested in learning more about Apex and coding basics.

  1. Salesforce official documentation: Sometimes they seem complex and it is easy to lose interest. So I recommend starting here. Don't get too deep into definitions right away but try to write few lines of code first and slowly you will start things noticing and grasping the theory. This is how I learnt too.
  2. Trailhead: This can be a little intimidating especially when you can't get the modules right away. What I can tell you is don't worry about the challenges right away and getting the points, focus on the examples and practice alongside. They also have some hands-on projects you can practice on. You can filter on the trailhead

Other Blogs/free resources

  1. A great blog with an example on trigger.
  2. If you are a woman and have never coded before, you may be able to join this free training and learn with other women at RAD, they have a great curriculum and instructors. I have seen great improvement!
  3. Almost everyone starting on Apex journey may have come across this awesome resource sfdc99.com

I will update this blog as I see more resources. Hope this helped you in exploring more into the unknown :)



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store