Generating documents
In this path, you will learn how to generate a set of documents from archITekt Studio, and how to prepare a generating package, invoked at the user's request from the website.
Below is the material presenting the resulting functionality.
Issues presented in the current article
DATA STRUCTURE
| LIST
|
FORM
| PACKAGE
|
DOCUMENT GENERATION
| WORKFLOW
|
OTHER
|
STEP 1 - DATA STRUCTURE
In this step:
-
You will create a data structure
-
You will create binary fields to store the generated documents
STEP 2 - LIST AND FORM
In this step:
-
You will create ang cofigure a list of clients
-
You will create a form that you will use to add and edit new clients
-
You will specify the conditional visibility of the control
STEP 3 - MENU AND ACTIONS
In this step:
- You will create a menu
- You will add the actions of adding and editing elements on the list
- You will add the action Save ont he form
- You will add data of several clients to the database
STEP 4 - DOCUMENT TEMPLATE
In this step:
- You will create 2 document templates
STEP 5 - DOCUMENT GENERATOR I
In this step:
- You will import document templates to archITekt Studio
- You will create a package for generating documents
- You will use blocks (Database Reader, Document generation, Database Writer)
- You will generate a set of documents for clients and save them to the database
- You will download the generated documents from the website
STEP 6 - DOCUMENT GENERATOR II
In this step:
- You will create a package for generating a summary document
- You will use blocks(Database Reader, Map In Place, Document generation, Database Writer, Run code, Request, Response)
- You will save the generated document in the specified location on the disk
STEP 7 - CALLING GENERATING SERVICE FROM WWW
In this step:
- You will publish the package as a service available from the website (on-demand document generation)
- You will create a workflow with which to invoke the document generation service
- You will add a document generation action on the list