I have recently installed iTop v3.0.1 and I try to customize it.
I have created a module to link Customer Contracts to Incident/UserRequest
I now want to add it as a field on Incident and UserRequest forms but I did not completely succeed...
The field well appeared on administration portal forms but not in customer portal ones See AdminForm and CustomerForm attachments
How can I do it ?
I have tried <forms> on <module_design> but I have the following error: Object does not exists or...
I have also tried to use <presentation> but that only affect the administration form.
Hello Kevin,
The presentation correspond to the Console, alias the back-end. The Portal uses Forms.
Check the tuto, also it is not targeted to add a field to a form, it helps with its comments.
In order to modify a particular form, you must first retrieve its id in iTop source code of the portal.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for your answer.
The first screenshot is for Console and the second is for the Portal.
Like I have previously mentioned, I already tried to change form from <forms>
But when I edit the file (see screen 'FormCode'), I have the error shown on screen 'AccessError'.
I have partially solved my problem.
I achieved to get two different forms for Incident and UserRequest.
Then I add my custom field and they appeared.
I have another problem but I will create a new post.
Kind regards,
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello to all !
I have recently installed iTop v3.0.1 and I try to customize it.
I have created a module to link Customer Contracts to Incident/UserRequest
I now want to add it as a field on Incident and UserRequest forms but I did not completely succeed...
The field well appeared on administration portal forms but not in customer portal ones
See AdminForm and CustomerForm attachments
How can I do it ?
I have tried
<forms>
on<module_design>
but I have the following error: Object does not exists or...I have also tried to use
<presentation>
but that only affect the administration form.Kind regards,
Last edit: Kevin 2022-09-02
Hello Kevin,
The presentation correspond to the Console, alias the back-end. The Portal uses Forms.
Check the tuto, also it is not targeted to add a field to a form, it helps with its comments.
In order to modify a particular form, you must first retrieve its id in iTop source code of the portal.
Hello Vincent,
Thanks for your answer.
The first screenshot is for Console and the second is for the Portal.
Like I have previously mentioned, I already tried to change form from
<forms>
But when I edit the file (see screen 'FormCode'), I have the error shown on screen 'AccessError'.
Kind regards,
Hello,
I have partially solved my problem.
I achieved to get two different forms for Incident and UserRequest.
Then I add my custom field and they appeared.
I have another problem but I will create a new post.
Kind regards,