The current tutorials are good (add a field to the servers class, creating the monitor class, etc...). Could it be possible someone could create such an example for creating relations between classes?
An example
I created a SIM-card class, which works perfectly in my iTop dev-instance. I also have the existing Mobile Phone class. How can i link a SIM-card to a Mobile Phone?
With regards,
Sven
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Sven, I'm working on that, what I have till now is a relation between Functional CI and my custom class, in this case is Warehouse, "Almacén" in Spanish. Here is my code and the problem that I have now. It is not a Tutorial but maybe it can help you with the relations between classes. If both of the classes are custom classes I think you can make the relation like in this code. I hope it helps you.
Hey guys,
The current tutorials are good (add a field to the servers class, creating the monitor class, etc...). Could it be possible someone could create such an example for creating relations between classes?
An example
I created a SIM-card class, which works perfectly in my iTop dev-instance. I also have the existing Mobile Phone class. How can i link a SIM-card to a Mobile Phone?
With regards,
Sven
Hi Sven, I'm working on that, what I have till now is a relation between Functional CI and my custom class, in this case is Warehouse, "Almacén" in Spanish. Here is my code and the problem that I have now. It is not a Tutorial but maybe it can help you with the relations between classes. If both of the classes are custom classes I think you can make the relation like in this code. I hope it helps you.
https://sourceforge.net/p/itop/discussion/922360/thread/a1ecf12c/
You have to create a field in Mobile Phone class like this below:
And put the relations after this.