Module: Editor
Version: 4.2.1 +
User: Developer
Level: Beginner
Introduction
In this tutorial we will explain how you to create a console application in Futurama.
Prerequisites
- The Futurama Editor must be installed.
- Completing the tutorial Creating formulas with Futurama first, is recommended.
Description
In this tutorial, we will create a console application in Futurama.
A console application is a computer program designed to be used via a text-only computer interface. There's no graphical user interface required.
In Futurama, you can build these applications by creating an Action object in Futurama. Actions can be executed outside of Futurama, by entering a command line.
Safe2Save needs to inform their clients about their future expected savings. Therefore they want an application that will automatically generate a large number of individual documents. In this tutorial, we will build a basic console application, which we will extend to the full version in a later tutorial.
For this tutorial, we've created a document-template in Microsoft Word. This template is used to create a document, in which data from Futurama will be merged.The document is generated by adding a DocConverter object in Futurama. In the tutorial is shown how you must configure the DocConverter, by filling in the three main properties: TemplateFileName, ResultFileName and XmlData.
At the end of the tutorial, we show how you can execute the Action, that enables the DocConverter to generate the document. This can be done from within the Futurama Editor, but also using a Command Line.
In this tutorial we show you a very basic way to execute the console applications, by using a command line. However, Futurama can offer you a sophisticated management tool to execute, manage and monitor these applications for you. Please consult the Futurama Vision-pages for information about this.
Remarks
- In this tutorial one or more prefabricated files are used. You can make use of these files by downloading the end result of the tutorial series here.