I am creating an IAS which will allow a user to create, update and delete elements via a UI. I have created an element already, but I am struggling to change the element name. Is there any inbuilt call to change update the name of an already created element? I am currently trying the following, but I feel I kind of need to push the changes, as the information event displays the new name, but it does not update accordingly in DataMiner Cube.
var element = dms.GetElement(elementName);
element.Name = “New Name”;
engine.GenerateInformation(element.Name);
Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 24th January 2024
Hi Jon
After making changes to the IDmsElement object, you need to call .Update() to actually push the changes. This was done to group multiple changes in a single call.
Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 24th January 2024

That solved it. Thanks for the help Michiel