I use code to create the following two fields. How do I use code to check "Dynamic"?
treenode focus5 = list; string fieldTypeName5 = "ExpressionField"; treenode newField5 = function_s(focus5, "addField", fieldTypeName5); newField5.name = "Content"; treenode Expression5 = newField5.find("expression"); string Code5 = "Variant value = param(1);\n\ Variant puller = param(2);\n\ treenode entry = param(3);\n\ double pushTime = param(4);\n\ return /**/value.as(Storage.Slot).slotItems.length/**direct*/;\n\ "; Expression5.value = Code5; treenode focus6 = list; string fieldTypeName6 = "LabelField"; treenode newField6 = function_s(focus6, "addField", fieldTypeName6, 1); newField6.name = "ID";
Thanks.