Enhancements to the Technical Document Framework

Enhancements to the Technical Document Framework

The Aras Technical Documentation application has been a powerful tool for creating technical publications with multiple data sources quickly while reducing the chance for errors related to copying data.  The Technical Document Framework (TDF) is available to all Aras users, and can be downloaded and installed using the Aras Update Utility.  The TDF enhancement we’ll cover today (introduced in 12.0 SP4) enables users to create and use existing Tech Doc-enabled content as a template in another Tech Doc.  The template Document is added to the target Document as a full copy.  Using this feature, a common element in your Tech Docs can be made into a template that can be reused, and multiple templates can be used to create modular documents.  In this example, we’ll go over the steps required to create a custom Tech Doc template and then insert it into another Technical Document Item.

 

Creating the Template

We’ll start by creating the template, we can create our Tech Doc template just as we would any other Tech Doc:

  1. Go to Technical Documentation > Technical Documents in the TOC
  2. Right click and select Create New Technical Document
  3. Fill out the form’s required information:
    1. Document Number – ‘Tmpl-01’
    2. Name – ‘TDF Template’
    3. Schema – Standard
  4. Save (but don’t close) the new Tech Doc

Once saved, the tab for the Tech Doc Editor   should be added to the brown column on the left, click on that to open the editor.

For now, let’s keep this template and explanation simple and just add a title and a table. 

  1. In the Document Tree column on the left side, right click on the area labeled TDF Template (the root element)
  2. Click Insert > Title then type to fill the yellow region that is added to the editor to the right
  3. Right click on the Title element in the document tree and select Add > Table
    1. In the resulting dialog, set both to the row and column attributes to 3 then click OK
    2. Confirm that the table is added to the editor area and to the left column as a collapsible tree with three child rows, each with three child entries
  4. Click on the first column and row in the table and start typing in the first header box, then click to the next column or tab through to fill out the table
  5. Click Save and Close and to finish the template

 

Adding the Template to a Document

Next, we’ll make a new Technical Document. As before:

  1. In the TOC, go to Technical Documentation > Technical Documents
  2. Right click and select Create New Technical Document
  3. In the form, enter in the required fields:
    1. Document Number – ‘Doc-01’
    2. Name – ‘TDF Document with Template’
    3. Schema – Standard
  4. Save the Tech Doc, then click on the editor tab   
  5. Add two section elements by right clicking on the root element and selecting Insert > Section.  The sections will each be added with a child title element
  6. Fill out the first section:
    1. Type in a title for the first section
    2. Right click the title element either in the document tree or in the editor and select Add > Text twice
    3. Enter some filler text in both text fields using the editor
  7. Add a title to the second section, then right click on the section element in the document tree and click Add > From Template
  8. In the item selection dialog, search for the template document, select it, and click OK
  9. Save and Close the Tech Doc

There are a few things to note. For a template to be added to a Tech Doc, both must use the same the schema. Additionally, adding elements "From Template" differs from adding "External Content".  With external content, the elements of the source and target documents are identical and cannot be changed independently.  When adding from a template, the elements are inserted as a copy, so the source and target documents can be modified without affecting the other

Here’s what the final result should look like:

Closing Remarks

The Technical Documentation Template enhancement works with previous methods of customizing your Tech Docs, allowing us to create new Documents faster than ever.  If you want to continue taking full advantage of the power of Tech Docs, be sure to check out some of our previous blogs that go into detail about custom content generators and adding links to Documents.  Additionally, we have compiled a collection of custom Technical Document examples on this Github repo for implementation ideas.