Clouds with binary code floating aboveCloud with binary code floating above

No Results

Search Tips:

  • Please consider misspellings
  • Try different search keywords

Tips & Hints for Page Layouts and Field-Level Security

What are Page Layouts and Field-Level Security?

Page Layout Editors

Salesforce has two WYSIWYG tools for editing page layouts: the original page layout editor and a new enhanced page layout editor. The enhanced page layout editor is enabled by default and provides all of the functionality of the original editor, as well as additional functionality and an easier-to-use interface.

sidebar

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

Best Practices
  • In Enterprise, Unlimited Performance, and Developer Editions, use field-level security to restrict users’ field access; use page layouts primarily to organize pages.
  • To reduce the number of page layouts to maintain, use the same page layout for all profiles for a specific record type.
  • In Personal, Contact Manager, Group, and Professional Editions, field-level security is not available. Use page layouts to restrict access to fields and to organize pages.

sidebar

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.

For Personal, Contact Manager, Group, and Professional Edition Organizations:
  1. Create any custom fields, custom buttons, or custom links for each tab.
  2. Define page layouts and related lists for each tab. From Setup, click Customize, select a tab, and click Page Layout.

    All users automatically use the same page layout for each tab.

  3. 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 Customize, select a tab, click Page Layouts, select a page layout, and then click Mini Page Layout.
For Enterprise, Unlimited, Performance, and Developer Edition Organizations:
  1. Create any custom fields, custom buttons, or custom links for each tab:
    • From Setup, click Customize, select a tab, and click Fields to create custom fields.
    • From Setup, click Customize, select a tab, and click Buttons, Links, and Actions to define your custom buttons and links.
  2. From Setup, click Manage Users | Profiles to create custom profiles or Manage Users | Permission Sets 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.
  3. From Setup, click Customize, 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.
  4. From Setup, click Manage Users | Profiles to assign which record types are available to users with different profiles.
    Troubleshooting
    • Click Preview while editing a page layout to see how the page will look for users with different profiles. This preview includes any extra security that is set in field-level security.
    • Click Quick Save to save and continue editing the page layout.
    • To see why users can or cannot access a field, view the field accessibility. In Setup, click Security Controls | Field Accessibility, then select an object.

    sidebar

  5. From Setup, click Manage Users | Profiles and Manage Users | Permission Sets to manage access to specific fields.
  6. From Setup, click Customize, select a tab, and click Page Layouts. to define page layouts to organize your pages, related lists, and Customer Portal pages.
  7. 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 Customize, select a tab, click Page Layouts, select a page layout, and then click Mini Page Layout.
  8. From Setup, click Customize, select a tab, and click Page Layouts | Page Layout Assignment to assign page layouts to users based on profiles and record types. This determines which layouts users will see when viewing different record types.
  9. From Setup, click Customize, 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.