The POSM template editor allows the user to edit, create and delete database session templates from POSM. By default POSM comes with five built in templates. The POSM template can be modified to meet the user’s needs, but it is recommended that a template be created while using the POSM template as an example.
To edit a template select it from the Template Name drop down and click the Edit button. After pressing Edit the template can be deleted by pressing the Delete button by the Template Name drop down. A whole page can be deleted by pressing the Delete button by the Page Name box. A single row may be deleted by clicking the Delete button at the end of each row.
There are 15 pages to edit. Each page holds up to 10 fields. Select the current page from the Edit Page drop down. Each page must have a Page Name. This is the name that will show up in the Tab menu of the Session Information page. Field names can be assigned or changed by editing the text in the Field Name box.
There are three field types: a text box (which will store text), a combo box (which stores text but has a drop down of all text entered previously into that box), and a checkbox (which is a yes or no box). You can group fields together to make them store information faster. In this case, when a pipe name is chosen from the Pipe Name combo box, the Size of Pipe and Type of Pipe are filled in as well. When using groups, the item in Field 1 must be a combo box. Special fields allow POSM to know where important data is located in the template, such as the Project Name, Start ID (Start Manhole Number), Date, etc. By checking the required box, the user will be required to enter data into this field when starting a session. There are three types of valid data: text, numeric and date. Once selected one can set an operator and a length to enforce data is entered correctly. Common operator types may be assigned to a field validation. The maximum length a field can be is 100. The length field may be set from 1-100. For instance, to enforce a correct year to be entered, one could set valid type to Numeric, Operator to =, and Length to 4. This would ensure that a year, such as 1977 be entered.
The Print Template button will print out a list of all of the fields in the template. This is helpful when creating HTML report templates.
Make Default Report Template will make a basic HTML report template. This is the first report when the report generator is opened. The HTML template may also be modified with the POSM HTML report editor or any other HTML Editor. All HTML templates are placed in the Templates folder in the main POSM directory.
The Setup Report Header button will allow the user to modify the header that shows up on the Faults (Observation) and Plot reports.
The user has up to 11 fields that can be placed in the header. Any special field can be placed into the header of these reports. To enable borders in the header check the Show Table Borders box.
Opening a report will show the newly modified header. The Special field names will be converted to the field names entered by the user.
Make Default Text Intro (Title) pages will create the text overlay pages that show when a session is started. These can be edited by opening Edit Text Intro (Title) Pages from the Database Template Editor.
Save will save any changes made to this page.
To finish editing the template, click done.
Click exit to close the Template Editor.
The Edit Drop down allows the user to fill in data for the operator to select when filling out the session information. If data is pre-entered in the drop down, it must be used. The operator will not be allowed to enter their own information into that field.
To create a new item for the drop down type in a description of the item such as 10 Inch PVC and fill in a code that will be used for this item. Next click create new to enter this item into the drop down list.
To remove an item from the list, highlight the item, and click delete to remove it. A pop up box will appear to verify the deletion.
Click Exit to close the drop down editor.