Skip to content

Tips

Use the Tips Web Part to display a random daily tip on a page

Library

Creating a new Library

Note

Before completing the following steps, ensure that you have at least contribute permissions on the site that you are working on.

  1. Navigate to Site Contents of the site.
  2. Create a List
  3. Navigate to the list that has just been created
  4. Open the List settings and open advanced settings.
  5. Set the option Allow management of content types? to Yes.

    Click ok at the bottom of the page to save and exit.

  6. Click the link Add from existing site content types.
  7. Search for the Content Type 'Tip Of The Day' and click Add, then click OK.
  8. Click the link Item.
  9. Click Delete this content type and click OK.

The list is created and ready to add tips to.

A list can also be created from the Web Part property pane. simply add the Web Part to a page and click on the "create list" button

Tip Properties

Property Name Description Required
Title The title for the Tip Yes
Tip Of The Day Text The body for the Tip, Rich text is supported but not HTML Yes

Options

Setting Description
List Settings
Select a List Select a tip of the day list from the dropdown.
Create New List If needed, create a new list by clicking this button.
Icon Properties
Select Icon Select an Icon from a range by clicking this button.
Font Properties
The following properties affect the Icon, Title, and Tip Property sections.
Font Size Set the font size.
Colour by Theme Set the font colour to use site theme.
Font Colour Set the font colour to a custom colour.
Boldness Set how bold or not the font is.
Position Set where the font positions in the webpart.
Italics Set font to be Itallic.
Button Properties
Hide button Hide the button completely*
Button Text Set the text that appears in the button when it appears.
> Button will only appear if there are more than 1 tip in the list and the "Hide Button" toggle is off.

Config Repository

This web part supports use of the config repository, to allow users to save and load configurations of web parts with ease.

Loading a config file will populate the web part properties with properties from the incoming file.

SharePoint

Saving to SharePoint allows collaboration between users in a tenant.

The path the file is saved to is tenant-name/Site Assets/Mercury Assets/webpart-name.json.

Permissions

To save a file to SharePoint, edit permissions are required on the root Site Assets library.

To load a file from SharePoint, read permissions are required on the root Site Assets library.

OneDrive

Saving to OneDrive allows a user to save a file locally, this is the best option when a user does not have the required permissions to save to SharePoint.

The path the file is saved to is Mercury Assets/webpartname.json.