Granting users access to your Coveo Classic components

Important
Important

As of the Coveo for Salesforce v5 release, the Coveo Classic components are no longer supported (see What’s new in v5?). This article only applies to users who are running older versions of the Coveo for Salesforce package.

You typically create and customize your Coveo components while they’re accessible only to Salesforce administrators. Once a component is ready for your production environment, you must make it accessible to the appropriate Salesforce users.

Granting users access to your Coveo for Salesforce search page

Similarly, if you create a new Salesforce page to host a customized Coveo-powered search page, you also need to grant appropriate Salesforce users access to your custom Salesforce page.

To grant Salesforce users access to your Coveo for Salesforce search page

  1. Log in to your Salesforce organization using an Administrator account.

  2. On the User menu in the upper-right corner, click Cog icon, and then select Setup.

  3. In the navigation bar on the left, search for and select Visualforce Pages.

    With Salesforce Lightning With Salesforce Classic

    Under Platform Tools, select Custom Code > Visualforce Pages.

    Under Build, select Develop > Visualforce Pages.

  4. On the Visualforce Pages page, on the line for your standard search page (such as Search, MobileSearch, and CommunitySearch) or custom search page, click Security.

  5. On the Enable Profile Access for Visualforce Page page for your custom page, in the Available Profiles list, select the profile(s) corresponding to the users that must have access to the Coveo-powered search page, and add them to the Enabled Profiles list.

    1022-enable-profile
  6. Click Save.

Granting Salesforce users access to the Coveo Insight Panel Classic Component

After installing the Coveo for Salesforce application and following the recommendation to set the security level to grant access to admins only, your normal Salesforce users don’t yet have access to the Coveo Insight Panel Classic Component.

Once you’ve completed the setup of the Coveo Insight Panel Classic Component and want to make it available to your Salesforce users, you must allow them to see it.

To grant Salesforce users access to the Coveo Insight Panel Classic Component

  1. Log in to your Salesforce organization using an Administrator account.

  2. Grant user profiles access to the Coveo Insight Panel Classic Component.

    There are two ways to grant your users access to the Coveo Insight Panel Classic Component depending on the number of profiles within your organization:

    • Profile permissions on Visualforce pages: This method is more efficient when you have less than six user profiles.

      Edit each profile permission at once to allow users under these profiles to access the Coveo Insight Panel Classic Component (see Grant a profile access to the Coveo Insight Panel Classic component).

    • Visualforce pages permissions on profiles: This method is more efficient when you have more than six profiles.

      Set the Coveo Insight Panel Classic Component (Visualforce pages) to be only accessible by the user profiles you want (see Edit Visualforce page permissions).

Grant a profile access to the Coveo Insight Panel Classic Component

  1. Access the Profiles page:

    1. In the User menu, select Setup.

    2. In the navigation bar on the left, under Administration Setup, select Manage Users > Profiles.

  2. On the Profiles page, click the profile name to which you want to grant access to the Coveo Insight Panel Classic Component.

  3. On the Profile Edit page, in the Enabled Visualforce Page Access section, click Edit.

  4. On the Enable Visualforce Page Access page:

    1022-visualforce-page-access
    1. In the Available Visualforce Pages list, select CoveoV2.CoveoPanelForCases.

    2. Click Add to make it appear in the Enabled Visualforce Pages list.

    3. Click Save.

  5. Repeat this procedure for each profile to which you want to grant access the Coveo Insight Panel Classic Component.

Edit Visualforce page permissions

  1. In the navigation bar on the left, under App Setup, select Develop> Pages.

  2. On the Visualforce Pages page, in the Action column, click the Security link on the line on which PanelForCases is in the Name column.

  3. In the Enable Profile Access for Visualforce Page:

    1022-enable-profile-edit-section
    1. In the Available Profiles list, select one or more profile to which you want to grant access to the PanelForCases page.

    2. Click Add to make it appear in the Enabled Profiles list.

    3. Click Save.