NetXMS Support Forum

English Support => General Support => Topic started by: reez_q11 on May 19, 2017, 06:30:46 AM

Title: updating dci's description
Post by: reez_q11 on May 19, 2017, 06:30:46 AM
hi all,

do you know command/reference to update dci's description?

i tried something like:
$dci->description = "new desc";

not working.

i know for table's cell there are a way to update the value.
$1->set(row,col,"newvalue");

are there similiar ways?

thx in advance :D
Title: Re: updating dci's description
Post by: Victor Kirhenshtein on June 20, 2017, 10:44:19 PM
Hi,

currently you cannot change DCI from NXSL scripts. However, you can use nxshell scripts to modify DCIs (some examples on our wiki: https://wiki.netxms.org/wiki/Using_nxshell_to_automate_bulk_operations (https://wiki.netxms.org/wiki/Using_nxshell_to_automate_bulk_operations)).

Best regards,
Victor