Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error saving any client sort values #11

Open
vajras opened this issue Jul 23, 2021 · 1 comment
Open

Error saving any client sort values #11

vajras opened this issue Jul 23, 2021 · 1 comment

Comments

@vajras
Copy link

vajras commented Jul 23, 2021

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

@michaelgsmith
Copy link
Owner

michaelgsmith commented Jul 26, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants