Site Package: Taxonomy - akumina/AkuminaDev GitHub Wiki

Applies to

All versions of Akumina

Site Creator Step

The site creator step that creates taxonomy term sets and terms is "Add Term Sets", in the class Akumina.SiteProvisioning.CoreSteps.AddTermSets.

Site Deployer Step

The site deployer step that uses this is addtermsets

options addtermsets

See: https://github.com/akumina/AkuminaDev/wiki/Site-Package-Overview

Data

The step deploys term sets based on the path envdir/sitedefinitions/assetdirectory/Taxonomy/terms.xml The XML in this file will determine what gets generated within the site collection term store.

This step creates, it does not edit. If the top level termset is already present, then no action will be taken.

In the example shown below, we generate 2 term sets, FAQ Topics and Category, with the structure being created:

<?xml version="1.0" encoding="utf-8" ?>
<termsets>
  <termset name="Category">
    <terms>
      <term name="Boston" />
      <term name="Chicago" />
      <term name="CORPORATE" />
      <term name="Finance" />
      <term name="Functions">
        <terms>
          <term name="Business Development" />
          <term name="Finance" />
        </terms>
      </term>
      <term name="Global" />
    </terms>
  </termset>  
</termsets>
⚠️ **GitHub.com Fallback** ⚠️