Pinging to see if anyone has a work around for this? -----Original Message----- From: Peter Wicks (pwicks) <pwi...@micron.com> Sent: Wednesday, April 17, 2019 8:22 AM To: dev@nifi.apache.org Subject: Custom Javascript in UI Without Custom Build
I have some custom Javascript, used for application monitoring, that I'd like to put in the UI. I know how to do this if I'm willing to run a custom build of NiFi. Is there anyway to do this without a custom build of NiFi? My first thought was creating a dummy processor with an Advanced UI, and seeing if maybe I could get Javascript for that Advanced UI to run when the NiFi UI is loaded. This is a bit of work, so I thought I'd ask before trying this. My second thought was to try and abuse the nifi.ui.banner.text setting, but this uses `text()` to set the banner text, so would not work for a block of Javascript. I ran across this article by Scott Aslan, https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.hortonworks.com%2Farticles%2F134888%2Fan-apache-nifi-frontend-developers-cookbook-part-1.html&data=02%7C01%7Cpwicks%40micron.com%7C65be6350469d4b0f3c5a08d6c3402698%7Cf38a5ecd28134862b11bac1d563c806f%7C0%7C1%7C636911077628346348&sdata=0gUO3oMynAPBTPTdDyE2uJ5n%2BTNY9P4HmDZm%2BdLhmDg%3D&reserved=0, but it was focused on core NiFi UI (great read, just not the direction I'm trying to go). Thanks, Peter