Sub topic 1
What Salesforce Is: Orgs, Editions, and Clouds
Prerequisites
You should understand the basic purpose of a customer relationship management (CRM) system, the SaaS model, and database tables and records.
What Salesforce Is
Salesforce is cloud software for managing customer relationships. It provides ready-made CRM applications and a platform for building custom applications, automation, and integrations.
You access Salesforce through a web browser, APIs, and developer tools. Salesforce operates the infrastructure, releases platform updates, and manages much of the security and availability.
Multi-tenant SaaS and the Platform Model
Salesforce uses multi-tenancy, an architecture in which many customers share managed infrastructure and application services. Each customer’s environment is logically isolated. A shared release model lets Salesforce update the platform for many customers while applying each customer’s configuration and permissions separately.
Salesforce is also a platform as a service (PaaS). Besides using standard CRM features, an organization can create custom objects, fields, automation, user interfaces, and Apex code on the platform.
What an Org Is
An org is a Salesforce environment that contains a customer’s users, configuration, applications, and records. It is the boundary where administrators configure features and where users work.
An org is different from a single user account. One person can have access to several orgs, such as a production org and a sandbox. Each org has its own identity, data, settings, and permissions.
Data Versus Metadata in an Org
Data is the business information stored in records, such as Accounts, Contacts, and Opportunities. Metadata is the configuration that describes how the org works, such as custom fields, page layouts, flows, and permission sets.
For example, an Account record is data. A custom Account field called Customer_Tier__c is metadata. Deployments usually move metadata between orgs, while data migration requires a separate process.
Identifying an Org: Org ID, My Domain, and Instance
An Org ID is Salesforce’s unique identifier for an org. My Domain is the org’s stable, customizable web address. The instance identifies the Salesforce service location currently hosting the org, such as NA## or EU##.
You can inspect these values with SOQL, Salesforce Object Query Language:
SELECT Id, Name, OrganizationType, IsSandbox, InstanceName
FROM OrganizationThe Salesforce CLI can show the connected org and its instance URL:
sf org display --target-org my-orgExercise
Which part of an org would you change to add a required custom field: data or metadata?
Show answer
Metadata. The field definition and its required setting are configuration; the values entered into that field are data.