Salesforce Learning Guide

Tuesday, 18 November 2014

Introduction about Cloud Computing “What’s the cloud?”  “Where is the cloud?”  “Are we in the cloud now?!” These are all questions you’ve probably heard or even asked yourself. Now new trend in IT is Cloud computing. In the simplest terms, cloud computing means storing and accessing data and programs over the Internet instead of your computer’s hard drive.  What...
Following are list of salesforce(Cloud computing Training) materials. 1. To view basic fundamental Salesforce (Cloud computing Training) Material click following link. Salesforce Fundamentals (Force.com Platform Fundamentals) 2. To know the Sales force editions and Pricing details See the following link. Salesforce-editions-and-Pricing 3. To know more about Salesforce(Cloud computing Training) Material see the following links. Salesforce Development Life Cycle Salesforce Apex code...
Model view controller (MVC) is a software architecture pattern which separates the representation of information from the user’s interaction with it. In addition to dividing the application into three kinds of components, the MVC design defines the interactions between them. A controller can send commands to its associated view to change the view’s presentation of the...
Using VLOOKUP function in validation rules What is the purpose of VLOOKUP function? It searches an object for a record where specified field matches the specified lookup value. If a match is found, returns another specified value. Syntax of vlookup: VLOOKUP(field_to_return, field_on_lookup_object, lookup_value) Here I will give a simple example, how to use VLOOKUP...
Working with Salesforce Chatter: What is Salesforce chatter? Chatter in salesforce allows you to collaborate the people with each other in your organization. You can connect with your coworkers and you can share information securely in real time. You can create groups like Facebook groups such public groups and private groups and you can invite your coworkers...
Chatter Groups What is a chatter groups? What type of chatter groups we can create? Groups allow collaborate with specific set of people. Many of you know about groups in Facebook. In Facebook you can create groups and you can invite your friends as a members. The same type of groups you can create in salesforce chatter groups and you can invite members to that group....
Adding multiple records: Generally by using standard salesforce tab you can enter only one record at a time form UI. I don’t want to enter single record at a time. I want to enter multiple records at time. How can we achieve this? We can achieve this by using simple visual force page. Example: I want to enter multiple accounts in single  save. See the below visualforce...
Object Permissions What is object permissions? In salesforce we can provide permissions to object at profile/permissions sets level. Object level we can provide read, create, edit, delete, view all & Modify all permissions in profiles/permission sets. Read: Users can only read/view records. Create: Users can read & create records. Edit: Users can read &...
Field Level Security (FLS): What is Field level security (FLS)? At object level we can give permission on what user can with salesforce record like user can read, create, edit, delete, view all & modify all. Object permissions we can give at object level. Now i want to restrict few sensitive fields form my users. I don’t want display these sensitive fields for...
What is viewState? ViewState holds state of the visualforce page that holds state that includes the fields, components and controller state. Viewstate data in encrypted and cannot be viewed tools like firebug. To maintain state in a Visualforce page, the Force.com platform includes the state of components, field values, and controller state in a hidden form element....
Rendering visualforce page as a pdf How can you rendering vf page as a pdf? By using renderAs attribute you can render visualforce page as a pdf. Where we can use renderAs attribute? We can use renderAs attribute in apexPage tag like below. <apex:page  StandardController=”Account ” renderAs=”pdf”> Below is simple code to rendering a visualforce page as...
Force.com IDE What is Force.com IDE? It is powerful tool, which is used to create/modify & deploying Salesforce applications. How to install force.com IDE? 1. Install Java SE Development kit (JDK), Runtime environment – Force.com plug in will fail to load if you don’t have the full Java JDK. 2. Install eclipse. 3. After installing eclipse, launch eclipse...
Using force.com IDE Using force.com IDE is very simple. How to create a simple project by using this tool? 1. Open Eclipse and go to file -> click on new and select force.com project & enter your project name and credentials. 2. After logging in, you can select metadata components to download. 3. After selecting metadata components click on finish....
Standard Controllers A StandardController object that is automatically provided for standard and all custom objects, bindable to a Visualforce page component with the “standardController” attribute. It provides a reference to a single/list of record to a set of common actions for data processing and default navigation. What are the tasks of standard controller? Standard controllers provides ability to access and interact with structured business data contained in records...
What is Standard List Controllers? By using standard standard list controllers we can manage set of records. For every standard controller there exists a standard list controller that allows you to create pages that display and act on a set of records, such as list pages, related lists, and mass action pages. We can associate define standard list controller by using recordSetVar. <apex:page standardController="Account" recordSetVar="accounts">   Standard list controller provides...
What is <apex:SelectList> tag? Apex:selectList is used to display list options that allows user to select one.more values at a time. See below Syntax to use apex:select list <apex:selectList size=”1″ value=”{!filterId}”> <apex:actionSupport event=”onchange” reRender=”oppList”/> <apex:selectOptions value=”{!listviewoptions}”/> </apex:selectList> Know more about selectList Below is the simple example to display list of records in visualforce page with list...
Custom Controllers What is custom controller? why we go for custom controllers? Standard controllers provides only built in standard functionality to visualforce pages, such as Save, Edit, Cancel & Delete etc…. We cannot customize/develop our own functionality by using standard controllers. By using custom controllers we can write our own functionality or override...
Doing deployments when Active job is running What is active job here? Any schedule job or apex job which is running in our salesforce system. Generally in salesforce, we cannot perform deployments when active jobs are there & we are trying to deploy metadata related to active job in system. In this case we will remove jobs from our environment and continue...
Quick Deploy –  Deployments in less time What is quick deploy? By using this option you can deploy components to production with running test classes on your project release day. But you have to do successful validation before your release day. Generally in salesforce deploying code to production very hard when your organization contain more test methods. If...
actionFunction What is <apex:actionFunction> tag? This tag defines  JavaScript functions to be called from JavaScript code.  By using this tag you can call controllers methods from java script code using an AJAX request . This component must be a child of <apex:form> tag. And we cannot place this tag inside an iteration tag like <apex:pageBlockTable> & <apex:repet> now. Earlier we were able to do this.But with api version 23 we cannot place <apex:actionFunction>...
Session settings at profile level – Winter 15 update Now you can manage session timeout at profile level. Salesforce has provided this option in their winter 15 release. Earlier (before winter 15) we had only option to set this change at organization level. But in winter 15, you can manage session timeout at profile level. profile level changes override the organization...
Now you can manage password policies at profile level in salesforce In winter’15 release salesforce has provided this feature to mange password policies like password expire in, history, length, complexity requirement, maximum invalid login attempts and lockout effective period at profile level. Earlier this option is available at organization level. Now with this winter’15...
What is a fieldset? In this section i will explain about what is a fieldset? How can we create that? and how can we use that in a visualforce page? Fieldset is a grouping of fields, you can use this fieldset in visualforce page to display that group of fields in that page. If you are using field set in visualforce to display fields, then you can add, remove &...
What is profile? A profile is a group/collection of settings and permissions that define what a user can do in salesforce. A profile controls “Object permissions, Field permissions, User permissions, Tab settings, App settings, Apex class access, Visualforce page access, Page layouts, Record Types, Login hours & Login IP ranges. You can define profiles by user’s...
1.       What is the biggest difference between Apex and most programming languages? ·         Apex provides built-in Data Manipulation Calls(Like Insert,Update,Delete etc.,)without establishing any connections to database and closing the connections. ·        ...