Home Search

DriveWorks Solo 21
Quote Document (Français)

Send Feedback

Quote Document (Français)

Creates a customizable quote in French.

The document uses a XML master file to allow data to be driven into it, and then uses a transform script to create a HTML file for viewing.

This template will add the following to the project:

  • Variables - Stored in a category named Common.
  • Variables - Stored in a category with the name given to the document.

The Quotation document template will create a HTML file which is viewable in a web browser.

Add the Quote Document (Français) Document

In DriveWorks Administrator open the project the document is to be applied and go to Stage4: Output Rules> Documents

  1. Click the Add button on the command bar.
  2. Choose the Quote Document (Français) from the Document Templates list on the Add Document wizard.
  3. Give the new document a name and click Finish.

Edit the Quote Document (Français) Document

Once the document has been added it will open in edit mode where various options and the parameters that hold the data can be driven.

Options

The Options can be minimized to allow more document parameters in view.

Click the arrow next to the Options heading to toggle between minimized and maximized mode.

The Options available for editing include:

  • Master File - The location and name of the master file any new document is created from.
  • Document Name - The name that will be applied to the new document.

    By default the rule given is <Document Name> & DWSpecification & ".html"

    The Document Name will need to be unique if all documents are stored in the same location. Otherwise existing documents will be overwritten.

    If the document is not required to be created for a specification the rule must result in one of the following:

    delete, suppress, false, <delete>, <suppress> or <false>

  • Document Path - The location the new document will be stored.

    By default the rule given is blank, meaning it will be stored with the specification.

  • Hide From Document List - Check to not display the new document in the documents list for a specification.

Parameters

The parameters that allow data to be driven into the document are listed below the options.

The list of parameters can be filtered by using the filter box above the list.

Each parameter has a pre-defined rule applied. The rule is either the name of a variable or a rule that uses the name of a variable.

Each parameter can have its pre-defined rule modified by selecting the parameter and clicking build to launch the rule builder. However we recommend modifying the variables to get the required results.

  • To modify the variable - select the parameter and click the build button from the command bar. When the rule builder opens, right click the variable and select Edit variable.

Modifying Images and XML

The images used in the document can be modified by replacing the existing images with your own.

A folder will be created in the Project location with the name:

<Document Name> Quote Document (Français)

This folder will contain the files Devis.xml, logo.png and a sub folder named Content.

The Content folder contains the file DevisTransform.xslt

Replace the images described above with your own to allow them to be used in each document created.

More advanced customizations can be done if you are familiar with XML and XSLT by modifying the corresponding files in the locations described above.