Craig100
01/30/2025, 5:11 PMmember
MyData (block list) {
Name (textString)
Code (testString)
BrandList (Multinode Tree Picker)
}
An import script has been written to take details from a csv file to create new members. This works fine, but the MyData blocks can't be updated . ChatGPT reports that IPublishedElements are "immutable" and so can't be changed directly.
Here's the line that gets MyData as an IEnumerable.
var myList = theNewMember.GetValue<IEnumerable<IPublishedElement>>("myData") ?? Enumerable.Empty<IPublishedElement>();
I need to be able to add new IPublishedElements to myList. Any ideas would be appreciated.
Thanks.bielu
01/30/2025, 6:02 PMCraig100
01/30/2025, 6:06 PMbielu
01/30/2025, 6:09 PMCraig100
01/30/2025, 6:09 PMbielu
01/30/2025, 6:11 PMCraig100
01/30/2025, 6:11 PMbielu
01/30/2025, 6:12 PM