Monthly Archives: April 2015

Salesforce. Solving View State Exceeded 135 Kb error by using JavaScript Remoting and JSRender

Previously I have posted some pagination example page https://patlatus.wordpress.com/2014/12/30/salesforce-using-standard-controller-with-extension-to-show-employee-phone-book/ Sometimes we need to reduce view state when it exceeds limits, we may use JSRender for that. I believe I have found this approach in documentation for PageBlockTableEnhancerADV component which also … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

Eval operator in Salesforce or Eval is not Evil

Is Eval Evil or not? Despite many authors try to convince us that Eval is evil, I would personally disagree. I believe Eval operator in Javascript is a great and sophisticated tool for sophisticated and responsible developers. I believe you … Continue reading

Posted in Uncategorized | Leave a comment

Salesforce: Code to generate picklist values and create SelectList options based on it

Code to generate picklist values and create SelectList options based on it

Posted in Uncategorized | Leave a comment

Salesforce: Drawbacks of tag apex:repeat

Recently I learned something new from this post http://salesforce.stackexchange.com/a/57783/3716 especially this apex:repeat This component can’t be used as a direct child of the following components: <apex:panelBar> <apex:selectCheckboxes> <apex:selectList> <apex:selectRadio> <apex:tabPanel> . Sad but true.

Posted in Uncategorized | Leave a comment

Salesforce: parse url query string to parameters map

Hi there! Found here really beautiful way to parse url query string to parameters map Enjoy.

Posted in Uncategorized | Leave a comment

Salesforce: Universal Batch Scheduling Class

Originally posted on The Silver Lining:
I’d like to propose a new way of working with scheduled batch classes. I’ve worked on several hundred Salesforce projects in the past few years and often see batch scheduling classes being created per…

Posted in Uncategorized | Leave a comment

Salesforce: check if user has assigned permission set

Code to check if user has assigned permission set

Posted in Uncategorized | Leave a comment