Quantcast
Channel: THWACK: All Content - Network Performance Monitor
Viewing all articles
Browse latest Browse all 21870

Custom HTML referencing a Custom Property?

$
0
0

Greetings All.  We are in the midst of beefing up our NPM pages to include a picture of the device using Custom HTML (See this thread Add a photo/picture to a node? Is it possible?).  I would like to display 2 pictures in the custom properties.  The first one I'm calling using {$IP_Address}.  The second one I would like to call is a custom property we fill out called "Cabinet".  I'm thinking that we can fill it out like something below, but I'm not getting a response, and think I'm querying wrong:

 

<IMG SRC="http://server/pictures/${IP_Address}.jpg" ALT="Home"></A> <-------------- This works and gives me say 10.10.10.10.jpg or something

 

<IMG SRC="http://serverp/pictures/${dataType.CustomProperties.Cabinet}.jpg" ALT="Home"></A> <--------------- This does not work.  When I do an inspect I get (<img src="http://server/pictures/${dataType.CustomProperties.Cabinet}.jpg" alt="Home">.  The Custom Properties editor shows this guy as having a number of possible options, but for now , I'm looking to return "H21" because that is the value of "Cabinet" for this box.  So I would like to know if it's possible to get <img src="http://server/pictures/H21.jpg" alt="Home"> as the value returned.

 

Thanks,

 

-PKil


Viewing all articles
Browse latest Browse all 21870

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>