vincent said "Relationship cannot be made mandatory up-front, it can only be checked on submission"
and i am trying to find the logic of functionalci and i find it in
itop/datamodel/2.x/itop-ticket /main.itop-ticket.php.
so you can added this script in itop/datamodel/2.x/itop-ticket/main.itop-ticket.php you can add it at the bottom line
Hello,
NEVER modify iTop core files directly : this will make updates really complicated. iTop has an integrated module system which allows to customize almost every aspect of the application, you should use this.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hii,
I have tried adding this script but it doesn't have any effect,
Thank you,
Kind Regard.
i want to make thisAssets (FunctionalCI) mandatory,
can anyone help?
Last edit: barakbar 2020-12-17
Hello Akbar,
Relationship cannot be made mandatory up-front, it can only be checked on submission, check here how to do it:
https://www.itophub.io/wiki/page?id=2_7_0%3Acustomization%3Amandatory-field-on-condition#check_on_submission
Hello Vdumas ,
can you help me to make a script for mandatory FunctionalCI in Portal user?or can you show me where functionalCI Located?
Hii,
can anyone give me some clue for the mandatory FunctionalCI list on Portal User?
because i dont understand
hii.
I've tried adding the following script in main-itop.php, then an error like this happened?
i want to make mandatory on fuctionalci,
how to solve this?
Last edit: barakbar 2021-01-07
Thanks, the problem solved
Hii,
apologize in advance, I will provide a script for you to add to itop so that your FunctionalCI can become mandatory.
I have tried adding the syntax:
but all failed nothing worked,
vincent said "Relationship cannot be made mandatory up-front, it can only be checked on submission"
and i am trying to find the logic of functionalci and i find it in
itop/datamodel/2.x/itop-ticket /main.itop-ticket.php.
so you can added this script in itop/datamodel/2.x/itop-ticket/main.itop-ticket.php you can add it at the bottom line
thanks,
Hello,
NEVER modify iTop core files directly : this will make updates really complicated. iTop has an integrated module system which allows to customize almost every aspect of the application, you should use this.