Example I have a FunctionCi with with a owner person and I want a field "escaltion" that needs to be the manager of the person that I choose as CI owner
how can I do?
thanks a lot
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I don't really need to manipulate any data, I need to inherit data from a linked object.
I saw something like this already happen with a native iTop class , but I forgot where I saw it and I am not able to reverse engineer the existing class.
I am looking for help
thanks a lot
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I would like to set a field value using a query.
Example I have a FunctionCi with with a owner person and I want a field "escaltion" that needs to be the manager of the person that I choose as CI owner
how can I do?
thanks a lot
Mind that unless you directly manipulate the SQL database; iTop's own OQL query language does NOT allow you to update data; only to query data.
Hi Jeffrey
I don't really need to manipulate any data, I need to inherit data from a linked object.
I saw something like this already happen with a native iTop class , but I forgot where I saw it and I am not able to reverse engineer the existing class.
I am looking for help
thanks a lot
In your particular example, just create an ExternalField which retrieve the manager_id of the functionalci owner_id and job done.
Great Vincent!
this is exactly what I mean and it works with new defined class
I also tried with delta="redefine" but if fail
I got : attempting to redeclare the inherited attribute
field was declared in a parent class as mandatory, and I would like to transform it using your suggested type AttributeExternalField
Is it possible?
Last edit: Marco Musolesi 2023-10-24
Hello,
Fields can't be redefined in children classes...