Skip to main content

How to add a live leaderboard to Microsoft SharePoint

Guide to add a live leaderboard to SharePoint using Leaderboarded.com; update scores on Leaderboarded.com for automatic SharePoint sync.

Overview

Three steps to get a live leaderboard on your SharePoint site:

  1. Add Leaderboarded.com as a trusted site in SharePoint
  2. Create a leaderboard on Leaderboarded.com
  3. Add the leaderboard to SharePoint

Prerequisites:

  1. You need admin access to your SharePoint Site Settings to add Leaderboarded.com as a trusted site. It won't work otherwise.
  2. You need a Pro plan on Leaderboarded.com (the website widget requires the Pro plan).

Step 1: Add Leaderboarded.com as a trusted site in SharePoint

You'll be adding the leaderboard as an iFrame using SharePoint's "Embed web part" feature. For this to work, Leaderboarded.com needs to be whitelisted.

Site admins can allow embedding from a specific list of sites, or from any site, by changing the HTML Field Security setting.

Click on Settings → Site Settings. If you don't see Site settings, click Site information → View all site settings.

Opening the settings in SharePoint

On the Site settings page, under Site Collection Administration, click HTML Field Security.

Getting to HTML Field Security in SharePoint

Add leaderboarded.com to the "Allow iframes from this domain" list.

Adding leaderboarded.com to allowed iframe domains

Click OK.

Step 2: Create a leaderboard and get the embed code

  1. Create a leaderboard by clicking the button above and go through the wizard.
  2. Click Share in the toolbar. You'll need to be signed in.
  3. Expand the Embed on a website section.
  4. Click COPY TO CLIPBOARD to copy the embed code.

The Share dialog showing the embed code

You can customize the leaderboard's colors, text, and themes before embedding. See the theme gallery for options.

Step 3: Add the leaderboard to SharePoint

Make sure your SharePoint page is in Edit mode. If it isn't, click Edit at the top right.

Hover above or below an existing web part (or under the title region) and click the plus sign to add a new web part.

Adding the web part to SharePoint

Select the Embed </> web part from the list.

Selecting the Embed web part

Paste the embed code you copied in step 2.

Pasting the embed code

You should see the leaderboard in the preview. If not, double-check that you copied the full embed code. Close the dialog by clicking "X" at the top right.

Click REPUBLISH at the top right. Your leaderboard is now live on SharePoint.

To update it later, make your changes on Leaderboarded.com — they'll sync to SharePoint automatically.