Code Samples

Last Updated on May 29, 2020 by Sudhir

Apex Syntax Highlighting

For Syntax Highlighter Evolved Plugin

See how to write your own plugin to get syntax highlighting for Apex language in Syntax Highlighter Evolved plugin for WordPress.

Photo by David Pisnoy on Unsplash

Convert 15 Character ID to 18

Go From Case Sensitive To Case Insensitive

Learn how to easily transform a case-sensitive 15 character record ID into an 18 character case safe ID. Write your own logic or use built-in mechanism in Apex.

Photo by Ross Findon on Unsplash

Get Custom Metadata Type Records From Apex

Simple, Easy, No Governor Limits Worry

Learn how to retrieve custom metadata type records in Apex. Best part is that these queries don’t count against the governor limits!

Photo by Twitter: @jankolario on Unsplash