Menu

Hide Urgency dropdown in portal user.

2022-04-20
2022-06-02
  • Gilang Pratama

    Gilang Pratama - 2022-04-20

    Hello, there.
    I'm new in iTop and the forum as well.

    I have several question for customizing iTop . I want to hide Urgeny dropdown in portal user UI, and make it Medium as default but user wont be able to see or choose the urgency. (as seen in my attachments itop1.png)

    Also, i want to hide Urgency and Priority as well in Portal user Ongoing and Closed request. (as seen in my attachments itop2.png), i want only support agent who can see Priority and Urgency in another portal.

    Is it possible to do this?
    If its possible, how should i do that.
    Because... when I saw the source code, I cant understand any of it so i dont know what should I do to customize this.

    Thanks in advance.

     
  • Jeffrey Bostoen

    Jeffrey Bostoen - 2022-04-20

    Unless you'd use some UI hack, I don't think it's possible to hide select values.
    I'd advise hiding it altogether or adding an second field (our_priority) which is hidden to the user. Or show only priority to users and keep urgency for your own agents?

    I could be wrong though :)

     
  • Vincent @ Combodo

    Hi Gilang,
    Through writing an XML extension, you can change the forms which are used in the portal, to remove some of the proposed fields, that's quite easy to do.
    For making the urgency being medium by default, this is also defined in XML, this time in the datamodel.
    For Combodo's customers, this is done in a WYSIWYG UI of the ITSM Designer, without the burden of writting an extension and a bit of PHP.
    Good luck
    Vincent

     
    👍
    1
    👎
    1
    • Gilang Pratama

      Gilang Pratama - 2022-04-21

      it's complicated for me who only used ci php development.
      I find this tutorial for hiding field https://www.itophub.io/wiki/page?id=3_0_0%3Acustomization%3Aremove-field but i cant find and have no idea with this "itop_design / module_designs / module_design@itop-portal / forms".

      i follow the tutorial of this https://www.itophub.io/wiki/page?id=3_0_0%3Acustomization%3Aadd-attribute-sample , i already install toolkit and download custom module as instructed in that tutorial. In this point I succesful add "Aditional Note" as instructed.

      But, when i move on to the removing field documentation, i have clearly no idea what should i do.

      Is there any video tutorial for this? i can't find it anywhere on youtube.

       
    • Gilang Pratama

      Gilang Pratama - 2022-04-21

      I already find the solution for hide urgency drop down.
      Thanks.

      However, im still struggle to set Urgency to Medium as default.

      i found it at C:\xampp\htdocs\itop\web\env-production\core\module_designs

       

      Last edit: Gilang Pratama 2022-04-21
  • Jeffrey Bostoen

    Jeffrey Bostoen - 2022-04-21

    env-production should be avoided, it gets overridden every time you run the setup.

    The correct way to go is to create an extension to customize the XML datamodel.

     
    • Gilang Pratama

      Gilang Pratama - 2022-06-02

      Thanks for the advice.
      But my company already switched to another ITSM software since no one in here can maintain itop code and its lacked of tutorial.

       

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.