January 30, 2012

SFDC Tutorial

Hi All,
Salesforce.com is really a worth CRM Product.
It is based on Cloud computing.
There is no need of software and hardware to be installed. Just a browser is enough.
Log in with your username and password.
Everything is done effectively in cloud. From anywhere you can log in and work with it.

In SFDC there is no need to write complex SQL queries. Database is maintained by SFDC itself. Which is an added advantage for us.


SFDC Training

For SFDC Training, kindly click the link below:


This site helps you to understand the features available in Salesforce.com.


Spring ‘12 Chatter improvements

• Pilot Resources and Response Bodies
• New and Changed Resources
• New and Changed Response Bodies
• New and Changed Request Bodies


January 27, 2012

SFDC Beginners

Hi All,
Salesforce.com is really a good CRM tool.

To experience it just create an account in developer edition and enjoy. To create a developer account, kindly use the below link


Starting from Home page, explore all the tabs, create some records and experience the product.

Then use this link to study more: http://www.salesforce.com/services-training/training_certification/online/





Saving a chatter post in Spring' 12 Release

This symbol indicates that Chatter post has been bookmarked.
This symbol indicates that Chatter post has not been bookmarked.

If a chatter post is bookmarked, you will receive emails for each and every comment for that particular chatter post.


Spring '12 Features that need to contact Salesforce.com to enable the features

  • Chatter Messenger
  • Chatter Answers
  • Live Agent
  • Console push notifications
  • Knowledge Actions(Pilot)
  • Introducing Analytics Edition
    1. Joined Reports—Generally Available
    2. Cross Filters—Generally Available
    3. Data Bucketing—Generally Available
  • Data.com Corporate
  • Data.com Clean - Beta
  • Single View State
  • Repeater and Data Table Pagination(Pilot)
  • Encrypted Fields Available in Full-Copy Sandbox
  • Paging Using the OFFSET Clause

Spring ‘12 Certification Maintenance

To know more about what’s new in the Spring ’12 release, please follow the below link:


SFDC DEV 401 study - Homepage Editable Standard Components

The Homepage Editable Standard Components are
  • Message and Alerts 
  • Custom Links


SFDC DEV 401 Study material

Hi All,
There is no proper study materials for DEV 401.
If you are preparing for the DEV 401 exam, just mail me.
I will send some workbooks, which will be very very useful to clear the exam.

My email id is: info@infallibletechie.com


January 24, 2012

SFDC DEV 401 Study Guides

5% Application Design

5% Overview of Force.com Platform

32% Data Model

15% User Interface

23% Business Logic

10% Data Management

10% Reporting and Analytics


SFDC DEV 401 Study Materials

For clearing DEV 401 exam, there is no proper study material.

Visit http://certification.salesforce.com/Home for clear picture.

There will be less number of direct questions. Mostly questions were easy to answer, if we have good practical knowledge. So visit http://www.salesforce.com/services-training/training_certification/ for practical knowledge.

Clearing DEV 401 is not an easy joke. Work hard before you apply for the exam.

Create an account in http://developer.force.com/ and experience all the features in SFDC. Explore all the features available. Practical knowledge plays a vital role in clearing the exam.

All the very best for all!!! Just Rock!!!


January 17, 2012

SFDC Dev 401 Exam Important topics

  • Master-Detail / Lookup / Hierarchical relationships
  • Report / Report Types 
  • Dashboards
  • Org-Wide Default
  • Sharing Rules
  • Approval Processes (Unanimous / Parallel / Skipping Steps / Dynamic Routing)
  • Junction Object
  • Data Loader / Import Wizard
  • Formula Fields
  • Analytical Snapshot
  • Workflows
  • Encrypted Fields
  • External Ids
  • Governor Limits

January 10, 2012

Getting Day, Month and Year from Date

Sample Code:

Date datobj;
Integer dy = datobj.day();
Integer mon = datobj.month();
Integer yr = datobj.year();

To send parameters from one visualforce page to another

The below code is used to send parameters from one visualforce page to another visualforce page.


<apex:outputlink value = "/apex/sample">
  <apex:param name = "msg" value = "hi"/>


public String message = System.CurrentPagereference().getParameters().get('msg');

January 6, 2012

Topics to be covered for SFDC DEV 401 Certification

- Security controls (also learn about criteria based sharing)
- Profiles
- object level permissions
- Field level permissions
- Record level permissions
- Record level access
- Role hierarchy
- Reports
- How are objects related to reports?
- Type of dashboard to component to use per case scenarios
- What can be done with custom report types?
- Analytic Snapshots
- Workflows
- Parallel approval
- Approval process
- Use case for time triggered actions
- Limitations of data loader on importing standard, custom objects
- Features of the data loader
- Sidebar feature how are items added
- User objects
- Types of relationships including hierarchal
- Use case on best relationship to use
- Use case for using Visualforce and Apex
- Force.com Sites
- Encrypted Fields
- External ID fields
- System Fields
- Formula fields
- Console
- Page layouts & Mini page layouts
- Record Ids
- Process Visualizer
- Multiple currencies


