How to hide fields in salesforce


Go to the fields which you want to hide and select there link and select the Set Field-Level Security button and uncheck the Visible checkbox for the profiles you do not want to see those particular fields. I select the Field-Level Security button and try to uncheck checkboxs, but these are uneditable .

All you have to do now is find the field you’d like to hide and click, hold, and drag it up to the box of fields at the top of the page (so that you see the green ✅ appear), then release. And you’re all set, the field is now hidden from the page layout!Feb 12, 2020


How to remove custom fields from a Salesforce page?

Easy way would be 1st one because just creating custom object,salesforce would give you all standard functionality & good part is that you don’t any code for doing it. Just remove it from page layout. Some fields cannot be removed. The work-around is overriding with visualforce page.

How to hide fields depending on values in other fields?

I think you can’t hide fields depending on values in other fields. Most user will set up a validation rule (VR) because Salesforce doesn’t support this but if you to hide you can only do this by creating custom validation. Log In to reply.

How to hide a field from the edit page?

You can hide it by removing from the Page layout but it would be removed from the detail page as well. Else you can create a new field as formula returning the field type of your existing field which you want to remove from the edit page and then you can add your field in the Formula.

Why formula fields are not available in edit page in Salesforce?

They are read only fields and hence they are not available in Edit page. You can put some logic in formula field to fetch the value from other field or object. Lakshman’s approach looks fine.


How do I hide a field in a Salesforce report?

Review the field’s Field Level Security settings. 2. Note that the field is set to ‘Hidden’ for some Profiles. 3. Hover over ‘Hidden’ and either field is hidden because of page layout or field is hidden because of Field Level Security appear.

How do you hide a field?

Right-click the column header, and then click Hide Fields on the shortcut menu.

How do I hide a field based on another field in Salesforce?

I think you can’t hide fields depending on values in other fields. Most user will set up a validation rule (VR) because Salesforce doesn’t support this but if you to hide you can only do this by creating custom validation.

How do I change the visibility of a field in Salesforce?

Go to setup and type field accessibility in quick search box.Now click the object, you want to change field accessibility for.Next page will show two options. … To change field accessibility click on the field access,a page will open.You can make field visible, required or read only from here.Save You changes.

How do I hide a field in form view?

The majority of the elements in the Form Builder can be set up to be hidden from the form….Element PropertiesSelect the element and click the gear icon to open the Properties panel.Go to the Advanced tab.Scroll down and toggle the Hide Field option to “On”.

How do I hide a field in a query?

To hide a field within a query:Open the query and switch to Design view.Locate the field you want to hide.Click the checkbox in the Show: row to uncheck it. Unchecking a field to hide it.To see the updated query, select the Run command. The field will be hidden.

How do I hide a field from edit page in Salesforce?

Can be done in any of the following ways:Make the field as read only (through page layout) – but remember system admin can edit read only fields also.Make the field as formula field.Override Edit button with visualforce page. In the page don’t display that field.

How do I hide an object in Salesforce?

Direct way to do this is go to profile > click edit and un-check object access (read/create/edit/delete/view all/Modify all) and that object won’t be visible to that profile.

How do I remove a field from a page layout in Salesforce?

Go to Page Layout >> Click Fields >> Uncheck Required Check Box.

How do you hide a field in lightning component?

You can hide an element but reserve the space on the page for when the element is made visible again. To hide the element, use the slds-hidden class. To make it visible again, use the slds-visible class.

How do I hide a field while creating record in Salesforce?

Create two Record Types.(Name it as New, Detail)Create two Page Layout. … Assign the New Pagelayout as the default on the profile.To bypass the record type select screen ( Your name(in header) – > My Settings – > Display and layout – > Set Default Record Types ) or Give user access to only NewRecord using profile.More items…•

How do I view hidden fields in Salesforce?

Expand the Entity you want to customize, such as Leads, and choose Fields.Click the name of the field you want to expose.Click Set Field-Level Security. A list of users with access to that field displays.


You need to overwrite the standard detail page with custom visualforce page, where you can show/hide the field on custom logic in script.


I think you can’t hide fields depending on values in other fields. Most user will set up a validation rule (VR) because Salesforce doesn’t support this but if you to hide you can only do this by creating custom validation.

Can agents touch custom fields?

When an agent goes to create a new case, they see tons of fields that they can’t touch.

Can custom development be overridden?

If custom development is an option you can override the new / edit / view pages for a case independently allowing you to display different fields in each scenario. This requires creating a visualforce page and/or lightning component.


Getting Started

This question actually has a few answers depending on what you mean exactly by “hiding” fields, so we’ll run through all the possibilities. But all of the solutions start in the Object Manager, so navigate there first by clicking the cog in the upper right corner of your org and selecting “Set Up” from the drop down menu. On the Set U…

See more on

“Deleting” Fields

  • First, if it’s a custom field and you’re just trying to get rid of it, select “Fields & Relationships” from the left-hand column. Then, find the field you’d like to delete and click the menu arrow on the right-side of its row. Then select “Delete” from the drop-down menu. You’ll see a very serious pop-up letting you know that this action will also delete all dependent info for any dependent or controlli…

See more on

“Removing” Fields

  • Ok, but let’s say you have a field that contains data you need (maybe you report on it, or it’s relevant to a third-party system, etc…, but your users never need to update it and they don’t need to see it on their screens in their day-to-day). In that case, to “hide” the field, we’ll just need to remove it from the Page Layout! So begin by selecting “Page Layouts” from the left hand column. Then s…

See more on

Use Record Types to Hide An Irrelevant Field

  • Finally, one last way to hide a field is via Record Types! This is a good solution if you have multiple types of the same object that require different fields (for instance, if you manage residential and commercial properties and use a Property object, you might want to keep a record of “pets” or the like on your residential records, but that field would be unnecessary on the commercial records)…

See more on

Leave a Comment