Salesforce is defined as an on-demand cloud-based CRM software.
CRM stands for Customer Relationship Management. It's a cloud-based system that manages all interactions and transactions related to customers.
CRM encompasses quotations, purchase orders, case management, and lead management.
It serves as a repository for customer-related data, used for solving business challenges and forecasting revenue.
CRM manages customer-related revenue, marketing, resolution tickets, and payment.
Theoretical Example: Multi-Cuisine Restaurant
Scenario involves a multi-cuisine restaurant called Faraz, with Nicole as the owner and Wasik as the founder/CEO of CloudVoser (a partner company).
The system is being built for the reception department.
Salesforce Account Setup
Go to developer.salesforce.com.
Click on "Browse Trials."
Choose "Salesforce Developer Edition" and sign up.
Fill in the form with your details:
Name.
Email address (must be accessible for verification).
Role (e.g., Architect, CEO).
Company (e.g., Commercial Technology).
Region (e.g., UAE, India).
Username (must be unique, in the format something@something.com, e.g., kaushik@directclovercell.com).
Complete the form and address any issues encountered.
Email verification is required; check your email for a verification link from Salesforce.
Set up your password after verifying your account.
Salesforce Front End vs. Back End
Back End: Identified by the presence of "Setup." This is where configurations and customizations are made.
Front End: Lacks the "Setup" option; accessed via the app launcher (the nine dots on the top left).
Key Lesson: Remember the right names for things (e.g., call the nine dots "App Launcher").
The app launcher is used to navigate to the front end.
A "Record" is a single instance of data within Salesforce.
An "Application" is a collection of objects or tabs.
An "Object" is a collection of fields.
A "Field" captures data or values.
Object Creation: Customer Object
Objective: To build a system to help Romana (the receptionist) manage customer data effectively.
Navigate to the back end ("Setup").
Go to "Object Manager" via:
Setup -> Object Manager, or
Setup -> Custom Object.
Click "Create" on the right-hand side and select "Custom Object."
Label: The front-end name of the object (e.g., Customer).
Plural Label: The plural form of the object name (e.g., Customers).
Object Name: Used in the back end (API name) (e.g., cust or Customer).
Description: A non-mandatory field for describing the object; useful for developers and clients (e.g., "Phase one requirement for reception department. This is going to help to capture customers' data.").
Record Name: How records of this object will be named (either text or auto-number).
Auto Number: Automatically generates a unique, sequential number for each record (e.g., CS0001).
Customer ID Auto-Number Settings
Display Format: The format of the auto-number (e.g., CS000).
Starting Number: The initial number for the auto-number sequence (e.g., 1).
Checkboxes: Leave the checkboxes as they are for now.
Launch New Custom Tab Wizard: A checkbox to launch the tab creation wizard immediately after saving the object.
Tab Style: Choose a style (e.g., balls, board, bridge, camera, CD logo).
Click "Next" through the following screens without changing anything, and then click "Save."
Fields
Fields store data values.
Example Fields:
Customer Name
Owner
Last Modified By
Created By
Creating Fields for the Customer Object
Requirements for the fields:
Name.
Mobile Number.
Email.
Date of Birth.
City.
Number of Guests.
Meal Preferences.
Payment Mode.
From the Customer object, go to "Fields & Relationships" and click "New."
Data Types
Data Type selection is crucial for storing the correct type of information.
Each type of field is described below:Mobile: Select relevant data type (Phone).
Email: Select email data type, make it unique.
Date of Birth: Select Date data type to save only the date.
City: Select text data type.
Number of Guests: Select Number data type, defining the number of demical points where required.
Meal preferences: Select Picklist (options: Veggie, Non-Veggie, None). You can create combinations using multi-select picklists.
Payment Mode: Select Picklist, e.g., Debit Card, Credit Card, UPI, Cash, Cryptocurrency. Set values to be alphabetized in the system.
Field Properties
Field Label: The name displayed on the front end (e.g., Mobile).
Length: The maximum length of the field (e.g., 10 digits for a mobile number).
Help Text: Descriptive text to guide users (e.g., "It should be a 10 digit without country code").
Required: Check this box to make the field mandatory.
Assignments
Task: Create three objects and 10 fields in each, with 10 records in each object, for a chosen domain.
Do not use formula, auto-number, or relationship fields for this assignment.
Start with basic field types like text, checkboxes, and picklists.