.dawhite
11/08/2023, 9:03 AM.dawhite
11/08/2023, 9:07 AMJemayn
11/08/2023, 9:13 AM["val1", "val2"]
and before converting to that it would be empty.
So I had a converter that changed the values like so:
csharp
// Contentment checkbox list expects data as - ["val1", "val2"] - so have to convert it to this format
return $"[\"{string.Join("\", \"", res)}\"]";
Easiest way to check the data format is to create a new contentment property editor set up the way you want with some values and then selecting a value and then seeing what it stores in the database for that.
That is the value format you need to emulate when converting old data.dawhite
11/08/2023, 9:28 AMJemayn
11/08/2023, 9:42 AMcdata[1234]
then it might work if you strip the cdata part and just use 1234
- but it all depends on the datasource and what it expectsKevin Jump
11/08/2023, 10:09 AMKevin Jump
11/08/2023, 10:09 AMKevin Jump
11/08/2023, 10:10 AMleekelleher
11/08/2023, 10:57 AMIEnumerable<string>
.leekelleher
11/08/2023, 10:59 AM.dawhite
11/11/2023, 11:14 PM