I'm making a dynamic template that has several buttons with icons. I want to bind the icon paths to string params of the template, but only if the path is valid.
The only solution I can think of to check this is to read the svg files as a string and search the string for the icon name, kind of like this solution for view path:
[feature-781]Perspective: Check if Embedded View 'path' is valid? - Ignition - Inductive Automation Forum
I really don't like this solution though, is there another expression or scripting function I can use to valid the icon path?