OCLOperators opendocumentreportshow
(Adding message template to the top of the page)
(Replacing message template with parser tag)
Line 1: Line 1:
{{message|Write the content here to display this box}}
<message>Write the content here to display this box</message>
Creates a report and tries to open it.
Creates a report and tries to open it.
  opendocumentreportshow(nameOfViewModel)   
  opendocumentreportshow(nameOfViewModel)   

Revision as of 07:51, 17 June 2024

This page was created by Lars.olofsson@mdriven.net on 2019-03-22. Last edited by Stephanie@mdriven.net on 2025-01-31.

Creates a report and tries to open it.

opendocumentreportshow(nameOfViewModel)  

Supply the name of the ViewModel using either a string, like:

self.opendocumentreportshow('myviewmodelname')

or by using the ViewModel expression like this:

self.opendocumentreportshow(<classname>.ViewModels.<myviewmodelname>)

See also: Microsoft Office and OpenDocument as a Report generator, OpenDocument