How to create a new document type
Document types are a key concept in how PageSeeder represents and validates structured text.
This tutorial shows how to setup a custom document type. It is aimed at developers but could be of interest to analysts or technical writers.
NoteNo additional software is required, however users must have a role of administrator on the PageSeeder server.
Switch to the developer perspective
The Developer tab will now become visible. Hover over it and click on 'Document types'.
Click on 'Create document type'. A box will popup asking for entry of the name of the document type that is to be created. For the purpose of this tutorial we will call the document type 'movie_information'.
Press Create to be directed to the screen below. A
document-template.psml file will need to be created next, otherwise the document type will not save. Click on the first icon to create a document template.
Click on the first line of the
document-template.psml file and hit the space bar. This will allow the generic file to be saved and it can be modified later.
After clicking save, the new document type 'movie_information' will display on the document types screen.
It can now be selected when creating a new document.
Once this has been completed, see Tutorial 2: How to modify a document template.
Created on , last edited on