Tag: Salesforce

  • Import User Quotas in Amount for Collaborative forecasting

    In Customizable Forecast, we can add the Quota for user by navigating to User Page and going to Quota related list However in Collaborative Forecasting aka Forecast 3 the only way is using Data Loader. 1. Log-in to the Data Loader and use the Insert function. 2. Click “Show all Salesforce objects and select “Forecasting…

  • How to Debug Manage Package in Salesforce

    Many times as a developer we need to debug the manage package for possible run time error. For example , while uploading contacts using Import wizard we get “Internal Server Error” and when we try to look into debug log there is no clear indications. However in my experience i have seen this kind of…

  • Salesforce Helptext like Custom Tooltip using JQuery

    Welcome back Readers. This is my first blog entry for year 2013, i know its too late. However i can ensure that i have lots of unique post which will come this year. I am starting this year with very light post , mimic the help-text style of Salesforce. Download Salesforce Helptext like Tooltip using…

  • Merge PDF in Salesforce Using Java, ITextPDF and OAuth 2

    Its long time, since i wrote any article because of my busy schedule However this time i came with advance one. In this article we are going to use the J2EE (Servlet) to Merge PDF attachment inside salesforce with the help of OAuth and ITextPDF jar file. The reason of writing this article is that…

  • Salesforce Interview Question – Part 13

    121 : Consider we have overall 90% code coverage however there is one class which have 0% code coverage. Can we still able to deploy that class on production? Ans : Yes. Minimum 1% required for every trigger and there is no such restriction for Apex class. 122 : How to get selected records ID…

  • Change year range in Datepicker – Salesforce

    In Datepicker control of salesforce, most of the developers must have faced issue on year range for Datepicker control. We cannot configure the year range in standard date picker control. However, for a long time i am using a JQuery code to change the range of years in Datepicker and thought to share with you.…

  • Salesforce + Git + Eclipse + EGIT = Better and Distributed Source Control

    During my J2EE and .Net days, I was much dependent on the subversion repository. I had never thought my code without SVN. When I moved to Salesforce few years back, the first thing I missed is code repository to have better source code control. As svn creates either “.svn” or “_svn” folder, it was not…

  • Salesforce Interview Question – Part 12

    111 : How to get the Recordtype Id using Dynamic Apex? Ans: Normally to get the RecordtypeId for any sObject we use SOQL and it will count against your limit. So below method will bypass the need of SOQL Query. or 112 : Write Apex code which will take the RecordID as input and on…

  • My Favorite Top 10 Features of Winter 13 release – Salesforce

    Dear Friends, I am very excited to write this article about the cool Winter 13 features which i have added in My List. There are lots of lots of new features added in this release and i have made the list of my top 10 favorite features. Yesterday Salesforce published its Winter 13 release notes…

  • Salesforce Interview Questions – Part 11

    101. How to force lead assignment rule via Apex while updating or adding the Lead? Ans : To enforce Assignment Rules in Apex you will need to perform following steps: Instantiate the “Database.DMLOptions” class. Set the “useDefaultRule” property of “assignmentRuleHeader” to True. Finally call a native method on your Lead called “setOptions”, with the Database.DMLOptions…