Creating Salesforce developer Account

Salesforce developer Account

Salesforce providing free developer edition where you can develop applications for free.

Salesforce provides many editions based on the customers needs. Each edition has their own features. Following are the paid editions providing by salesforce.

Contact Manager, Group, Professional, Enterprise and Unlimited.

In developer edition we can have access to Apex, visualforce,  the Integration APIs, sites, the database services and much more.

Following are licences available in developer edition.

– 2 Salesforce CRM licences

– 2 salesforce mobile licences

– 3 salesforce platform licences

– 5 salesforce partner licences

– 10 salesforce ccustomer portal licences

Limits of developer edition

– 5.0 MB of data storage

–  20 MB of file storage

– 5000 API requests per 24 hours perion

– Any number of applications

– A 500 MB bandwidth and 10 minute service request time limits  ( per rolling 24 hours) for site applications.

Creating Salesforce developer edition account

Go to and click on “JOIN NOW” button then you will navigate to registration page. Fill your details, make sure that your user name should be in email format. After filling all the details click on sign me up. Then you will navigate to following page.

Salesforce developer

Next open your email and check your mailbox, you will get mail notification from salesforce, you have click that link and set your password.

Now you are in salesforce developer edition. Here you can create your own applications, you can customize standard application.

For more information you can go to

Wrapper Class | Wrapper Class Example

Wrapper Class

A Wrapper class is a class whose instances are collection of other objects. It is used to display different objects on a Visual Force page in same table.

Wrapper Class Example 

Wrapper class for displaying Checkbox and String Data types in single table

Create a Class with the name “WrapperIntStringDisplayClass ” :

