Hi,
I try to inherit a new attribute in Class Functional_CI to be presented on all its child classes, without success.
I created a new link class to link FAQs to CIs and vice versa.
I only get the FAQs tab presented in the CI if i declare it directly in its class. I imagined it's ok to just declare it in the class "FunctionalCI" as follows:
So, is it correct to have this new attribute to be declared in every single subclass where it is expected to be seen?
Thanks for any hint,
regards, Nico
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes presentation is never inherited, it must be specified in each and every sub-class, as the rank and defined columns can totally differ in the various sub-class
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I try to inherit a new attribute in Class Functional_CI to be presented on all its child classes, without success.
I created a new link class to link FAQs to CIs and vice versa.
I only get the FAQs tab presented in the CI if i declare it directly in its class. I imagined it's ok to just declare it in the class "FunctionalCI" as follows:
So, is it correct to have this new attribute to be declared in every single subclass where it is expected to be seen?
Thanks for any hint,
regards, Nico
Yes presentation is never inherited, it must be specified in each and every sub-class, as the rank and defined columns can totally differ in the various sub-class
It's not 100% correct I think, depending how you define "inherited"?
I have subclasses which do "inherit" the presentation from the main class.
But: the presentation can NOT be "inherited" and altered at the same time.
https://github.com/jbostoen/itop-jb-networkdevices/blob/main/datamodel.jb-networkdevices.xml
Thanks for your replies.
I implemented it by adding all presentation declarations to each class needed.