This Goal Thermometer SharePoint Web Part is perfect for any sort of goal, whether it be sales, donations, fundraising, or even reporting project status (eg. KPI). Set the Goal Amount and Current Amount and when the page loads the Thermometer smoothly fills from 0 to the current amount in a couple seconds. You can configure the amounts, the time it takes to fill the thermometer, where the amounts come from (from Web Part Properties or a Sharepoint List). You can also choose between using a small or large gauge.


For Farm Solution installation: using either PowerShell or STSADM, add the WSP to the farm (we recommend opening SharePoint PowerShell, then using STSADM within)

STSADM.EXE -o addsolution -filename "AEGoalThermometer.wsp"

Then deploy the solution using Central Administration (System Settings, Farm Solutions), so you can easily target the web application. You can optionally do this step too with STSADM or PowerShell, but we recommend deploying using the Central Admin GUI.

For Sandbox Solution installation, open the Site Collection that you want to add the web part, open Site Settings (must be a site admin or owner to do this), open the Solution Gallery (or Solutions in 2013), add the WSP to the gallery, then activate the solution.

NOTE: Product is contained in a single WSP file for both installing as a Farm solution and Sandbox solution. If installing On Premise then you can install as either Farm solution or Sandbox solution at your discretion. If installing SharePoint Online then Sandbox solution is your only option.

Follow the instructions for installing as a sandbox solution.

You can retrieve the Goal Amount, Current Amount, Header message, and Footer Message from a SharePoint List. This is done by pointing your web part at a site url and list name. Update these values in the web part properties for your web part.

Relevant Web Part Properties:

The Thermometer web part needs actual numbers for the Goal and Current Amounts. This is because of the JavaScript math that is required for the proper rendering and animation of the Thermometer. So, dollar amounts and other formatted numbers are not supported. Plain whole numbers are used (like 1000). However, you can optionally enter an Amount Prefix and Suffix. These are treated as plain text, and not part of some special formula or function. They will simply be either prepended (prefix) or appended (suffix) to your dollar amounts when displayed. So, you can enter any text you like as a prefix or suffix.

Ex. prefix="$", suffix="", "1000" becomes "$1000".
Ex. prefix="$", suffix="M", "10" becomes "$10M".
Ex. prefix="", suffix="%", "10" becomes "10%"

You can include optional Header and Footer messages, that can contain either plain text or custom HTML. This makes it easy to add links, buttons, etc. to the Thermometer. For example, if you want the footer message to include a button or link to a donation page or other page, use the following:

    <input type='button' value='Donate' onclick='"","_blank");' />
Which renders as this:

Download the latest version WSP from the AMREIN product catalog

If you are upgrading from another paid version available from the AMREIN product catalog, then you can use the “STSADM –o upgradesolution” to upgrade to the latest version.

If upgrading as a Farm Solution, open “SharePoint 2010 (or 2013) Management Shell”, then use the following command:

STSADM.EXE -o upgradesolution -name "AEGoalThermometer.wsp" -filename "AEGoalThermometer.wsp" -immediate –allowGacDeployment

If upgrading as a Sandbox Solution, open the root site of the site collection you want to upgrade. Open Site Settings, then open the Solution Gallery. You will have to deactivate the solution first, then upload the new solution (replace existing one), then activate again. You will have to upgrade the web part sandbox solution in every site collection separately. This is not applicable for sub sites, just site collections.

TIP: before upgrading, we recommend deleting the JS and CSS resources used by the product in the following library: AEGoalThermometerAssets. This library is located in the root site of the site collection. If any customizations were done here, they will be lost in the upgrade, since you will either be deleting the contents manually or they will be automatically replaced during solution upgrade. Sometimes the contents of this library are not replaced/overwritten correctly during solution upgrade, so this is why we recommend manually deleting the contents of this list/library before upgrading.

After the page is done loading, use your browser to “View Source”, and search for the following string “AEGT_VERSION_NUMBER”. Your version number will appear next to it. Alternatively, edit the web part properties, and you should see the version number at the bottom of the Thermometer Settings section.

The product is available as a 30 day free trial, per front-end server, or per Office 365 tenant license. You can download and install the web part and evaluate for 30 days before a license is needed for continued usage. After 30 days you will be prompted to license the product.

Each license is valid for each front-end server in your SharePoint Farm (or each Office 365 tenant). The web part can then be used as many times as needed on each server/tenant.

You can enter the license key in two ways:

The web part’s CSS and JavaScript resources are saved in a list named “AEGoalThermometerAssets” located in the root site of the site collection.

It is important that any user expected to use the web part have at least read permissions to:

Almost all the source code for the application is included in a library in the root site of the site collection named “AEGoalThermometerAssets”. You can make changes to the CSS and JS files here to customize how the web part functions.