-
Notifications
You must be signed in to change notification settings - Fork 2
Error saving any client sort values #11
Description
Hi There,
I love your view control, but cannot use any client sort values. If I try to add any values to client sort fields, the viewDef.save fails trying to convert the sortArray to JSON on this line with this error:
docViewDef.replaceItemValue("sortArray",toJson(sortArray))
error: com.ibm.commons.util.io.json.JsonException: Unknown literal of class com.ibm.jscript.types.FBSUndefined.
I have tried both a Domino 9 and Domino 11 server and they both throw this error. When I look at the getSortArray function that is called before this line, it seems to work properly. However the toJSON function cannot convert this array to JSON.
If I knew what format the sortArray field was expecting, I would format the string myself and put it in this field. I would love to know what to put here and/or fix this. I have a project putting Notes users on the web and they love their categories. totals etc.
Thanks
Eli