NetXMS Support Forum

English Support => General Support => Topic started by: Benjamin Dill on November 07, 2023, 07:59:02 PM

Title: Source node override with templates
Post by: Benjamin Dill on November 07, 2023, 07:59:02 PM
Is it possible to assign the source node override of some DCI differently on nodes with the same template? I could not find anything about thr DCI's source node in NXSL.
I can imagine setting the DCI's origin to "Script" and query the DCI from a different node by script but maybe there is an easier way?
Title: Re: Source node override with templates
Post by: Alex Kirhenshtein on November 07, 2023, 11:18:06 PM
Short answer - you can't. There are various workarounds, but I'd just split template into two, then configure autobind based on some marker.
Title: Re: Source node override with templates
Post by: Benjamin Dill on November 08, 2023, 08:47:04 AM
Thank you, that's how we are doing it at the moment ;)