OCLOperators opendocumentreportshow
No edit summary
No edit summary
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Creates a report and tries to open it
<message>Write the content here to display this box</message>
Creates a report and tries to open it.
  opendocumentreportshow(nameOfViewModel)   
  opendocumentreportshow(nameOfViewModel)   
You supply the name of the viewmodel using either a string, like  
Supply the name of the ViewModel using either a string, like:
  self.opendocumentreportshow('myviewmodelname')
  self.opendocumentreportshow('myviewmodelname')
or by using the viewmodel expression like
or by using the ViewModel expression like this:
  self.opendocumentreportshow(<classname>.ViewModels.<myviewmodelname>)
  self.opendocumentreportshow(<classname>.ViewModels.<myviewmodelname>)
See also [[OpenDocument fine tuning]], [[OpenDocument]]
'''See also:''' [[Documentation:Microsoft office and OpenDocument as a Report generator|Microsoft Office and OpenDocument as a Report generator]], [[Documentation:OpenDocument|OpenDocument]]
[[Category:OCLOperators]]
{{Edited|July|12|2025}}

Latest revision as of 05:56, 31 January 2025

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