kindly I need your help,
I want to add new field to "PhysicalDevice" and display it in all child class, must I to add it to the presentation of each child class? or is there any solution to define it in one place?
thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you want to add a new field to the "PhysicalDevice" class and have it displayed in all child classes, you can define the new field in the "PhysicalDevice" class and inherit it in all child classes.
This means that the child classes will automatically inherit the new field without having to define it again in each child class. This approach will also help you avoid duplication and maintain consistency across all child classes.
👍
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
As Jeffrey said, you must specify if and where to display that new field in the presentation of each child class. You don't have to "redefine" the field definition itself, which would fail at Setup!
There is no mechanism yet to define a portion of the details presentation at the PhysicalDevice level for eg. and include it on the Server details presentation. Such mechanism if used alone, would prevent to intercalate Server specific fields within the PhysicalDevice ones, which might be very pertinent from an end-user perspective so.
👍
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
kindly I need your help,
I want to add new field to "PhysicalDevice" and display it in all child class, must I to add it to the presentation of each child class? or is there any solution to define it in one place?
thanks.
Indeed, you must define it in the presentation of each child class.
If you want to add a new field to the "PhysicalDevice" class and have it displayed in all child classes, you can define the new field in the "PhysicalDevice" class and inherit it in all child classes.
This means that the child classes will automatically inherit the new field without having to define it again in each child class. This approach will also help you avoid duplication and maintain consistency across all child classes.
As Jeffrey said, you must specify if and where to display that new field in the presentation of each child class. You don't have to "redefine" the field definition itself, which would fail at Setup!
There is no mechanism yet to define a portion of the details presentation at the PhysicalDevice level for eg. and include it on the Server details presentation. Such mechanism if used alone, would prevent to intercalate Server specific fields within the PhysicalDevice ones, which might be very pertinent from an end-user perspective so.