Monday, February 24, 2014

Salesforce: Customize mouse Hover Lookup

This will be gonna a simple blog post. Many users like this, when user hover mouse over a lookup field, Salesforce will show some information related to the lookup record in that little popup window. So, instead of click the field, just hover it and user will not lose that page. Users can quickly view information about a record before clicking View for the record's detail page or Edit for the edit page.

The same information will be shown when user hover a record in the Recent Items list on the sidebar.

Can we modify fields show in the popup? YES, example we want to customize field in Account hover when user hover it from Contact page layout:
  1. Don't be confuse that we are not change anything in Contact Page Layout, although hover happened in Contact page
  2. Go to Account object and edit Account Page Layout assigned to particular profile and record type (if any)
  3. Click Mini Page Layout at the top of the editor
  4. Select fields you want it show when user hover over the object

  • There are field that you cannot remove, such as: object name, Parent Account for account object (to hide this, you can use Field Level Security, but of course field will be not visible anywhere, from: page layout, report, and etc)
  • There are field that always shown, example in User object, it will always show: Title, Email, Phone, Manager



  1. hi, I have a question. Is it possible to hide the Edit function?

    1. Don't think so, it is based on the user access, but Lightning does not Edit function anymore


Page-level ad