Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| docs:3500:0600 [2023/04/05 09:06] – [Adding custom document types] sean | docs:3500:0600 [2025/06/12 04:00] (current) – Change to AwareIM aware_support3 | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ====== Adding custom document types ====== | ====== Adding custom document types ====== | ||
| - | //**Aware IM**// comes with a number of predefined document types: - '' | + | //**AwareIM**// comes with a number of predefined document types: - '' |
| - | Note that adding new document types is only necessary if you want to include tags in documents and you want //**Aware IM**// to replace tags with specific attribute values at run time. If you want to use documents without modifying them you can just attach a document in any format to a form of a business object that has an attribute of the '' | + | Note that adding new document types is only necessary if you want to include tags in documents and you want //**AwareIM**// to replace tags with specific attribute values at run time. If you want to use documents without modifying them you can just attach a document in any format to a form of a business object that has an attribute of the '' |
| - | To add a new document type to //**Aware IM**// follow the steps below: | + | To add a new document type to //**AwareIM**// follow the steps below: |
| - Write the code for the component that will work with documents of the new type on the client side (see [[docs: | - Write the code for the component that will work with documents of the new type on the client side (see [[docs: | ||
| - Write the code for the component that will work with documents of the new type on the server side (see [[docs: | - Write the code for the component that will work with documents of the new type on the server side (see [[docs: | ||
| - Compile the source code of your components and package them in a jar file(s). Make sure that the jar file resides in the '' | - Compile the source code of your components and package them in a jar file(s). Make sure that the jar file resides in the '' | ||
| - | - Add the definition of a new document type to the '' | + | - Add the definition of a new document type to the '' |
| DocumentEngines=com.bas.basserver.documents.JasperReportsEngine, | DocumentEngines=com.bas.basserver.documents.JasperReportsEngine, | ||
| - | Note that you have to make sure that the jar file with your server side component as well as the modifications to '' | + | Note that you have to make sure that the jar file with your server side component as well as the modifications to '' |
| If everything has been done correctly the new document type must appear in the list of document types displayed by the Document Template Property Editor (see [[docs: | If everything has been done correctly the new document type must appear in the list of document types displayed by the Document Template Property Editor (see [[docs: | ||