Menu

Help to modify client portal

Cristhian
2022-06-10
2022-07-04
  • Cristhian

    Cristhian - 2022-06-10

    Hello,
    Please help me to know which file I should modify to add one more field to the following table and view

    thanks
    Cristhian

     
  • Jeffrey Bostoen

    Jeffrey Bostoen - 2022-06-10

    You'd need to create your own extension to change the iTop XML datamodel. Don't directly edit the existing files, as this is more likely to cause incompatibility issues in the future.

     
    • Cristhian

      Cristhian - 2022-06-13

      Thank you Jeffrey for your answer, in the future I will see the creation of an extension, meanwhile can you tell me which are the files that I should modify?

       
      • Jeffrey Bostoen

        Jeffrey Bostoen - 2022-06-13

        You'd need to check the current definitions for "incident" in the portal view.

        Generic hint if you don't know where to start:

        You can view - but not edit - those in iTop's directory: data/datamodel-production.xml .
        In one of the nodes, you'll see in which module it's actually defined (the default modules can be found under 'datamodels/2.x', you could also run a "find" operation on all the XML files (or make a hunch: but some stuff might be edited in custom extensions already (I think this might be the case in your environment?)

         
        • Cristhian

          Cristhian - 2022-07-01

          Jeffrey, I still don't know where I should modify to add a field to the table that shows the incidents in process for the user portal, some more detailed help

           
  • Jedi Star

    Jedi Star - 2022-07-02

    Create your own extension with module creation wizard. Add this into your datamodel.xxx.xml

    <module_designs>
      <module_design id="itop-portal" xsi:type="portal">
        <bricks>
          <!-- brick that you want to modify -->
          <brick id="ongoing-tickets-for-portal-user" xsi:type="Combodo\iTop\Portal\Brick\ManageBrick">
            <fields>
                <!-- the fields you want to add. Use _delta="define" -->
                <field id ="agent_id" _delta="define"/> <!-- agent_id for example -->
            </fields>
          </brick>
        </bricks>
      </module_design>
    </module_designs>
    

    And add dependencies to your module.xxx.php

     
    👍
    2

    Last edit: Jedi Star 2022-07-02
  • Pierre Goiffon

    Pierre Goiffon - 2022-07-04

    Hello,
    Every customizations are possible for all iTop users including iTop community. But Combodo clients gets access to the ITSM Designer and support services. If you are not willing to read the doc and experiment you should contact Combodo sales team : sales@combodo.com

     

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.