Whoever writes a template works from the "Modeler" tab of the ribbon. It appears next to the [[Usage|Invantive Composition tab]] and holds everything the person using the template does not need. Its buttons fall into three groups. ## Design - "Design mode": show the instructions in the text instead of the result, so that the template can be edited. See [[Design Mode]]. - "Edit model": open the model behind the template; see [[Edit Model]]. - "Validate model": check the model and the instructions without composing a document. See [[Validate Model]]. - "Install database": place the definitions in the database; see [[Install Model]]. - "Upgrade database": bring definitions of an earlier release up to the current one; see [[Upgrade Model]]. - "Remove database": remove the definitions again; see [[Remove Model]]. ## Tools - "Query tool": [[Invantive Query Tool/Invantive Query Tool|Invantive Query Tool]], for writing and testing the statements a block uses before they go into the model. - "Data Loader": [[Invantive Data Loader/Invantive Data Loader|Invantive Data Loader]]. - "Studio": [[Invantive Studio/Invantive Studio|Invantive Studio]]. The first of these is the one used daily: a block is a `select` statement in pieces, and it is easier to get that statement right in a query tool than in a template. ## Debug and Analysis - "Show Repository": what is held in the document itself; see [[Show Repository]]. - "Show trace": the technical record of what happened during composition; see [[Show Trace]]. - "Show outline": the structure of the document as the product reads it, which is where a repetition that spans the wrong part of a table becomes visible. Next to these, the "Insert building block" button on the Invantive Composition tab puts an instruction into the text without it having to be typed; see [[Building Block]].