For a View container control you have the 'first' (first row index) parameter. However if you use a view as a datasource for a view this parameter is lacking.
I am working on a 'spotlight' function where I would like to display 1 document from a view in random order. Since there is no '&start=' option for the view data source I get sometimes in my repeat control no results returned when using something like:
var v:NotesView = database.getView("$v-pixbyid");
var num = v.getAllEntries().getCount().toFixed();
for the first parameter in the repeat control. I guess this is because the number is not in the first set of documents returned...
Using the startkey option for the view data source does not work with a # in view for the first column.
Anyone know a work around?