Okay, here's the current steps.
-
Navigate to your install directory, and in the
/data/config/resources/core/
folder, create a new foldercom.inductiveautomation.perspective/
(if it doesn't already exist). -
Within that folder create an
icons/
folder. -
Within that folder create a
<repository name>/
folder. -
Within that folder, create:
- The spritesheet of your SVG, at whatever arbitrary filename you want, e.g.
icons.svg
. - A
config.json
file that contains a single entry,svgFileName
, that contains the same name (icons.svg
or whatever else you chose){ "svgFileName": "icons.svg" }
- A
resource.json
file that references bothconfig.json
and your custom icons SVG:{ "scope": "A", "version": 1, "restricted": false, "overridable": true, "files": [ "config.json", "icons.svg" ], "attributes": { } }
- The spritesheet of your SVG, at whatever arbitrary filename you want, e.g.
-
Restart the gateway (or POST the
/data/api/v1/scan/config
endpoint) to pick up the changed resource.