Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Salesforce.com customization handbook

You're reading from   Salesforce.com customization handbook Customize Salesforce to automate your business requirements

Arrow left icon
Product type Paperback
Published in Sep 2014
Publisher
ISBN-13 9781849685986
Length 454 pages
Edition 1st Edition
Concepts
Arrow right icon
Toc

Table of Contents (14) Chapters Close

Preface 1. Getting Started with Salesforce 2. User Management and Organization Administration FREE CHAPTER 3. Making Your Salesforce Data Secure – Security Settings in Salesforce 4. Domain Management, E-mail Administration, and Google Apps Settings 5. CRM Functions and Streamlining Business Requirements 6. Automating a Business Process 7. Concepts of Data Management 8. Reports and Dashboards in Salesforce 9. Chatter Configuration 10. Mobile Administration 11. Setting Up Deployment Processes 12. AppExchange – Extending Salesforce Functionality Index

The Formula field


Formula fields in Salesforce are a special type of read-only fields that evaluate the specific equation at runtime and generate values accordingly. These fields are generally used where the data is entered by the user in a field and that data needs some logical processing and storage in another field. We need to define a formula expression/equation that will be executed while a record is being saved.

Let's start with an example. The event company Appiuss wants to calculate the age of the participants while they are registering for an event, depending on the date of birth the registrant entered at the time of registration. Additionally, they want to show it as a read-only field.

In order to fulfill this requirement, you can follow these steps:

  1. Navigate to Setup | Build | Create | Objects.

  2. Click on the label of the object; in our case, click on Event Registration.

  3. Under the Custom fields and relationships section, click on the New button. It will redirect you to a new window from...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image