• Anonymous
  • Login
  • Register
XPages Extension Library - Discussion: REST API - Using dates and multiple-value keys for view queries

Created on Jul 12, 2012
Created by Marat Golaviev
Status
Open

Hi! Is there a way to use multiple values and datetimes for "keys" parameter of a view collection REST service?

Something like http://server/db.nsf/api/data/collections/name/MyView?keys=smith;john

Original LotusScript/Java View.GetAllDocumentsByKey can query over multiple columns if provided with an array of values...

From what I've digged up in source code, SearchKeyNavigator class supports both and ViewParameters class allows arbitrary objects as keys. However, ViewEntryCollectionResource uses DefaultViewParameters, which only supports a string as a "keys" parameter.




Documents
     
Creation Date
Author
Subject
Jul 12, 2012 Marat Golaviev REST API - Using dates and multiple-value keys for view queries
Jul 16, 2012 Dave Delay     Response: Unfortunately no ...
     
In this field you can enter the actual discussion topic.

You can use the rich text editor for rich text formating. You can also enter HTML to embed objects, e.g. to embed a YouTube video or a screenshot of the project. In this case use '[' and ']' to mark the passthrough HTML as such.

Please note that the first time you use the new UI your description is converted from rich text to MIME. You might want to copy and paste the raw plain text from the old UI in the new UI so that you don't loose information.