If you have lots of fields on your page layouts, you’ll have noticed that record pages can become overwhelming — or, in Salesforce’s own words, “a monolithic block”. Dynamic forms are Salesforce’s solution to that problem.
In this post we’ll look at what Salesforce dynamic forms are, their benefits and how to configure them. We’ll also cover how to deploy dynamic forms with change sets and how Gearset simplifies that process for quick and reliable deployments.
Sheraton Grand Chicago Riverwalk
DevOps Dreamin’ Chicago 2025
What are dynamic forms?
Dynamic forms are part of the Salesforce Lightning Experience that allows you to configure custom field placement and component visibility rules on record pages. With conditional field visibility, you can decide which fields the user sees based on variables such as user details, record values, device type, and more. This reduces clutter and gives a user-specific experience by showing only the fields relevant to that viewer.
This is a big contrast to traditional page layouts where assignments can only be based on profile and record type. This means teams often end up building multiple page layouts for different scenarios, massively increasing the work required to build and maintain layouts. For example, if you had a custom object to track projects, you’d need to create different layouts based on record type, such as “In progress” or “Completed”. If you used a dynamic form instead you’d only need one Lightning Record Page with visibility rules that covered both scenarios.
Benefits of dynamic forms
Delivering a customized experience for users is a key benefit of dynamic forms — but it’s not the only one. By upgrading to dynamic forms you can also expect:
- Reduced loading speed. Page layouts load all the fields, even if they’re hidden. Meanwhile, a dynamic form will only load the required fields which can drastically improve page performance and loading times.
- Streamlined maintenance. By managing all visibility rules on one Lightning Record Page dynamic forms allow for a single assignment model, helping avoid the time and cost of managing multiple page layouts.
- Easy configuration. Dynamic forms are set up using drag-and-drop configuration. This makes it a straightforward process for all team members and speeds up delivery timelines.
- Availability on mobile devices. Initially, dynamic forms were limited to desktops but Salesforce has since extended availability to mobile, which is currently in beta.
Limitations of dynamic forms
Dynamic forms can be a great way to support your end users by helping them access the right data quickly and easily, but they also come with a few limitations.
- Only some standard objects are supported. When dynamic forms first became available it was only possible to use them on custom objects. Salesforce has extended support to some standard objects too but this support remains limited.
- Can only be used in Lightning. Dynamic forms are exclusive to the Lightning Experience so can’t be used in Classic orgs.
- Reduced loading speeds. Improved loading speeds is a huge benefit of dynamic forms, but if they become too detailed or complex, the page load times will start to increase and users will experience significant lag. It’s worth considering whether the customisation is worth the lag time for users in your scenario, and whether speed or ease is most useful.
- Not supported in Experience Cloud. While dynamic forms aren’t currently supported by Experience Cloud, users continue requesting this update so hopefully support will be added in the future.
How to upgrade to dynamic forms
Upgrading to dynamic forms is easy. Open up one of your record pages with the Lightning app builder, where you’ll see the option to Upgrade Now in the record detail pane. This button launches the migration wizard, which doesn’t take long to work through.

How to configure a dynamic form
Once you’ve upgraded to dynamic forms, you’ll see a new Fields tab, with a set of new components. Drag and drop these components onto your page to start customizing your fields and sections. You’ll need a field section component before you can add fields to it.
Dynamic forms open up some really useful options for configuration: you can decide how the page will work for mobile, and set conditions for when fields and components should be visible. These are improvements that will make life much easier for admins needing to create highly customized layouts.

How to deploy dynamic forms with change sets
Before you deploy this metadata (using any tool), you’ll need to make sure you enable dynamic forms manually in both your source and target environments; the upgrade itself isn’t a metadata change that can be deployed.
Start creating your change set by going to Setup > Outbound Change Sets in your source org and clicking New.
Add your dynamic form to the change set by clicking New > Lightning Page and select the Lightning Record Page where you created the dynamic form.
To give your deployment package the greatest chance of success, you need to add the other components connected to your dynamic layout — such as custom fields, custom objects, or profiles. You can click View/Add Dependencies and Salesforce should add these components automatically but it’s worth checking that nothing has been missed.
The final step in your source org is to click Upload which uploads the change set to your target org.
To deploy the changes you need to log into your target org, navigate to Inbound Change Sets to validate then deploy the package.
How to deploy your changes using Gearset
Let’s walk through how quick and simple it is to deploy dynamic forms with Gearset. If you’d like to follow along, why not start a 30-day free trial to try out dynamic form deployments in your own orgs?
1. Configure your comparison
With dynamic forms enabled in your chosen orgs, select your source and target environments — any new or changed layouts you create with dynamic forms are saved as the Lightning page metadata type so make sure to include the Lightning page
in your metadata filter. Selecting the exact Lightning page you want to deploy will speed up the comparison.

2. Build your deployment package
You’ll be able to see the differences between Lightning page metadata between your source and target. These changes are separated into changed, new, and deleted. Select the components you want to deploy and click Next.

3. Troubleshoot your package
Gearset’s problem analyzers will check your deployment package for common issues that could cause your deployment to fail — you can accept the fixes with just a click and don’t have to rebuild your package.

4. Deploy your dynamic form
On the deployment summary page, give the deployment a friendly name and add any relevant deployment notes. You can then attach user stories to the deployment and change their position on the kanban, to keep your ticketing system up-to-date without having to leave Gearset.
If you’re ready to go, click Deploy now or you can validate the package and schedule it for a later date.

Customize user experiences easily with dynamic forms
While dynamic forms are a great addition to Lightning, deploying them can be tricky. With our metadata comparison engine, validation tools and problem analyzers, Gearset will help you to deploy successfully, first time. Try it for yourself today with a 30-day free trial or speak to one of our DevOps experts to find out more.