Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| docs:2500_config_apps:1300_add_edit_doctemp [2022/08/25 00:00] – ↷ Page moved from 2500_config_apps:1300_add_edit_doctemp to docs:2500_config_apps:1300_add_edit_doctemp administrator | docs:2500_config_apps:1300_add_edit_doctemp [2025/06/12 03:58] (current) – Change to AwareIM aware_support3 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ====== Adding/ | ====== Adding/ | ||
| - | The following section describes how to work with the editor of document templates when adding a new document template or editing an existing one. Document templates are described in the [[2000_concepts: | + | The following section describes how to work with the editor of document templates when adding a new document template or editing an existing one. Document templates are described in the [[docs:2000_concepts: |
| - | The editor of document templates can be started as described in the [[2500_config_apps: | + | The editor of document templates can be started as described in the [[docs:2500_config_apps: |
| ===== Name ===== | ===== Name ===== | ||
| Line 12: | Line 12: | ||
| ===== Description ===== | ===== Description ===== | ||
| | | ||
| - | Specify any text that describes what the document template is for, how it is used etc. Providing a description is not mandatory but is highly recommended. Any description if defined is included into the generated documentation for the business space version – see [[2000_concepts: | + | Specify any text that describes what the document template is for, how it is used etc. Providing a description is not mandatory but is highly recommended. Any description if defined is included into the generated documentation for the business space version – see [[docs:2000_concepts: |
| ===== Type ===== | ===== Type ===== | ||
| | | ||
| - | Select the type of the document template from the “Type” combo box. //**Aware IM**// comes with the following pre-defined types: | + | Select the type of the document template from the "Type" |
| - | - //Report// – the document template represents a report. This type is different from other types of the document templates in the way //**Aware IM**// handles it when it creates a document from a document template – see [[2000_concepts: | + | - //Report// – the document template represents a report. This type is different from other types of the document templates in the way //**AwareIM**// handles it when it creates a document from a document template – see [[docs:2000_concepts: |
| - //Text document //– the document template represents an ASCII text. | - //Text document //– the document template represents an ASCII text. | ||
| - //MS Excel document //– the document template represents a Microsoft Excel file (.XLS). | - //MS Excel document //– the document template represents a Microsoft Excel file (.XLS). | ||
| - //MS Word document //– the document template represents a Microsoft Word file (.doc) – this document type is not available under Linux and Mac OS X operating systems. | - //MS Word document //– the document template represents a Microsoft Word file (.doc) – this document type is not available under Linux and Mac OS X operating systems. | ||
| - //MS Word document (XML format)// | - //MS Word document (XML format)// | ||
| - | - this document type represents an MS Word document saved in the XML format. It can be used as a replacement for MS Word documents on Linux and Mac OS X operating systems if an Aware IM server is running on the above platform and the client browsers are running on the Windows platform. In this case the XML file will be displayed in the browser properly using MS Word. | + | - this document type represents an MS Word document saved in the XML format. It can be used as a replacement for MS Word documents on Linux and Mac OS X operating systems if an AwareIM |
| - //HTML document //– the document template represents an HTML file. | - //HTML document //– the document template represents an HTML file. | ||
| - | In addition to the pre-defined types it is possible to plug-in custom types – see "[[3500_prog_ref:0000_start|Aware IM Programmers Reference]]”. | + | In addition to the pre-defined types it is possible to plug-in custom types – see [[docs:3500|Programmers Reference |
| - | < | + | <callout type=" |
| ===== Data shown in the document template ===== | ===== Data shown in the document template ===== | ||
| | | ||
| - | The options of this property determine the source of data that //**Aware IM**// should use when generating documents from document templates. This data is used to replace the contents of tags used in the document template (if any) with the appropriate attribute values (see [[2000_concepts: | + | The options of this property determine the source of data that //**AwareIM**// should use when generating documents from document templates. This data is used to replace the contents of tags used in the document template (if any) with the appropriate attribute values (see [[docs:2000_concepts: |
| ==== Determined at run time ==== | ==== Determined at run time ==== | ||
| - | This option indicates that the data should be determined from the context of the document template usage. For example, the user can select certain instance(s) of a business object and run the report using these instances as the data source. Or some attribute of a business object of the Document type initialises itself with the document template – in this case the document will use the data of this business object’s instance – see [[2500_config_apps: | + | This option indicates that the data should be determined from the context of the document template usage. For example, the user can select certain instance(s) of a business object and run the report using these instances as the data source. Or some attribute of a business object of the Document type initialises itself with the document template – in this case the document will use the data of this business object’s instance – see [[docs:2500_config_apps: |
| ==== All instances of the specified business object | ==== All instances of the specified business object | ||
| Line 43: | Line 43: | ||
| ==== Run query ==== | ==== Run query ==== | ||
| - | This option indicates that //**Aware IM**// should always run the specified query and use the instances of the business objects that it finds as the data source for the document generation. If you select this option you must also specify whether //**Aware IM**// should run one of the queries already defined in the business space version (select the “Existing query” radio button and select the query from the combo box) or it should run the query specifically created for this purpose (select the “Custom query” radio button and press the Edit button to define the query – see [[2500_config_apps: | + | This option indicates that //**AwareIM**// should always run the specified query and use the instances of the business objects that it finds as the data source for the document generation. If you select this option you must also specify whether //**AwareIM**// should run one of the queries already defined in the business space version (select the “Existing query” radio button and select the query from the combo box) or it should run the query specifically created for this purpose (select the “Custom query” radio button and press the Edit button to define the query – see [[docs:2500_config_apps: |
| ===== End user access ==== | ===== End user access ==== | ||
| - | The options of this property determine whether the document or report will be accessible for viewing/ | + | The options of this property determine whether the document or report will be accessible for viewing/ |
| ==== Design of the document==== | ==== Design of the document==== | ||
| - | If you select the " | + | If you select the " |
| For all other types of document templates you should create the design of the document using the appropriate software (for example, create Word document using Microsoft Word software) and import this document into the editor (see below). | For all other types of document templates you should create the design of the document using the appropriate software (for example, create Word document using Microsoft Word software) and import this document into the editor (see below). | ||
| Line 58: | Line 58: | ||
| ====Import==== | ====Import==== | ||
| - | Importing a layout of a document template can be useful if you want to re-use the same layout in a different document template. Layouts of reports can also be re-used in presentations of business objects and business object groups – see [[2500_config_apps: | + | Importing a layout of a document template can be useful if you want to re-use the same layout in a different document template. Layouts of reports can also be re-used in presentations of business objects and business object groups – see [[docs:2500_config_apps: |
| ==== Export==== | ==== Export==== | ||
| - | Exporting a layout of a document template can be useful if you want to re-use the same layout in a different document template. Layouts of reports can also be re-used in presentations of business objects and business object groups – see [[2500_config_apps: | + | Exporting a layout of a document template can be useful if you want to re-use the same layout in a different document template. Layouts of reports can also be re-used in presentations of business objects and business object groups – see [[docs:2500_config_apps: |