D.5.1. What is a Template dataset?

Generally speaking, a template is "Something that establishes or serves as a pattern" (Webster's Dictionary). For example, a template in a word processing programme is used as a model of a document. It can contain predefined text or graphics. Using such a template saves typing time and adds a certain standard to the document creation.

In IUCLID, a Template (short for Template dataset) also serves as a kind of model aiming to use endpoint data in specific Substance dataset(s). Its structure and design is very similar to that of a Substance dataset, with following peculiarities:

Two types of Templates are provided for the following use cases:

Tip

The following tips may be helpful for using Templates:

  1. The above two Template types are complementary, i.e. a Substance dataset may be filled with endpoint data originating from several Templates, even from two different Templates types. However, any time a Template is associated to a Substance dataset, all of its records are inherited or copied to that dataset. If you wish to use only selected records, you need to split up the Template into two or more separate Templates containing different sets of Endpoint records as explained in chapter D.5.2 Creating "Copy" or "Inherit" Template datasets.

  2. A Substance dataset should only be associated to an Inherit Template, when the management of the respective Endpoint records is intended to be done in the Template, i.e. any editing, adding or deleting of Endpoint records.

  3. However, the following trick can be used to surpass the limitation of write-protected inherited records: Copy an inherited record to the clipboard and paste it back to the same section of the same Substance dataset. This will dissociate this very record from the Inherit Template and the record will receive a new UUID and can be edited. Note that the original inherited record still exists. So this operation may only be useful if it is decided to delete a specific record in the Inherit Template after the copy and paste operation.

The following figure illustrates how Substance datasets can be filled with endpoint data by referring to Inherit Templates:

In the following subchapters, practical guidance is given on how to handle Templates.