Menu

Customer Portal - How to customize form

Kevin
2022-09-01
2022-09-14
  • Kevin

    Kevin - 2022-09-01

    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
  • Vincent @ Combodo

    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.

     
  • Kevin

    Kevin - 2022-09-05

    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,

     
  • Kevin

    Kevin - 2022-09-14

    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,

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.