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.jsonfile that contains a single entry,svgFileName, that contains the same name (icons.svgor whatever else you chose){ "svgFileName": "icons.svg" } - A
resource.jsonfile that references bothconfig.jsonand 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/configendpoint) to pick up the changed resource.