Page 1 of 1

Set StructureField Values in Code to XML defined StructureTy

Posted: 17 Oct 2019, 10:17
by s_schmidt
Hello,
I am loading a Nodeset from an xml directly to a c++ SDK Server.The Nodeset contains custom Enumerations and Structures amongst other things.
I created an additional xml nodeset that contains an instantiated Object with a variable, that is of a Structure dataType defined in the other xmlNodeset and also load it to the Server.
I am now trying to set a Value to each StructureField of the variable in the server code, but don't know, how I can do that. To access the Variable I defined an Extension in the xml nodeset, as described in the demoserver.
For now the variable values are empty. The Expert shows datatype null and a blank space for the Value. So how can I now change that and set values manualy in the code? Is there any example code on how to do that?

Thank you!
Best Regards