02-03-2023 02:48 AM
hello,
i creat a new custom data type in my sequence file name T_Machine contain
{
name : String,
IPaddress : String,
index : Number,
id : String,
params : Container, // can contain many parameters different from machine to another, it is empty by default
}
see the image below
and in the fileglobals i create an array of T_Machine but when i try to insert filed into the params container i can't
why ?
and the idea is i want to create a params of every machine for exemple : i want create params.Port for the first machine
and params.Data for the second machine.
Solved! Go to Solution.
02-20-2023 08:08 PM
karimS,
By default, the expectation is that, the structure of T_Machine (including its sub-container) will be same in all its instance. Hence, you are seeing the behavior which is expected.
If you really want to have different content under a container, you need to set the `UnstructuredProperty` flag. In your case, under T_Machine custom data type, right click on params container. Go to Properties. Click on advanced button and select flags to modify the flags. There, enable PropFlags_UnstructuredProperty.
By doing the above, you will get the behavior you want.
-Shashidhar