You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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
The text was updated successfully, but these errors were encountered:
Can you post a print() of what your sortArray value looks like by adding
the print(sortArray) to either the save function or the getSortArray()
function? Also maybe include a screenshot of your view definition?
On Fri, Jul 23, 2021 at 4:35 PM vajras ***@***.***> wrote:
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
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#11>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA6LVMNUOO3V7DXZAVLEJRDTZHG7PANCNFSM5A4U5GRA>
.
--
Regards,
Michael G. Smith
856.522.6696
***@***.***
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
The text was updated successfully, but these errors were encountered: