Mindblown: a blog about philosophy.
-
How to start debugging an issue in Salesforce
Step1: Check logs Debug logs Audit Trails Records Records automated actions and results generated by end user or code Tracks configuration changes by Salesforce user in the Org Example Apex trigger actions, workflow, validation rules Create/updates happened on workflows, validation rule, sharing rules, classes etc Debug Logs: Will provide you information what actions are getting…
-
Eclipse/Class save error – This Apex class has batch or future jobs pending or in progress
I was constantly getting an error “This Apex class has batch or future jobs pending or in progress” whenever I was saving Apex class written for batch Apex. This was happening in the developer org where we develop a test managed package for the AppExchange product. There was no way I can throw out this…
-
Salesforce: Adding specific business days to a date using BusinessHours class
Businesshours is a system class provided by Salesforce for performing various operations on the DateTime values. It provides methods for checking if a date falls during business hours, whats the diff between two dates in business. The in-built method does allow adding the specific days to the DateTime value but there is a catch, it…
-
Changing default RDP port of Amazon EC2 server
First thing you should do if you are hosting a server in AWS cloud is to change its default ports. Why one should do that? Does changing default port number actually increase security? The 5 biggest security mistakes users make in Amazon’s cloud AWS Security Alert: Insecure RDP Server Configuration Steps to change the RDP…
-
Creating multiple tabs for same Salesforce Object
Many time I have seen Salesforce Admins wants multiple tabs for same object depending upon the RecordTypes or some other criteria like separate tabs for Premium Account, Gold Accounts and Silver. Indeed they can create multiple views and use the picklist and use “Go” button. But it has disadvantage like multiple clicks, not that user…
-
Salesforce: Adding specific working days to a Date
UPDATE: If you want to consider holidays and business hours you can check out this article. Many time while coding we come across the requirement in which we need to calculate the EndDate from a StartDate after a specific number of business/working days. That means excluding the weekends (Saturday & Sunday) Following is the code snippet which does…
-
I am “Monthly top contributor of month August” on Force.com Forum
http://blog.sforce.com/sforce/2010/09/monthly-top-contributors-summary.html
-
Showing the Processing/Loading image
I came across a good code sample while surfing for showing the Loading/Processing image on the VisualForce Page. You can find it at: http://force.siddheshkabe.co.in/2009/10/displaying-please-wait-ajax-animation.html
-
Shifted to prasannadeshpande.com
yeippie!