Hey guys, I have an ugly hack in place that I would like to fix. I needed the {HOST.ID} available to preprocessing scripts. From what I can tell, only user macros are supported. I had to make a script that calls the API and creates a static user macro with the host ID value, then reference that user macro in the javascript code of the preprocessing script. It's not portable.
Does anyone know of a graceful way to access {HOST.ID} (or {HOST.HOST}) within a preprocessing script? I tried creating a user marco with the value: {HOST.ID}, but that didn't work.
Thanks.
Does anyone know of a graceful way to access {HOST.ID} (or {HOST.HOST}) within a preprocessing script? I tried creating a user marco with the value: {HOST.ID}, but that didn't work.
Thanks.