The export of a document from SCOPELAND is determined on the one hand by a special interface applet, which delivers the data, and on the other hand by a template, which describes the appearance of the document. To generate a report (no matter whether DirectDesk report, Windows report, WebReport etc.) one always goes one of the two following ways:
Either open the table containing the corresponding data or columns directly from the object manager, select the columns you would like to be visible in the selection mask and then save the table as a report using the ‘Save as’ menu (diskette symbol in the upper left corner) (select report type under File type).
The other possibility is to create a report directly via the menu item ‘Develop/New/New ReportDirect’. In the window that appears, select the desired source table and proceed as described above. In these two ways, a table is created that is never displayed to the user and serves only as a data collection. If further filters or the like are to be effective in this table, they must be passed on from a preceding page or selected there by the user by passing parameters. After clicking on ‘Save’, the generation process starts, which generates both an export program and a document template from the applet, which can be used as a starting point. A dialog window appears in which the generation of the document template can be controlled. After the generation of the report is finished, the template can be viewed, controlled and adapted in the menu Develop under the menu item Template. The generated document can then be checked via the menu item ‘Preview’. Like other applets, an export applet is called by URL or function. The applet itself is not displayed to the user, but the newly exported document is displayed or downloaded from the web.
Examples:
open://MyDocumentApplet
open://MyDocumentApplet?Param1=Value1&Param2=Value2