Tips & Hints for Page Layouts and Field-Level Security
What are Page Layouts and Field-Level Security?
The following sections describe the characteristics and behaviors of page layouts, mini page layouts, and field-level security.
- Page layouts
-
- Control the layout and organization of fields, Visualforce related lists, and custom links on detail and edit pages
- Show or hide standard and custom buttons on detail pages.
- Set which fields are visible, read only, or required on detail and edit pages.
- In Personal, Contact Manager, Group, and Professional Editions, control which fields users can access in list views, reports, Force.com Connect Offline, and when synchronizing data.
- Control the fields displayed on portal objects in the Customer Portal.
- Mini page layouts
-
- Control the layout and organization of fields, related lists, and custom links on records in the mini view of the Console tab.
- Inherit record type and profile associations, related lists, fields, and field access settings from their associated page layout.
- The visible fields and related lists of the mini page layout can be further customized, but the other items inherited from the associated page layout cannot be changed on the mini page layout itself.
- The order of related lists on a page layout determines the order of related lists on its mini page layout.
- Field properties on a page layout determine field properties on
its mini page layout.
For example, if a field is read-only on the page layout, that same field will be read-only on the mini page layout. To change the field properties of fields on the mini page layout, you must change the field properties of fields on the page layout. Note that the console respects field-level security in organizations where it is available.
- Pages that display due to standard button overrides or custom buttons display in the console without the header or sidebar.
- Overrides for the Edit and View buttons for an object do not affect the Edit and View buttons in the mini page layouts.
- Field-level security
-
- Available in Enterprise, Unlimited, Performance, and Developer Editions only.
- Restrict users’ access to view and edit fields on detail and edit pages.
- Override any less-restrictive field access settings in page layouts.
For example, if a field is required in the page layout and read only in the field-level security settings, the field-level security overrides the page layout and the field will be read only for the user.
- Control which fields users can access in list views, reports, Force.com Connect Offline, Customer Portal pages, and when synchronizing data.
Getting Started with Page Layouts and Field-Level Security
Plan which fields you want users to be able to view or edit, which fields you want required for each tab, and how you want the pages to display for users.
- Create any custom fields, custom buttons, or custom links for each tab.
- Define page layouts and related lists for each tab. From Setup,
click ,
select a tab, and click Page Layout.
All users automatically use the same page layout for each tab.
- Optionally, if you have a Professional Edition organization and you plan on using the Console tab, define mini page layouts to organize how fields and related lists will display in the console’s mini view. From Setup, click , select a tab, click Page Layouts, select a page layout, and then click Mini Page Layout.
- Create any custom fields, custom buttons, or custom links for
each tab:
- From Setup, click , select a tab, and click Fields to create custom fields.
- From Setup, click , select a tab, and click Buttons, Links, and Actions to define your custom buttons and links.
- From Setup, click to create custom profiles or to create permission sets. Field-level security is applied via permission sets and profiles, so create permission sets or profiles if different users need different field access.
- From Setup, click , select a tab, and click Record Types to create record types for different business scenarios. You can show different page layouts to different users based on record types. For example, you can have different layouts for “Partner” accounts and “Customer” accounts.
- From Setup, click to assign which record
types are available to users with different profiles.Troubleshooting
- From Setup, click and to manage access to specific fields.
- From Setup, click , select a tab, and click Page Layouts. to define page layouts to organize your pages, related lists, and Customer Portal pages.
- Optionally, if your organization plans to use the Console tab, define mini page layouts to organize how fields and related lists will display in the console’s mini view. From Setup, click , select a tab, click Page Layouts, select a page layout, and then click Mini Page Layout.
- From Setup, click , select a tab, and click to assign page layouts to users based on profiles and record types. This determines which layouts users will see when viewing different record types.
- From Setup, click , select a tab, click Fields, select a field, and click View Field Accessibility to check the field accessibility to verify that all field access settings are correct.