1.6.1.3.1.19. Classifying: Use of templates and plugins

To simplify the process of classifying, both templates and plugins can be used.

Each method has their specific advantages. Templates are already finished, but not quite as versatile. Plugins can be adjusted with complex logic and matching user interface according to specific needs of customers.

  • Use of templates

    Create classes and characteristics in templates. Then specifically apply them to projects or whole directories. This will considerably accelerate the process of classifying a complete catalog.

    Templates cannot only contain single class systems, but several in parallel.

    To design templates there are different options:

    • Creation of empty classes and attributes

    • Creation of already filled classes and attributes

    • Saving of default values in variables in order to quickly select them later

    The use is based on two steps: First you create classes and attributes for a certain project as template and then in a second step you allocate them to any other projects.

    Manage templates and Execute template

    Manage templates and Execute template

    • Select a project and open the Template Editor by clicking on Manage templates . Here, the selection of classes and attributes is performed, optionally also for different classifications.

      Template Editor

      Template Editor

    • Select another project and click on Execute template.

      -> The same-named dialog box is opened.

      Select the desired template and confirm with OK.

      The classes and attributes specified before are applied to the selected project.

      Execute template

      Execute template

      Alternatively on directory level, the context menu command Batch run classification with templates can be used.

      Automation -> Batch run classification with templates

      Automation -> Batch run classification with templates

      Details can be found under Section 5.12.8.1, “Tabbed page Classification: Manage and execute templates” in eCATALOGsolutions Manual.

  • Use of plugins

    Plugins can be used to check classifications for different errors. An exemplary use case could be the check for the actual presence of assigned variables, for example. (When subsequently editing projects and renaming variables (e.g. variable for order number) sometimes someone may forget to adjust the variable mapping of the classification.)

    Example:

    1. Initial situation: Variable "XY" has been assigned to a certain attribute. However, the variable "XY" does not exist in the characteristic attribute table of the corresponding project.

      Attribute with assigned variable "XY"

      Attribute with assigned variable "XY"

    2. Click on the button Check classification with plugins .

      -> The dialog box Select plugin is opened.

    3. Enable the plugin "Check attribute variables" and confirm with OK.

      -> The QA-Check is immediately executed (in particular to check the attribute variables, not to perform an extensive check as with Check project or Test projects in directory).

      -> The respective error is listed.

      Dialog box "QA-Check"

      Dialog box "QA-Check"

    Furthermore when using customized plugins (similar to templates), classes and attributes can be set (function Edit classification with plugin).

Details on this can be found under Section 5.12.8, “Classifying: Use of templates and plugins” in eCATALOGsolutions Manual.