Like Operator usage in Apex


String sql = 'Select Name From Account WHERE Name LIKE \'%' + searchKeyword + '%\'';


List<Contact> listCon = [SELECT Id, FirstName FROM Contact WHERE FirstName LIKE '%test%'];

system.debug('List contacts are ' + listCon);

where searchKeyword is an Apex variable.

Hide and Show in Visualforce page

Sample code:


public class popup
  public boolean displayPopup {get; set;}

  public void closePopup()
    displayPopup = false;

  public void showPopup()
    displayPopup = true;

Visualforce page:

<apex:page controller = "popup">
    <apex:commandButton value = "Show" action = "{!showPopup}"/>
    <apex:outputPanel layout = "block" rendered = "{!displayPopup}">
      <apex:commandButton value = "hide" action = "{!closePopup}"/>


Rendering as PDF in Visualforce page

Sample Code:

<apex:page renderAs = "pdf">
    Testing PDF


Disabling Sidebar in Visualforce page

Sample Code:

<apex:page sidebar = "false">


Enabling Inline Editing in Visualforce page

Sample code:

<apex:detail subject = "{!account.Id}" inlineEdit = "true">

January 5, 2012

How to execute a SOQL query using APEX?

String soql = "SOQL Query";
list_namae = Database.(soql);


List<Account> acc {get; set;}
String soql = "SELECT Name FROM Account";
acc = Database.query(soql);

Search Engine using Apex and Visualforce


<apex:page standardController="Member__c" extensions="Search" >

  <style type = "text/css">

    .Bld { font-weight:bold;}
  <apex:form >
    <apex:pageblock title="Members" >
      <table align = "center" width = "100%" cellspacing = "5">
          <td class = "Bld">Member Name:</td>
          <td><apex:inputText value="{!memName}" /></td>         
          <td align = "center" class = "Bld" colspan = "2"><apex:commandButton value="Find" action="{!find}"/></td>
    <apex:pageBlock title="Search Result">
      <apex:pageblockTable value="{!memList}" var="a">
        <apex:column >
          <apex:outputlink value="https://na12.salesforce.com/{!a.id}">{!a.Name}</apex:outputlink>
        <apex:column value="{!a.id}"/>


public class Search
  public String memName {get; set;}
  public List<Member__c>  memList {get; set;}
  public Search(ApexPages.StandardController controller)
  public void find()
    String sql = 'SELECT Name,id FROM Member__c WHERE Name LIKE \'%'+memName+'%\' LIMIT 20';
    memList = Database.query(sql);

Slide Show using Apex and Visualforce


<apex:page standardController="Photo__c" extensions="SlideShow" sidebar="false">

  <apex:form >

    <apex:image url="{!tmp}"/> 
    <apex:commandButton action="{!prev}" value="Previous"/>&nbsp;&nbsp;&nbsp;
    <apex:commandButton action="{!nxt}" value="Next"/>   


Public Class SlideShow
    public List<Photo__c> photo {get; set;}
    public String imageTag {get; set;}
    public String photoUrl {get; set;}
    public Integer strt=0,ed=1,len=0,i=0,indx=0;
    public String tmp {get; set;}
    public SlideShow(ApexPages.StandardController controller)
      String sql = 'SELECT image__c FROM Photo__c';
      photo = Database.query(sql);
      imageTag = photo.get(indx).image__c;
      strt = imageTag.indexOf('src=',0) + 5;
      ed = imageTag.lastIndexOf('alt=') - 2;
      tmp = imageTag.substring(strt,ed);
    public void prev()
      if(indx != 0)
      indx = indx - 1;
      String sql = 'SELECT image__c FROM Photo__c';
      photo = Database.query(sql);
      imageTag = photo.get(indx).image__c;
      strt = imageTag.indexOf('src=',0) + 5;
      ed = imageTag.lastIndexOf('alt=') - 2;
      tmp = imageTag.substring(strt,ed);

    public void nxt()
      len = [SELECT COUNT() FROM Photo__c];
      if(indx != (len-1))
      indx = indx + 1;
      String sql = 'SELECT image__c FROM Photo__c';
      photo = Database.query(sql);
      imageTag = photo.get(indx).image__c;
      len =imageTag.length();
      strt = imageTag.indexOf('src=',0) + 5;
      ed = imageTag.lastIndexOf('alt=') - 2;
      tmp = imageTag.substring(strt,ed);