Step by Step Salesforce Tutorial – Creating Workflow rule – 5 of 6

Step by Step Salesforce Tutorial – Creating Workflow rule – 5 of n

Workflow is the automation of the following types of actions based on your organization’s processes:

  • Tasks – Assign a new task to a user, role, or record owner.
  • Email Alerts – Send an email to one or more recipients you specify.
  • Field Updates – Update the value of a field on a record.
  • Outbound Messages – Send a secure configurable API message (in XML format) to a designated listener.

For example, workflow can automatically:

  • Assign follow-up tasks to a support rep one week after a case is updated.
  • Send sales management an email alert when a sales rep qualifies a large deal.
  • Change the Owner field on a contract three days before it expires.
  • Trigger an outbound API message to an external HR system to initiate the reimbursement process for an approved expense report.

To create workflow rule, go to App Setup | Workflow & Approvals | Workflow rules and click on new Workflow rule.

Salesforce creating Workflow rule step 1
Salesforce creating Workflow rule step 1

Step 1 in creating workflow rule is selecting the object, on which the workflow will be created.

Continue reading “Step by Step Salesforce Tutorial – Creating Workflow rule – 5 of 6”

Step by Step Salesforce Tutorial – Creating Email Template – 4 of 6

Step by Step Salesforce Tutorial – Creating Email Template – 4 of n

This time we will see, how to create email templates in Salesforce.com

Create Email Template in Salesforce
Create Email Template in Salesforce

To create email template, go to Personal Setup | Email | My Templates and click on New Template.

Continue reading “Step by Step Salesforce Tutorial – Creating Email Template – 4 of 6”

Step by Step Salesforce Tutorial – Creating Tab and Validation Rule – 3 of 6

Step by Step Salesforce Tutorial – Creating Tab and Validation Rule – 3 of n

In this tutorial, we are going to create Tab and Validation rules for Automated tuition class registration.

To create Tab go to Setup -> Create -> Tabs -> New Custom object Tabs, and there select object Student.

After creation of tab, we can also customize / edit the page layout.

Edit Page Layout Salesforce
Edit Page Layout Salesforce

As you can see, On Custom tab, Go to Page Layouts section and click on Edit button.

Set Page layout Salesforce
Set Page layout Salesforce

Final look of page is shown in above screen shot.

Creating Validation rule in salesforce:

Now lets have a look in Validation feature of salesforce.

Continue reading “Step by Step Salesforce Tutorial – Creating Tab and Validation Rule – 3 of 6”

Step by Step Salesforce Tutorial – Creating fields – 2 of 6

Author posted by Jitendra on Posted on under category Categories Salesforce and tagged as Tags with 2 Comments on Step by Step Salesforce Tutorial – Creating fields – 2 of 6

Step by Step Salesforce Tutorial – Creating fields – 2 of n series tutorial

In this article we will see, how to create the custom fields in salesforce.com

To proceed further, create one more object named course.

Create Custom object though Salesforce
Create "Course" Custom object though Salesforce

Continue reading “Step by Step Salesforce Tutorial – Creating fields – 2 of 6”

Step by Step Salesforce Tutorial – Creating custom object – 1 of 6

Step by Step Salesforce Tutorial – Creating custom object – 1 of n tutorial series

Salesforce.com or SFDC is award wining CRM tool and many companies have started using the Salesforce because of flexibility, userfriendly and lots of applications available.

Prerequesties:

To start with this series, you must have below softwares:

  1. Developer Account of Salesforce
  2. Eclipse with Salesforce Plugin
  3. Internet Connection

Continue reading “Step by Step Salesforce Tutorial – Creating custom object – 1 of 6”

One visualforce page as an iframe in another visualforce page – Salesforce.com

Example to include one visualforce page into another visual force with the help of iframe and getting back the request parameter in visual force page.

There may be requirement some times to open one visualforce page into existing page as an iframe.

To achieve this, we can use below lines of code in Visualforce.

<ifram src=”…/MyVFPage?var1= { ! MyVariable1 } &&var2= {  ! MyVariable2 } ” …/>

where { ! MyVariable1 } is custom variable.

to read above parameters in resultant visual force page, we can use:

PageReference pageRef = ApexPages.currentPage();
Map pageMap = pageRef.getParameters();
String var1 = pageMap.get(‘var1‘)

Salesforce Interview Questions – Part 2

Interview questions of salesforce.com, interview questions of visualforce.com and APEX

10. Do governor limits apply to sandbox instances?

Ans : Governor limits do apply to all Salesforce instances (trial, developer, production or sandbox environments). However code coverage and successful execution of test classes is only enforced when deploying to a production environment.
Continue reading “Salesforce Interview Questions – Part 2”

Life Cycle of Visualforce page during GET Request- Salesforce Interview question

Explain the life cycle of visual force page of the Salesforce.com in GET request mode

Visual force Life cycle Salesforce

In the diagram above the user initially requests a page, either by entering a URL or clicking a link or button.This initial page request is called the get request.

Continue reading “Life Cycle of Visualforce page during GET Request- Salesforce Interview question”

Explain the MVC design pattern of Salesforce.com – Interview Question

Salesforce Interview question, How salesforce.com follows the (Model View Controller) MVC design pattern.

Model view controller (MVC) design pattern is the one of the most popular design pattern in 3 tier applications. Salesforce.com is award winning tool to manage all the data of sales team of an organization. The flexibility and assurance of safe data provided by Salesforce.com results into nonparallel development capabilities to the developer. One normal questions asked in salesforce is explaining the MVC behavior of the application.

Salesforce Model view controller (MVC) Continue reading “Explain the MVC design pattern of Salesforce.com – Interview Question”

Install or Update Force.com IDE in Eclipse – Salesforce.com

Install the Salesforce IDE and Set up the Salesforce Project in Eclipse.

First step to start with coding in Salesforce.com is to install the force.com IDE in Eclipse. I will target the new version of eclipse which is Kepler. Force.com IDE is supported in Eclipse Juno as well as Eclipse Kepler.

So, we will start with launching the Eclipse.

Eclipse Kepler
Eclipse Kepler

then goto Help ->  Software Update / Install new software…

Eclipse Software update for salesforce

Continue reading “Install or Update Force.com IDE in Eclipse – Salesforce.com”