Perspective Custom Icons

Standalone Perspective Icon Library Manager.zip (15.5 KB)

I got Claude to write me a Perspective icon library manager to make icon management simple directly within the Designer; no admin rights or remote server access required! (admin rights provided by the service account that the Ignition service runs under)

  • it adds an icon into the Project Browser toolbar to launch it
  • you can drag SVGs into the Icons panel on the right
  • it uses a gateway message handler (included in the project export) which does the file scan and saving of Icon libraries directly on the gateway.

"Install" the icon in the toolbar using:

dev.tools.standalone.iconLibraryManager.install()

If you have Vision installed (including in expired trial mode), you can have it install on Designer launch with a Vision Client expression tag with the expression:

now(0) # fire once on launch

Tag Events -> Value Change:

dev.tools.standalone.iconLibraryManager.install()

(thanks go to @justinedwards.jle for this cool trick!)

I suggest you try this in a local system first and test it. The code is written for v8.3+

PS. I'm ready to cop flak for using AI for this :sweat_smile: But this would have taken me a lot more coffee and time than I have available to write myself! Considering my Java is flakey at best

PPS. Also, if anyone knows how to add a new toolbar panel into the top main UI toolbar area (instead of the Project Browser which I'm using atm), I'm all ears!