metafaniel - 2015-02-20

I've followed this guide to create my own class:
https://wiki.openitop.org/doku.php?id=2_1_0:customization:add-class-sample

I've managed to add it to the data model successfully, but now I'd like to add a subclass. Following the example, if my class is the following:

<class id="Monitor" _delta="define">
      <parent>PhysicalDevice</parent>

And I'd like to add a subclass:

<class id="Subclass" _delta="define">
  <parent>Monitor</parent>

I'm having the following problem with my datamodel.subclass.xml. The Toolkit shows me this error:

 Error: Error loading module "subclass": could not find parent node for class(Subclass) with parent id Monitor.

What am I doing wrong?

 

Last edit: metafaniel 2015-02-20