Skip to main content

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

  1. Building a data structure
  2. Binary field

LIST

  1. List structure and settings
  2. Action Column
  3. Actions on the List

FORM

  1. Form structure and settings
  2. Container control
  3. Initial mappings
  4. Conditional control visibility
  5. Actions on the form

PACKAGE

  1. Database Reader block
  2. Map In Place block
  3. Document generation block
  4. Database Writer block
  5. Run Code block
  6. Request block
  7. Response block
  8. Publishing a package

DOCUMENT GENERATION

  1. Document templates
  2. Documents - MS Word add-in
  3. Template structure
  4. Template tags
  5. Template attributes
  6. Importing templates into archITekt Studio

WORKFLOW

  1. Building a simple workflow
  2. Activity WCF service

OTHER

  1. Expressions
  2. Restarting services from the launcher
  3. Creating a Menu

STEP 1 - DATA STRUCTURE​

In this step:

  1. You will create a data structure

  2. You will create binary fields to store the generated documents

STEP 2 - LIST AND FORM​

In this step:

  1. You will create ang cofigure a list of clients

  2. You will create a form that you will use to add and edit new clients

  3. You will specify the conditional visibility of the control

STEP 3 - MENU AND ACTIONS​

In this step:

  1. You will create a menu
  2. You will add the actions of adding and editing elements on the list
  3. You will add the action Save ont he form
  4. You will add data of several clients to the database

STEP 4 - DOCUMENT TEMPLATE​

In this step:

  1. You will create 2 document templates

STEP 5 - DOCUMENT GENERATOR I​

In this step:

  1. You will import document templates to archITekt Studio
  2. You will create a package for generating documents
  3. You will use blocks (Database Reader, Document generation, Database Writer)
  4. You will generate a set of documents for clients and save them to the database
  5. You will download the generated documents from the website

STEP 6 - DOCUMENT GENERATOR II​

In this step:

  1. You will create a package for generating a summary document
  2. You will use blocks(Database Reader, Map In Place, Document generation, Database Writer, Run code, Request, Response)
  3. You will save the generated document in the specified location on the disk

STEP 7 - CALLING GENERATING SERVICE FROM WWW​

In this step:

  1. You will publish the package as a service available from the website (on-demand document generation)
  2. You will create a workflow with which to invoke the document generation service
  3. You will add a document generation action on the list