Adding Glance Buttons to Salesforce Records

The Glance Show and View buttons can be used from most objects in Salesforce. The Cobrowse/Join button can only be used from a Lead, Contact, or Case. These buttons are added by putting a small Visualforce page on each Lightning Record or Page Layout.

You can put the button on a quick action as well, but the button is so small that it is usually easier for agents to reach if it's a part of the page.

Add the Glance Buttons to Lightning Records

NOTE: The Glance buttons are only available to use on standard objects. The Cobrowse/Join button is only available on Contacts, Cases and Leads.

To add the Glance buttons in Lightning:

  1. Open the app from the App Launcher that will be used by your Glance users, such as the Service Console.
  2. Navigate to a record type that you want to add Glance to, like a Contact or Case.
  3. Click the Gear icon in the top right corner and choose Edit Page.
  4. On the left sidebar, click and drag Visualforce over onto the console wherever you want Glance to be placed. (It is recommended that it's placed high enough so the agent doesn't have to scroll down to get to it.)
  5. On the right sidebar, under Label, enter Glance.
  6. Under Height, enter 40.
  7. Click Save.
  8. If prompted, click Activate.
  9. You might be prompted to assign the record page.
  10. After you assign the record page, click Save.
  11. In the top right corner, click Back.
  12. Repeat steps 3 to 11 from a Case object if you want to use Glance from there as well.

Example:

Add the Glance Buttons to Page Layouts in Salesforce Classic

NOTE: Adding these to Classic will also make the buttons appear on the Details of a record in Salesforce Lightning.

You can add Glance buttons to the following objects in Salesforce Classic. The asterisk * indicates which objects may use Cobrowse:

  • Account
  • Campaign
  • Case*
  • Contact*
  • Event
  • Lead*
  • Opportunity

NOTE: Glance buttons are not supported on custom objects.

Follow these steps to add a Glance button to standard objects you will be using with Glance. This example uses Lead layouts.

  1. On the top-right of your Glance for Salesforce app, click on your Username.
  2. Select Setup from the drop-down menu.

  3. Locate the App Setup menu located on the left-hand panel of the page.

  4. Select Customize.

  5. Choose Leads.

  6. Click on Page Layouts.

  7. Select the Edit link in the row Lead Layout.

NOTE: After creating your page layouts, click the Page Layout Assignment button to control which page layout users see by default.

  1. At the top of the page, you should now see the Lead Layout section.
  2. Select the Visualforce Pages layout option located in the left-hand panel.
  3. From the right-hand panel of Lead Layout, click on GlanceFromLead.
  4. Drag the GlanceFromLead to the Lead Detail section.

NOTE: We recommend placing GlanceFromLead at the top of the right-hand column of the Lead Detail section.

  1. Point to the GlanceFromLead box and click on the wrench icon.

  2. In the Visual Page Properties pop-up window, change the Height from 200 to 35 pixels.

  3. Click OK.

  4. Scroll back up the page and find the Lead Layout section.

  5. Click on Save.

Below is an example of the Show, View, and Join buttons added to a Lead object:

  1. Choose Event Layout.
  2. From the top palette, click Fields on the left.
  3. On the right, click +Section and drag it under the Calendar Details section.
  4. The Section Properties box will appear.
  5. Under Section Name, type Glance Session Details.

By continuing to use the site, you agree to the use of cookies. Learn More