Year: 2013

  • Dynamic Report Filters in Salesforce

    I have seen many customers in need to have Dynamic Filter. In Absence of Dynamic filter, many times we end up with creating multiple reports with same format and different condition. Many time, we need something like get all cases related to Parent Account of Opportunity. We can simply create a report for Case and…

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

  • Resolve Error “ArtifactTransferException: Could not transfer artifact” or “Failure to Transfer” in Maven

    This is very short tips to resolve the errors “ArtifactTransferException: Could not transfer artifact” that may occur in Maven project in Eclipse. Steps to resolve: Open folder by running this text (without Quotes) in Search Explorer of Window “%USERPROFILE%.m2”. After running above command, “m2” folder of maven will open. Now search for file (without Quotes) “*.lastUpdated”.…

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