Add your document library to Salesforce

Salesforce Web Tabs let you embed and display a Document Library Pro library as a full-width tab inside Salesforce. Users can open the library from Salesforce like any other tab, with no code needed.

Prima di iniziare: You need to be a Salesforce admin, or have the Customize Application permission. Salesforce lists Web Tabs for Contact Manager, Group, Professional, Enterprise, Performance, Unlimited and Developer editions. Web Tabs work in Lightning Experience and Salesforce Classic. If you use another Salesforce edition and cannot see Web Tabs, check with Salesforce before continuing. The main difference from other embed guides is that Salesforce asks for a web address, not the full two-line embed code.

You do not need to add your library to Trusted URLs or CSP Trusted Sites.

A searchable document library shown as a Document Library tab in the Salesforce Sales app

Step 1: Copy your library address

Open your Document Library Pro dashboard and go to Pubblica Raccolta. Copy the embed code for your library.

If you have more than one library, copy the embed code from the Libraries screen for the library you want to show in Salesforce.

The library address is the part inside src=”…” on the first line of the embed code. For example:

<iframe src="https://your-library.documentlibrary.app/?dlp_embed=1" title="Document library" style="display:block;width:100%;border:0;height:600px;" loading="lazy"></iframe>

In this example, you would copy this address:

https://your-library.documentlibrary.app/?dlp_embed=1

Use your own library address, not the sample above. Copy everything between the quote marks, including anything after the question mark.

Step 2: Create a Salesforce Web Tab

  1. In Salesforce, click the gear icon and choose Configurazione.
  2. in Quick Find, type Tabs, then select Tabs.
  3. Nel Web Tabs section, click New.
  4. Scegli Full page width, poi fai clic su Avanti.
  5. Enter a Tab Label, such as Document Library. Salesforce fills in the Tab Name.
  6. Clicca sul Tab Style lookup icon and pick an icon and color.
  7. Set Content Frame Height (pixels). The default is 600. 1200 suits most libraries, or set it taller for a long one. Inside Salesforce, the library cannot resize itself. This box sets how tall the library area is. If the library is taller, Salesforce shows a scroll bar inside the tab.
The Salesforce New Web Tab screen with the tab label, tab style and a content frame height of 1200 pixels filled in
  1. Clicca Avanti.
  2. Paste the library address into the Button or Link URL box. Leave Encoding as it is. Click Avanti.
The Button or Link URL box in the Salesforce New Web Tab screen with a document library address pasted in
  1. Choose which user profiles see the tab. Default On shows it to everyone. Click Avanti.
  2. Choose which Salesforce apps include the tab. All apps are ticked by default. Click Salva.

Salesforce adds the Web Tab to each app you selected in the last step; for example, the Sales app shows it next to Campaigns. Some apps hide it under More, and users can also find it with the App Launcher (the grid of dots, top left) by typing the tab name. Users cannot add a Web Tab with the pencil icon, so an admin must add it in App Manager if an app is missing it.

Step 3: Check the result

Open the tab in Salesforce and check that your document library appears full width. The search box, category filter and page numbers should all appear inside the tab.

Search should work as normal. When you click preview, the document library opens the preview inside the tab, with a close button.

Changes you make in Document Library Pro show in Salesforce straight away. You do not need to edit the Salesforce tab again after updating your library.

Chi può vedere la raccolta

In Salesforce, la tua raccolta documenti viene mostrata nel Web Tab alle persone il cui profilo può aprire quella scheda. L'indirizzo della raccolta che incolli nel Web Tab funziona solo dentro un elemento incorporato come quella scheda. Se qualcuno apre lo stesso indirizzo in una scheda del browser, la raccolta non verrà mostrata.

L'indirizzo non è sicuro al 100%. Per documenti riservati come listini prezzi o policy interne, proteggi la tua raccolta documenti con una password e attiva Bloccare i link diretti ai file nella pagina Controllo accessi . Entrambe sono incluse nel piano Advanced.

Se la raccolta non appare

Blank tab or error

Check that you pasted only the library address, not the whole embed code. The address must start with https://.

Library cut off or scroll bar inside the tab

Edit the tab in Salesforce and increase Content Frame Height (pixels). You can find it from Configurazione > Tabs > Modifica next to the tab.

Tab not visible for some users

Check the profile visibility you chose when creating the tab. Users only see the tab if their profile has access to it.

Want us to set it up for you?

If you would rather we build the library for you, request our servizio di configurazione gratuito.

Articoli correlati

Pronto a raccogliere i tuoi documenti in una raccolta con ricerca?

Configura la tua prima raccolta in pochi minuti - come plugin WordPress, incorporata su qualsiasi sito o come raccolta ospitata tutta tua.

Inizia gratis

14 giorni gratis Annulla quando vuoi