public with sharing class WrapperIntStringDisplayClass {

// Creating lists for the object Testing__c and DataLoadTest__c.

List<Testing__c> lsttest = new List<Testing__c>();

List<DataLoadTest__c> lstdlt = new List<DataLoadTest__c>();

// Creating List for Wrapper class

public List<wrapper> lstw = new List<wrapper>();

// Get method calling from PageBlockTable and return the list of wrapper to Table

public List<wrapper> getLstwrapperIntString() {

lsttest = [select name,city__c from Testing__c];

lstdlt = [select country__c,phone__c from DataLoadTest__c];

for(Integer i=0;i<lstdlt.size();i++){

lstw.add(new wrapper(lsttest[i].name,lsttest[i].city__c,lstdlt[i].country__c,lstdlt[i].phone__c));


return lstw;


// Wrapper Class Construction

public class wrapper{

public String Tname{get;set;}

public String Tcity{get;set;}

public String Dcountry{get;set;}

public String Dphone{get;set;}

// Wrapper class constructor

public wrapper(String Tname,String Tcity,String Dcountry,String Dphone){








Create a VF Page with controller:

<!– Creating this page for dispaly Testing__c and DataLoadTesting__c object in single table with check box –>

<apex:page sidebar=”false” controller=”WrapperIntStringDisplayClass”>

<apex:form >

<apex:pageBlock >

<apex:pageBlockSection >

<apex:pageBlockTable value=”{!lstwrapperIntString}”             var=”w”>

<apex:column headervalue=”Action”>

<apex:inputcheckbox />


<apex:column headervalue=”TestingName”>



<apex:column headerValue=”TestingCity”>



<apex:column headervalue=”DataLoadCountry”>



<apex:column headerValue=”DataLoadPhone”>








Salesforce Objects

Salesforce Objects

Objects are database tables that allows us to store data specific to organization in salesforce.

There are two type of objects in salesforce. They are.

1. Standard Objects : The objects provided by is called standard objects. examples of standard objects are accounts, contacts, opportunities, Leads, products, campaigns,cases, users, contracts,Report and dashboards etc…

2. Custom Object: The objects created by us are called custom objects. Custom objects store information that is unique and important to your organization. Custom objects are the heart of any application. Custom objects provide a structure for sharing data.

Custom objects have properties such as

– Custom fields

– Relationship to other object

– Page Layouts

– A custom user interface tab

Creating Salesforce Custom Object

To create custom object go to Setup -> Build-> Create -> Objects ->Click on new custom object  button and enter label name, plural label and object name.

And also enter Record Name according to the data type. There are two data types available to create record name, those are


2. Auto Number.

And also we have following optional features while creating object.

Allow reports: If we check this check box then only these objects are available to create reports.

Allow Activities: If we check this chis check box then we are able to create activities on this object.

Track Field History: If we check this check box then only we are to track fields. We can track up to 20 fields for single object.

And also we following deployment Status

In development: If we check this check box, this object is still in development mode. This object is not available for deployments.

Deployed: After selecting this check box then only it will be available for deployment.

The following options are available only when creating custom object first time.

Add notes and attachments related list

Launch new custom tab wizard after saving this custom object

After completing all the details click on save.

If we does not select “Launch new custom tab wizard” from object creation page, the object will save with out tab appearance. In this case we have to create tab for this object. If we select this check box the object will save and tab will be created and appeared.


Tab is a User interface to create records for object and to view the records in objects.

In salesforce we three types of tabs

1. Custom object Tab

2. Web Tab

3. Visualforce Tab

Path to create Custom tabs.

Setup -> Build -> Create -> Tab -> click on New tab and enter the details to complete the tab creation process.


Salesforce Data Loader

Salesforce Data Loader

– What is Salesforce Data Loader data loader? and why we use data loader?
– Salesforce Data Loader is a tool provided by sales force to perform following opearation on data.
– By using Salesforce data loader you can load up to 5,00,000 records.
– Salesforce data loader good tool to load bulk amount of data into your Sobjects.
– By using Salesforce data loader you can schedule the loads.
Insert, Update, Upsert, Delete, Hard delete, Export, Export All

– When importing data, Data Loader reads, extracts, and loads data from comma separated values(CSV) files or from databasa conections. When exporting data, it outputs CSV files.

We can use data loader in following 2 ways.
User Interface
Command Line

Key features of the data loader
– An easy-to-use wizard interface for interactive use
– An alternate command line interface for automated batch operations
– Support for large files with up to 5 million records
– Drag-and-drop field mapping
–  Support for all objects, including custom objects
– Can be used to process data in both Salesforce and
– Detailed success and error log files in CSV format
– A built-in CSV file viewer
– Support for Windows 7

Import Wizard vs  Salesforce Data Loader Data Loader

Use the Salesforce Data Loader Data Loader when
– To load the data greater than 50,000 we will go for data loader. We can load up to 5,00,000 records at a time by using data loader.
– To load the data into an object that is not supported by the import wizards.
– To schedule regular data loads, such as nightly imports.
– To export data for backup purposes.

Use the import Wizard when
– By using import wizard we can load below 50,000 records.
– The object you need to import is supported by import wizard. Go to setup -> Data management here you can find what are all the objects supported through import wizards.
– You want to prevent duplicates by uploading records according to account name and site, contact email address, or lead email address you can use import wizard.

Installing Data Loader

1. Log in to your salesforce application.

2. Go to setup-> Data management ->data loader

see the following image for reference

Salesforce Dataloader

Once you clicked on data loader you will navigate to another screen there you can download data loader.

3. Install that downloaded file in your machine.

4. To start data loader double click on short cut on your desktop or go to Start > all programs >>Apex data loader>Apex Data loader.

Following is look and feel of data loader.

Salesforce Data Loader

 To log in to data loader click on any operation and provide your log in credentials. If you are log in to Production please provide “Password+security token” in password field.

Before log in to data loader please change settings. Go to settings and provide server host url.

If you are working under proxy settings please provide proxy details.

Salesforce data loader

Salesforce Data Loader Operations

Inserting records:

To insert records into Salesforce click on insert button and login with your credentials, during login provide “your org password + security token”.

Click on NEXT and select the object you want to insert the records and choose the .csv file you want upload.

Note: Data loader allow only .csv files.

Salesforce data loader

                   Map the fields by using drag and drop.

Salesforce dataloader

Click on ok or save the mapping if need in future.

Click on NEXT and then click on Finish. After inserting records it will display error files and success files.


To update the records click on update and login.

Next select the csv file contains updated records with IDs and sect the object and complete the operation.


Upsert also same as update but here we can insert new records also.

By using this operation we can insert new records and update existing new records.


Export means down loading the data from organization
– Click on export button and then login with your credentials.
– Select the object you want to export data and specify the folder where you want to  save this exported file.
– And then finish the operation

Export All: “Export All” means it will give the data including data in recycle bin.


Delete means it will delete data from your organization. To delete the data you want export the existing data with ID’s and then by using this file we can delete the data. The data deleted by this operation will be available in recycle bin. If want delete data permanently choose hard delete option.

To delete data from object follow below mentioned activities
– Click on delete button and login with your org credentials.
– Select the object you want to remove the data. And select the csv files with record id’s you want remove.
– Map the ID field and then complete activity

Hard Delete

Hard delete means deleting the data permanently from the org. That mean data will not be stored recycle bin. To enable this button enable bulk API. To enable bulk API button go to data loader settings and then enable bulk API check box.

Know more about data loader.