Hi.
I need to change by an automation, the name of a parameter on a specific element.which function could we use?
Only one element should be affected by this change.
Thanks
Hi Henri,
The following SLNet call can be used to execute the logic from the "Parameter Names" option mentioned in the other answer. Refer to the Docs for more info about the logic used (it's explained from a connector logic but this is the same background call).
For scripts you'll have to use an SLNet message. Please note that SLNet messages are subject to change, and therefore their use is not recommended, as breaking changes might be introduced in future versions of DataMiner.
Also, this is rather versatile and raw SLNet method, so please don't mind the undescriptive properties of the object used.

You can indeed revert to the old value using "" as parametername. I'm not sure if this correctly removes the entry from Description.xml, but I do not believe this would be an issue anyway?
Hi Henri,
I would say that to override a parameter name, the best would be to use an information template as described in Creating an information template | DataMiner Docs:

Kind regards,
Hi. We need to change only one element.
So the Information template is not the solution.
Regards.
If you wish only to change this for a single element, it should be possible by following this guide: https://docs.dataminer.services/dataminer/Operator_guide/Parameters/Changing_the_way_parameters_are_displayed/Changing_parameter_names_for_a_particular_element.html
Yes, I knew this way. But I need to do the chnage using an automation script.
Regards
Hi Henri,
To change a parameter name using Automation, you would need to use SLNet messages.
However, please note that SLNet messages are subject to change, and therefore their use is not recommended, as breaking changes might be introduced in future versions of DataMiner.
More information can be found here:
I did a quick check to understand which SLNet calls are involved, and it’s not very straightforward to implement this directly in code.
If you only need to rename the parameter for a single element, I’d suggest doing it manually, as Catarina recommended.
Kind regards,
Hi. Thanks a lot.
How can we remove with function, a value setted before?
If I use : "" as parameter name, the entry always exist in Description.xml file:
<?xml version="1.0" encoding="utf-8"?>
<Params xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.skyline.be/config/description">
<Param id="20">
<Description></Description>
</Param>
</Params>
Regards