Welcome to the #dominoforever Product Ideas Lab! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated jointly by the IBM & HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.

For more information and upcoming events around #dominoforever, please visit our Destination Domino page.

JSON views

We need a 'treat view content as JSON' - this should return valid JSON when opening the view in a browser. Use the view column style to determin the datatype to return.

Domino Data Services is too slow on large views

?ReadViewEntries&OutputFormat=JSON gives a strange format (e.g. returns {"@columnnumber": "8","@name": "$50","number": {
"0": "1854.0258302583"}} when all I need is {"price":1854.03} )

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Sep 24 2018
  • Attach files
  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    September 24, 2018 07:39

    This is the very least you must do to support custom JSON.

    Another approach that also support nested JSON objects:

    When rendering our own JSON formats, we treat the Notes view as HTML and set square brackets on the view template. Since Domino does not support custom JSON from views, we are left with a comma too much at the end of the last row. To solve this we add a null value on the view template. Could Domino please remove the last comma, when the view template has the content-type: application/json! Or set the appropriate commas automatically, after each row, except the last.

    Also add the ability to make closing semantics on categorized columns. The formula in a categorized column could be: "{\"category\" : \"" + category_notes_field + "\", \"elements\" : [", but after the last document in the category we need a place to put "],". I imagine a formula field: "Category End" property under "Column Value". That would also be useful for custom XML.

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    September 25, 2018 12:00

    Actually I think it would be better to just add a JSON form type to the NSF.  You can define field names, but the type is probably just 32k text/JSON.  The form type would then be a trigger for view/document rendering. 

  • Admin
    Thomas Hampel commented
    October 27, 2018 08:08

    Moving idea to product : Domino Designer