Skip to content

Error saving any client sort values #11

@vajras

Description

@vajras

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions