Problem I am trying to search account table by providing a search string. I am building a query based in […]
Tag: salesforce-apex
Design pattern for logger implementation
Problem I have two classes ExceptionLog and DebugLog public class ExceptionLog { public static String StackTrace {get; set;} public static […]
Detecting Windows Phone and Tablet clients
Problem This is called from a VF page, styleClass=”{!IF(isWindows8Device, ‘windows’, ‘not_windows’)}” So if it’s a windows device, return true. The […]
Refactoring APEX to keep all database calls outside of for loops
Problem I have the following APEX code. I have been trying for hours to try and refactor it so that […]