Data Classification
What Data Classification records field by field, how to set it up and why it blocks no access: metadata fields, CSV limits and reporting.
How does an org record, field by field, which Salesforce data is sensitive and which regulation covers it? Data Classification is the platform’s answer. This page explains what it records, what it does not do, how to set it up and what to check before production.
What it is
A field is the box that holds one piece of data on a record: an account’s phone number, a product’s balance. Metadata is the data that describes an org’s configuration, not its contents.
Data Classification adds four metadata fields to a field’s definition. They hold no customer data: they describe the field. Help sums up what they are for: recording the data’s sensitivity and its compliance categorization at the field level, and using that to guide decisions around access, reporting and compliance.
It is available in all editions, in Salesforce Classic and Lightning Experience, and it is enabled automatically in every org: there is nothing to turn on. Viewing or editing these fields requires the Customize Application or Modify Data Classification permission.
What it does not do
This is the most expensive misunderstanding to undo, so it comes before the detail.
Of the Field Usage field, Help says something explicit: changing its value does not hide or expose the field. Marking a field Hidden hides it from nobody.
It is an inference of this page, not a sentence from Help, that the same holds for the other three: none of the four by itself changes who sees the field. Help assigns that job to another tool. In “Control Who Sees What”, access to a field is decided by the field permissions of permission sets and profiles — a profile is the base set of settings a user has; a permission set is assigned on top — and it is blunt: no other setting protects a field as much.
Data Classification documents. Field-level security enforces. Classifying is the inventory you use to decide where to tighten that security, not the tightening.
The four metadata fields
The API names come from two: the Tooling API, which exposes an org’s metadata to development tools, and the SOAP API, Salesforce’s classic integration API.
The acronyms, as Help expands them: CCPA is the California Consumer Privacy Act; COPPA, the Children’s Online Privacy Protection Act; GDPR, the General Data Protection Regulation; HIPAA, the Health Insurance Portability and Accountability Act; PCI, Payment Card Industry; PII, Personally Identifiable Information. PersonalInfo is personal information, for use with the Enhanced Personal Information Management feature, and is only available if that feature and Digital Experiences are enabled.
| Field | What it records | Picklist values | API field |
|---|---|---|---|
| Data Owner | The person or group associated with the field, who understands the data’s importance and may be the one setting the minimum sensitivity level | Help publishes no values for this field | BusinessOwnerId |
| Data Sensitivity Level | The sensitivity of the data the field contains | Public, Internal, Confidential, Restricted, MissionCritical | SecurityClassification (Tooling API), FieldSecurityClassification (SOAP API) |
| Field Usage | Whether the field is in use | Active, DeprecateCandidate, Hidden | BusinessStatus |
| Compliance Categorization | The compliance acts, definitions or regulations related to the field’s data | CCPA, COPPA, GDPR, HIPAA, PCI, PersonalInfo, PII | ComplianceGroup |
The five sensitivity levels are a scale. This is the gloss Help gives each one.
| Level | Who the data reaches |
|---|---|
| Public | The public, to view but not alter |
| Internal | Company employees and contractors; not shared publicly, and shared with customers, partners and others under an NDA |
| Confidential | An approved group of employees and contractors; not restricted by law, regulation or a master service agreement |
| Restricted | Only an approved group; likely restricted by law, regulation, an NDA or a master service agreement |
| MissionCritical | Only a small group; almost always restricted by those same means, with heightened contractual requirements for third parties |
Help glosses the Field Usage values too: Active, in use and visible; DeprecateCandidate, planned for deprecation; Hidden, not visible and possibly planned for deprecation. The article brushes against itself here: it says “not visible” and, two lines later, that changing the value does not hide or expose the field. The second sentence describes the effect; the first, an intent.
The values of Compliance Categorization, Data Sensitivity Level and Field Usage can all be customized.
How a field gets classified
The default sensitivity level. In Setup, Data Classification Settings carries the “Use default data sensitivity level” checkbox. Some fields already carry a value; Help’s example is an email field with Confidential. Selecting the checkbox applies those values and makes them visible in the UI.
Field by field. In Object Manager, the object, Fields & Relationships, the field, Edit; pick the value for each metadata field from its dropdown and save.
In bulk, with a CSV, text with one record per line and values separated by commas. Data Classification Upload uploads a file of values; Data Classification Download downloads the ones already set.
Through Metadata API, the API that moves configuration between orgs. Help points to its CustomField type for fields that do not appear in the Object Manager, and says several fields can be updated at once with it.
The picklist values. Data Classification Settings carries two buttons, Edit Data Sensitivity Picklist Values and Edit Compliance Categorization Picklist Values, which add, delete, rename or reorder a value. Each value takes a description and the High-risk level checkbox, which marks the fields highly sensitive to the company. Field Usage has no button: it is edited with the StandardValueSet Metadata API type, on the FieldBusinessStatus picklist.
Limits
Values per Help on 2026-10-16, each with its scope: these are per-file caps.
| Limit | Value | Scope |
|---|---|---|
| Rows in an upload CSV | 10,000 | Per file |
| Size of a download CSV | 5 MB | Per file |
| Records the download brings | 2,000 | Per sensitivity value |
Each row of the upload CSV carries the object name, the field name and the sensitivity level. The download only includes fields that already have a sensitivity value.
The download cap has a consequence. If a sensitivity value covers more than 2,000 fields, the file brings only the first ones and Help mentions no warning: that download is not the complete inventory. That the cut is silent is this page’s reading.
Help publishes no limit on classified fields per object or per org.
Limitations
Help says the four fields work on “most” standard and custom objects, without publishing the list of those left out, and it documents two concrete limitations.
Person accounts. A person account combines an account and a contact for a natural person; its fields inherited from the contact carry the __pc suffix. Compliance categorizations do not appear on those fields when you query Person Account: they show up in its queries, but they reside on the Contact object, so they are queried there. It behaves the same through the Tooling API (FieldDefinition) and Metadata API (CustomField).
The User object. In the Object Manager, Data Owner, Data Sensitivity Level and Field Usage are not available for the User object. To apply them there, use the CustomField Metadata API type or Data Classification Upload.
Reading the classification
By query. The four fields live on the FieldDefinition object of the Tooling API. Help’s sample query retrieves the classification values of account and lead fields:
SELECT Id, DeveloperName, Description, BusinessOwnerId, BusinessStatus, SecurityClassification
FROM FieldDefinition
WHERE EntityDefinitionId in ('Account','Lead')
By report. Exposing this metadata in reports takes a custom report type: in Setup, Report Types, New Custom Report Type, with Entity Definition as the primary object and Field Definitions as the child object. You then exit Setup and build the report from the Reports tab.
Example: a field inventory at a private bank
A private bank has to show its regulator which fields hold client data and who answers for each one. The case and the names are invented; the order of the steps is this page’s proposal, not a sequence from Help.
- Start from the defaults. Select “Use default data sensitivity level” and review which fields change: Help says some carry one, with an email field as its example, but publishes no list.
- Classify the regulated objects first. The account holder’s identification fields are set to Restricted and given PII in Compliance Categorization; the card fields also take PCI.
- Assign an owner. Every compliance-relevant field gets the compliance group in Data Owner, not a named person, so the reference survives someone leaving.
- Produce the inventory. A custom report type on Entity Definition and Field Definitions lists each field with its level and its categorization. That report is the deliverable, not the CSV download, which stops at 2,000 fields per value.
- Close with permissions. The fields that ended up Restricted and MissionCritical are reviewed in the permission sets. Data Classification does not do this step: it is the one that turns the inventory into real access.
The example does not claim that classifying changed who sees the fields. Step 5 is the only one that changes access.
When to use it
Because it is active in every org and there is nothing to turn on, the question is not whether to use it but in what order to classify. The criterion below is this page’s reasoning: classify first what is already regulated and what already leaves the org.
| Situation | What to do |
|---|---|
| A field holds data covered by a specific regulation | Classify it, with its Compliance Categorization, before any other |
| A field is exported in reports or through the API | Classify it: the inventory says what data leaves the org, although it records no export. Knowing who took it out is the job of Event Monitoring |
| You have to decide what to encrypt or what to audit | Classify first and decide with the inventory in front of you |
| You want to block access to a field | Field permissions, not classification |
Before production
- Confirm who holds Customize Application or Modify Data Classification, the permissions that allow viewing and editing the classification (see “What it is”).
- Decide whether to select “Use default data sensitivity level” and review which fields change (see “How a field gets classified”).
- Agree the scale before classifying: whether the five levels in the picklist serve, or it needs editing (see “The four metadata fields”).
- Split upload CSVs into files of at most 10,000 rows, and do not use the download as a complete inventory (see “Limits”).
- For User object fields, use Metadata API or the CSV upload; for the categorization of
__pcfields, query the Contact object (see “Limitations”). - Create the custom report type before classifying, to watch the progress (see “Reading the classification”).
- Review the field permissions of everything that ends up Restricted or MissionCritical (see “What it does not do”).
Official sources
- Classify Sensitive Data to Support Data Management Policies — Salesforce Help (opens in a new tab)
- Set Up Data Classification Metadata — Salesforce Help (opens in a new tab)
- Data Classification Metadata Fields — Salesforce Help (opens in a new tab)
- Create Reports from Data Classification Metadata — Salesforce Help (opens in a new tab)
- Control Who Sees What — Salesforce Help (opens in a new tab)