From 8ecffa5d7bb0c27a5f09c4c373e1ca45f0255b79 Mon Sep 17 00:00:00 2001 From: jpazgeo <92049749+jpazgeo@users.noreply.github.com> Date: Fri, 9 Dec 2022 09:50:56 -0700 Subject: [PATCH] Updated possible page values where a button item can be added. --- src/software/guides/developing-addins.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/software/guides/developing-addins.md b/src/software/guides/developing-addins.md index ea16773e1..3a512ba84 100644 --- a/src/software/guides/developing-addins.md +++ b/src/software/guides/developing-addins.md @@ -181,15 +181,12 @@ Each Add-In can define zero or more _items_ as part of its configuration file. A | **Name** | **Description** | **Type** | | --- | --- | --- | -| page | Which built-in page to place the button on | String | +| page | Which built-in page to place the button on. *Possible values: 'map', 'tripsHistory', 'devices', 'device', 'zones', 'users', 'user', 'rules', 'rule', 'exceptions', 'customReports', 'customReport', 'engineFaults', 'speedProfile', 'hosLogs', 'hosLog', 'groupsTree', 'routes', 'fuelUsage', and 'engineMeasurements'.* | String | | click | A URL to a JavaScript file which is executed when the button is clicked | String | | buttonName | An object containing key value pairs for the text that appears on the button. The key is the language and the value is the text, for example `{"EN", "New menu item"}` | Object | | icon | (To be deprecated June 04 2021) for placing it in the button label. This property is to be deprecated and replaced by svgIcon for versions 2102 onward. During transition period, if both icon and svgIcon exist, svgIcon will higher priority ([details here](https://www.geotab.com/blog/mygeotab-add-in-icons-specs/)) | String | | svgIcon | A URL Reference to the svg image for placing it in the button label. Since the image file type is a vector, you only need submit one file in any color. The icon file will be updated to the appropriate colors ([details here](https://www.geotab.com/blog/mygeotab-add-in-icons-specs/)). A validator is available [here](#add-in-icon-validator) | String | - - - At least one language is required in each item definition. The following language options are currently supported in MyGeotab: English (`"en"`), French (`"fr"`), German (`"de"`), Spanish (`"es"`), Japanese (`"ja"`), Polish (`"pl"`) Brazilian Portuguese (`"pt-BR"`), Dutch (`"nl"`), Italian (`"it"`), Simplified Chinese (`"zh-Hans"`), Thai (`"th"`), Indonesian (`"id"`), Czech (`"cs"`), Swedish (`"sv"`) and Turkish (`"tr"`). > Reference to the image can be an external URL such as: `https://mysite.com/images/icon.png;` or a link to the image from the images folder of your Add-In_._