G2 Visualforce page
  • 14 Feb 2022
  • 5 Minutes to read
  • Dark
    Light

G2 Visualforce page

  • Dark
    Light

Article Summary

The G2 Visualforce page offers a pre-built, visual bundle of information collected from the G2 CRM Connector custom objects:

  • Buyer Intent Stream: This tab delivers basic Buyer Intent information like G2 page views and product comparisons for mapped Salesforce accounts and leads. Refer to G2's Mapping Buyer Intent data to Salesforce accounts and leads documentation for more details.
  • Reviews & Content: This tab delivers the G2 Folders tab experience, including any Shared Folders and My Folders options that are available. Review the G2 Folders for more details.
  • Account Reviews: This tab contains reviews that have been mapped to a Salesforce account. If multiple reviews from a single organization have been published to G2.com, the average score of those reviews also displays.
    • This tab is not visible when the Visualforce page is placed in a Salesforce lead page layout.

Placing the G2 Visualforce page in Salesforce page layouts offers your Salesforce users a mix of critical G2 information to help understand the potential buyer activity of an account.

G2VisualforcePage_Example2

Add the Visualforce page to Account page layouts

If you organization has more than one Account page layout that the G2 Visualforce page should be added to, repeat the following steps for each page layout.

Salesforce Classic instructions

  1. At the top-right portion of any Salesforce page, select Setup.
  2. On the left-hand side of the setup page, go to the Build section and select Customize > Accounts > Page Layouts.
  3. Find the Salesforce account page layout that the VisualForce page will be added to and select Edit.
  4. In the top navigation area, scroll down and select Visualforce Pages.
  5. Select and drag a Section to the desired location of the page layout. Enter a name for the new section (for example, G2 Connector), choose the visual layout of the section (G2 recommends the 1-column option), and then select OK to create the new section.
    • The Visualforce page can also be added to an existing section if preferred.
  6. Next, select and drag the AccountAssetPage Visualforce page to the newly created Section.
  7. With the AccountAsset Page in place, highlight it and select the wrench icon in the top-right corner of the element.
  8. On the Visualforce Page Properties pop-up, change the page properties as needed for the page layout. Once finished, select OK to continue.
    • G2 recommends entering 500 for the Height (in pixels) field and selecting the Show scrollbars checkbox.
  9. At the top navigation area, select Save.

Salesforce Lightning instructions

  1. At the top-right portion of any Salesforce page, select the lightning bolt/nut icon and then select Setup.
  2. On the left-hand side of the setup page, go to the Platform Tools section and select Objects and Fields > Object Manager.
  3. On the Object Manager page in the Label column, select the Account object.
  4. Next, select Page Layouts on the left-hand side menu, and then find and select the Salesforce account page layout that the VisualForce page will be added to.
  5. In the top navigation area, scroll down and select Visualforce Pages.
  6. Select and drag a Section to the desired location of the page layout. Enter a name for the new section (for example, G2 Connector), choose the visual layout of the section (G2 recommends the 1-column option), and then select OK to create the new section.
    • The Visualforce page can also be added to an existing section if preferred.
  7. Next, select and drag the AccountAssetPage Visualforce page to the newly created Section.
  8. With the AccountAsset Page in place, highlight it and select the wrench icon in the top-right corner of the element.
  9. On the Visualforce Page Properties pop-up, change the page properties as needed for the page layout. Once finished, select OK to continue.
    • G2 recommends entering 500 for the Height (in pixels) field and selecting the Show scrollbars checkbox.
  10. At the top navigation area, select Save.

Add the Visualforce page to Lead page layouts

If your organization has more than one Lead page layout that the G2 Visualforce page should be added to, repeat the following steps for each page layout.

VisualforcePage_LeadsExample

Salesforce Classic instructions

  1. At the top-right portion of any Salesforce page, select Setup.
  2. On the left-hand side of the setup page, go to the Build section and select Customize > Leads > Page Layouts.
  3. Find the page layout that the VisualForce page will be added to and select Edit.
  4. In the top navigation area, scroll down and select Visualforce Pages.
  5. Select and drag a Section to the desired location of the page layout. Enter a name for the new section (for example, G2 Connector), choose the visual layout of the section (G2 recommends the 1-column option), and then select OK to create the new section.
    • The Visualforce page can also be added to an existing section if preferred.
  6. Next, select and drag the LeadAssetPage Visualforce page to the newly created Section.
  7. With the LeadAssetPage in place, highlight it and select the wrench icon in the top-right corner of the element.
  8. On the Visualforce Page Properties pop-up, change the page properties as needed for the page layout. Once finished, select OK to continue.
    • G2 recommends entering 500 for the Height (in pixels) field and selecting the Show scrollbars checkbox.
  9. At the top navigation area, select Save.

Salesforce Lightning instructions

  1. At the top-right portion of any Salesforce page, select the lightning bolt/nut icon and then select Setup.
  2. On the left-hand side of the setup page, go to the Platform Tools section and select Objects and Fields > Object Manager.
  3. On the Object Manager page in the Label column, select the Lead object.
  4. Next, select Page Layouts on the left-hand side menu, and then find and select the page layout that the VisualForce page will be added to.
  5. In the top navigation area, scroll down and select Visualforce Pages.
  6. Select and drag a Section to the desired location of the page layout. Enter a name for the new section (for example, G2 Connector), choose the visual layout of the section (G2 recommends the 1-column option), and then select OK to create the new section.
    • The Visualforce page can also be added to an existing section if preferred.
  7. Next, select and drag the LeadAssetPage Visualforce page to the newly created Section.
  8. With the LeadAssetPage in place, highlight it and select the wrench icon in the top-right corner of the element.
  9. On the Visualforce Page Properties pop-up, change the page properties as needed for the page layout. Once finished, select OK to continue.
    • G2 recommends entering 500 for the Height (in pixels) field and selecting the Show scrollbars checkbox.
  10. At the top navigation area, select Save.