AnsweredAssumed Answered

Custom CSS for Pi Vision symbol

Question asked by ekagarmanov on May 30, 2018
Latest reply on May 31, 2018 by ekagarmanov

I've created a custom PI VIsion symbol with d3 diagram and now I need to add some bootstrap functionality to it. So I add bottstrap.min.js file to symbol/ext/libraries catalog and PI Vision loads it well, but where I need to put CSS file for PI Vision to load it on my display? I've tried to put it in the same catalog as js file and to add a direct link  to my css in symbol template file, but nothing works.

 

I'm a bit new to Pi Vision development, so can someone also explain how PI Vision loads js and css files to the interface? Is there any special settings ot it simply scans its catalogs for possible files to load?

Outcomes