PPF Tile Widget

Add clickable tile buttons for linking reports together or improving navigation.

Overview

Adding a tile to a report is useful for linking reports together or improving navigation.

Full Example

Only options marked as required must be defined — all others use sensible defaults.

var ppf_widgets = {
    example_tile: {
        datadepend: [],
        ele: ['btn1'],
        type: 11,
        height: 60,
        width: 200,
        fontsize: 15,
        fonttype: "Arial",
        txtcol: "#FFFFFF",
        txtalign: "center",
        btntxt: "Example Tile",
        bgcol: "#207196",
        hovcol: "#428db0",
        hovtxtcol: "#000000",
        brdwid: "2",
        brdcol: "#207196",
        hovbrdcol: "#207196",
        url: "",
        target: "self",
        depend: [[]]
    }
}

Required Keys

KeyDescription
ele Required. HTML element IDs where the tile should render. Example: ele: ['btn1']
type Required. Must be 11 for a tile widget.
url Required. Destination URL when the tile is clicked. Full URL including HTTP/HTTPS is required. Example: url: 'https://example.com'
datadepend If the widget depends on a certain data type, define as an array. Common types: voip, act (Quality), route, capacity.

Display Options

Dimensions & Text

KeyDescriptionExample
widthTile width in pixels or percentage.200
heightTile height in pixels or percentage.60
btntxtLabel text displayed on the tile."Example Tile"
fontsizeFont size for the label in pixels.15
fonttypeFont family for the label."Arial"
txtcolLabel text color (hex)."#FFFFFF"
txtalignLabel alignment: left, center, or right."center"

Colors & Borders

KeyDescriptionExample
bgcolBackground color."#207196"
hovcolBackground color on hover."#428db0"
hovtxtcolText color on hover."#000000"
brdwidBorder width in pixels. Set to 0 to remove."2"
brdcolBorder color."#207196"
hovbrdcolBorder color on hover."#207196"

Behavior

KeyDescriptionExample
targetHow the link opens: "self" (same window) or "new" (new window)."self"
dependWidget dependencies. See dependency information.[[]]