The current implementation of NotesQueryResultsProcessor.executeToView(...) in the 12.0.1 beta creates a pretty basic view design element.
That's ok when the view data is rendered for a browser, but to display these kind of new views in the Notes Client, we need more styling options and a way to programmatically add code to the created view.
Please add a parameter to specify a template view (from the same DB as the QRP view or a different one).
The executeToView() method would then copy its general view style (e.g. actionbar colors/fonts, actions) and event code.
For the columns, it could try to locate a column with the same programmatic name as in the QRP view definition or use a column named "$default" as fallback for other columns.
executeToView() should copy all column style properties (like name/datetime/number formatting, twistie image, fonts/colors/background) that make sense in a QRP view. Categorization/sort options of the template column should be ignored since they may not match the QRP view definition.
Karsten Lehmann, Mindoo GmbH