Black Friday 30% off your first year on any annual plan DOCSDEAL See Plans →

Add your document library to Wild Apricot

Wild Apricot’s file storage gives your members a list of file links. You can keep your Wild Apricot site and add a searchable document library to any page with the Benutzerdefiniertes HTML gadget. Members can then search, filter, preview and download your documents without leaving the page.

Bevor du beginnst: You need a paid Wild Apricot plan. The free trial switches off custom code, so the Edit code button on the Custom HTML gadget stays greyed out until you upgrade. You also need to add our domain to your Wild Apricot JavaScript whitelist, which is covered in Step 2. Without it, Wild Apricot blocks the library.

A document library with search, tag and file type filters on a Member Resources page of a Wild Apricot website

Schritt 1: Kopiere deinen Einbettungscode

Log in to Document Library Pro und klicke auf Publish Library, und klicke dann auf Code kopieren. If you’ve built more than one library, go to the Libraries screen and copy the embed code for your Wild Apricot library from there.

Your code has two lines, like the example below, with your own library address in place of your-library:

<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>
<script src="https://your-library.documentlibrary.app/?dlp_embed_resize=1" async></script>

Step 2: Add our domain to your JavaScript whitelist

Wild Apricot only loads code and embedded pages from domains on its whitelist. Our domain isn’t on its default list, so you need to add it once for the whole site.

  1. In your Wild Apricot admin, go to Website → Settings.
  2. unter Website security, klicke auf JavaScript whitelist.
  3. Im Custom whitelisted domains section, type *.documentlibrary.app in der Domain name box.
  4. Klicken Add domain, then save the page.

If your library uses a custom domain, such as docs.yourassociation.org, add that domain as well.

Step 3: Create a page for your library

  1. Gehe zu Website → Site pages und klicke auf Add page.
  2. in Page settings, give the page a name, such as Member Resources.
  3. unter Position in menu, choose where the page appears in your menu.
  4. unter Access level, wähle Öffentlich for an open library. For a members-only library, choose Restricted and tick the membership levels that can see it.
Wild Apricot page settings for a Member Resources page with the access level set to Restricted and all membership levels ticked

Step 4: Add a Custom HTML gadget

  1. Klicken Gadgets at the top of the left panel.
  2. Ziehe das Benutzerdefiniertes HTML gadget from the Custom content section onto the page, where it says Drop gadget or layout here.
  3. Click the gadget to open its settings, then click Edit code.
  4. Delete the placeholder text and paste the embed code you copied in Step 1. Paste both lines.
  5. Save the code, then click Speichern at the top left of the page editor.
The Wild Apricot page editor with the Custom HTML gadget in the Gadgets panel and a new Custom HTML gadget on the page

Step 5: Check the library on your Wild Apricot site

Klicken Public view and open your new page. The search box, filters and documents should all appear, and the page grows to fit the library. When you add or change documents in Document Library Pro, the page updates straight away, so you don’t need to edit the gadget again.

Wer die Bibliothek sehen kann

If you set the page to Restricted, Wild Apricot only shows it to members who are logged in at the levels you ticked. The library address inside your embed code only works inside an embed like this one. If someone opens that address in a browser tab, they won’t see the library.

The address on its own doesn’t fully protect your documents. If your association shares confidential papers, such as board minutes or salary surveys, add a password to your library as well. You can also stop people opening files from a copied link with the Direkte Dateilinks blockieren setting. You’ll find both options under Zugriffskontrolle im Advanced-Tarif.

If the library doesn’t appear

Grey box with a broken page icon

Wild Apricot is blocking the library. Check that *.documentlibrary.app is in your Custom whitelisted domains, as in Step 2.

Edit code is greyed out

Your Wild Apricot account is still on the free trial. Upgrade to a paid plan to add custom code.

The page shows Insert your HTML code here

The gadget is still empty. Open it again, click Edit code and paste the embed code.

Free setup for your Wild Apricot library

Our team can build your library for you at no cost. To ask for this, fill in the form on our kostenlosen Einrichtungsservice Seite.

Mehr in Publishing and embedding

Bereit, deine Dokumente in eine durchsuchbare Bibliothek zu packen?

Richte deine erste Bibliothek in wenigen Minuten ein - als WordPress-Plugin, eingebettet auf einer beliebigen Website oder als eigene gehostete Bibliothek.

Kostenlos starten

14 Tage kostenlos Jederzeit kündbar