Category: Salesforce

  • Create Simple Mass Delete Button for ListView using Salesforce Ajax Toolkit

    In Many situation, I needed a Mass Delete Kind of button. Where, i can select records in ListView and simply click “Delete” button. In this example, we will create a simple List View button and add on “Search Layout” of that object. So, create a new Custom Button with following property: Display Type :  List Button…

  • Extended Mail Merge Template

    In many cases, I have seen customer struggling with “Standard Mail Merge” functionality. I have suggested them to either use “Drawloop“ or “Conga Composer“ however these applications are paid. Before going ahead let’s see the drawbacks of “Standard Mail Merge”: It runs on Client side and needs ActiveX Control It needs Internet Explorer It does…

  • Using FieldSet with Visualforce and Apex

    One of the disadvantages comes up with Custom Page or Overriding New or Edit button with Visualforce page is its “Maintenance”, if New Filed is Added or needed to remove field we have to modify our code every time. However, Thanks to Salesforce that we have “Field Set“. With the Help of “Dynamic Visualforce Binding”…

  • Edit Static Resource inside Force.com IDE Itself

    This tutorial is regarding editing of static resources inside eclipse itself. Normally if we want to edit any file inside zip, first we have to extract and edit the file, zip it again and reload into static resource. To save this round trips and time consuming process I found one very useful eclipse plugin called…

  • Creating First Application in Heroku using Eclipse

    Hello Readers, in this article we will see step by step procedure to deploy your first (Hello World) program in Heroku. There are two ways, first going through series of Commands of “Heroku” and “GIT” and other simple and smart way is to use Eclipse Capability with Heroku. To make things easier we will go…

  • Salesforce Interview Question – Part 14

    131. What will happen if you try to update record in After Trigger Context? Ans : You will get an error saying “record is Read only”. 132. Let’s say we have to update the same record in After Trigger context. Is there any way or workaround? Ans : If we create a new instance of…

  • 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…