The Salesforce Schema Builder — What You Need to Know

Keeping the pace of change is a constant challenge for systems and IT teams running Salesforce. Luckily, the platform comes with a ton of built-in tools to help with discovery, impact analysis and change management. In this post, we’re taking a look at one of them — the schema builder. Here’s what you need to know about this incredibly useful feature.

What Is the Salesforce Schema Builder?

The schema builder is a simple graphical interface for visualising and editing the data model of your Org. The schema builder can get all fields from an Object, perform basic impact analysis of changes to an Object, and show all dependencies on an Object, without having to click from page to page. It’s an excellent tool for seeing details like field values and required fields, as well as master-detail relationships and lookup relationships.

How Does the Schema Builder Work?

Salesforce’s schema builder shows Objects, fields and the relationships between them. Using it, you can add custom areas, Objects and relationships, and view and alter custom fields while seeing how they are connected to other Objects or fields.

Opening the schema builder for the first time effectively gives you a blank canvas to work with. To start, click over to the Elements tab, click on the Object(s) you want to view and drag them onto the canvas. 

Once you’ve dragged an Object into the Salesforce schema builder, you can see related fields, see how they are connected to other parts of Salesforce, create new Objects, and more. Any changes you make to your data model here are deployed into your production Org in real time.

(Salesforce Trailhead has some more detailed walkthroughs that you can check out here.)


How to Access Schema Builder in Your Org

To access the Schema Builder in Salesforce and utilize its features for visualizing and designing your data model, follow these steps:

Step 1: In the Salesforce application, locate the Quick Find box and type "Schema Builder." As you type, the Schema Builder option should appear. Click on it to open the Schema Builder page, which provides a comprehensive view of objects and their relationships.

Step 2: On the Schema Builder page, you'll find an object tab that contains a list of options called "Select From." These options include "All," "Selected," "Standard," "Custom," and "Standard Objects." Choose one of these options to filter the list of objects accordingly. Once selected, click on the desired object and move it to the Schema Builder canvas.

Step 3: It is also possible to select multiple objects. After selecting the objects, you can click on the "Auto-Layout" feature to automatically arrange the objects in a logical layout within the schema. Please note that the Auto-Layout action cannot be undone.

By following these steps, you can effectively access the Schema Builder in Salesforce and utilize its capabilities for designing and visualizing your data model.

Common Uses for the Schema Builder

Object and Field Creation: You can use Schema Builder to create custom objects and define their fields. It allows you to specify the field types, relationships, and other properties of the objects. This is useful for tailoring Salesforce to your specific business needs and capturing the relevant data.

Relationship Management: Schema Builder enables you to define relationships between objects, such as lookup relationships and master-detail relationships. You can visually establish parent-child relationships and configure the cascading behavior of related records.

Field Customization: With Schema Builder, you can modify existing fields on standard and custom objects. You can add new fields, change field types, adjust field-level security, and set up validation rules. This flexibility allows you to adapt Salesforce to evolving business requirements.

Schema Documentation: Schema Builder provides a visual representation of your org's data model, making it a useful tool for documenting and understanding the structure of your Salesforce implementation. You can generate schema diagrams that illustrate the relationships between objects and fields, aiding in communication and collaboration among stakeholders.

Impact Analysis: When making changes to the schema, Schema Builder can help assess the potential impact on other parts of your org. By visualizing the relationships and dependencies between objects, you can identify any downstream effects and ensure that modifications are implemented smoothly.

Using the Schema Builder for Impact Analysis

One of the main benefits of the Salesforce schema builder is that it provides a simple form of impact analysis. When you use the schema builder to get all fields on an Object, you have a sense of what will be affected if you make a change. The alternative — going ahead with the change and waiting for the potential fallout — can cost Salesforce teams hours of work, as well as a considerable amount of stress. 

However, there are pros and cons to using the schema builder for impact analysis. Here’s a quick look at why we like it, and where it falls short (and what you can use instead).

The Schema Builder: Pros and Cons

The Pros

The biggest benefit to the schema builder is its availability. You’ll find it, right now, in most Salesforce Classic and Lightning Orgs. Any user with the ‘Customize Application’ permission can work with it. 

The tool is useful for deploying changes to your Org in real-time, and gives users a baseline for understanding how Objects and fields are connected on the platform. Its visual interface and drag-and-drop feature makes for easy use and allows for a more interactive experience when adding customizations. 

The Cons

As we mentioned earlier, changes created in the schema builder are deployed in real-time, which adds an extra layer of risk when using the tool — one small error can result in a downstream impact that might not even be known at the time of deployment. 

In terms of mitigating that risk through impact analysis, although the schema builder gives you a visualization of how Objects are connected in Salesforce, it doesn’t provide the full picture — you can only see Objects and their connection to other Objects. While it does provide a list of all related fields that sit on the Object you’ve selected, you aren’t able to view the dependencies of the connected fields. 

Below, you’ll see that the selected Objects “Account” and “Contact” are connected to one another. However, you cannot view the dependencies of the connected fields — for instance, the “Annual Revenue” connections aren’t available when we click on the field. The problem with this is that if we change the Account object, we might unknowingly alter another field sitting on it, like “Annual Revenue” that is being used in other parts of your Org.

2022-01-12 (2)

Strongpoint’s Dependency Relationship Diagram

Strongpoint’s Dependency Relationship Diagram is an intuitive visual tool for at-a-glance impact analysis that, on the surface, shares many of the same features as the Salesforce schema builder. It can get all fields from an Object and show you the connections between them, but it also goes a step further, showing you the connections on those connected fields, and giving you a more comprehensive picture of your Org’s data model. 

In the same way as we did above, you’ll see that we’ve selected the Account Object to view, and then clicked on “Annual Revenue”, just as we did in the schema builder. With Strongpoint, you can see all of the dependencies sitting on the Annual Revenue field within your Org, allowing for even safer changes. 

2022-01-12 (1)

While the DRD isn’t designed to push changes into production (we have a whole change management system for that), when used in conjunction with the schema builder or other Salesforce tools, it’s extremely helpful for minimizing risk when pushing out hotfixes, deprecating unused customizations, or doing more comprehensive development work. 

Watch this quick explainer video to learn more.


Whether you’re looking to deploy critical changes or conducting an Org-wide cleanup, Strongpoint gives you tools to see in advance what will happen if you deprecate a field, change a picklist or modify a custom Object — making every move in Salesforce risk-free.

If you want to try it out for free, you’ll find it in Flashlight, our free Salesforce documentation app. Download it here.


Free eBook

The Salesforce Data Security Checklist

Download our Salesforce Data Security Checklist for an in-depth understanding of how you can protect your Org — and team — against threats. 

Get the eBook