I’ve got a C API application that extracts recurring appointments from a standard mail template .nsf file. The way I identify them is by scanning all notes in the $All view, then opening each one to see if it is an appointment and if so, has the required recurring field names. The problem is this wastes a lot of time by examining email notes. Is there a view or another way to limit my scan to just recurring entries? When I look at $Calendar, I get expanded calendar entries, not the recurring master entry. I guess I need to create a view, but I cannot modify the .nsf file, it would have to be something temporary in my app.
Subject: Your app could do a db.search
which is kind of the equivalent of having a view with a selection formula.
Subject: Are you referring to NSFSearch()?
I assume that would be the same as the NSFSearch API? And the Formula would be to check for the “RepeatFor” (or similar) field to be set? My concern is, unless that field is indexed, Notes ends up doing a serial search of all notes anyway, so it would not be any faster than what I am doing now.