IT运维流程库历史主题 · 只读
← 返回目录

二次开发-调整门户


定制化iTop通过添加现有的扩展
  • 检查存在的内容,您可以在此列表中选择一些内容已[ ttps://]发布扩展 并按照说明进行安装。

通过编写自己的扩展名
如果您从未做过:

  • 参考i[ ttps://]Top定制机制了解如何扩展或修改iTop。
  • 开始于[ ttps://]此分步示例,以创建您的第一个扩展程序。
  • 检查一下[ ttps://]iTop编码标准
  • 如果您对iTop XML语法有疑问,请检查[ ttps://]XML数据模型引用
  • 如果您对对象操作上的PHP方法的顺序有疑问:[ ttps://]CRUD方法的顺序
  • 为了编写通用的扩展,以限制与其他扩展不兼容的风险,请使用[ ttps://]扩展API.

即使您不是开发人员,也不要害怕写您的第一个扩展。

无需一行PHP代码就可以完成许多自定义操作

熟悉[ ttps://]语法在阅读以下示例之前

“如何”示例更改数据模型领域
  • [ ttps://]Add a field to the Server class

  • [ ttps://]Define your own dictionary entries - 在2019年7月添加

  • [ ttps://]Force a field to be always mandatory - 在2019年7月添加

  • [ ttps://]Remove a field from Ticket - 在2019年8月添加

  • [ ttps://]Add a Dashboard on a Team - 2.6中的新功能-2019年7月添加

  • [ ttps://]Creating a new class of CI: Monitor

生命周期
  • [ ttps://]Flag Tickets waiting for a 3rd party - 在2019年7月添加


    [ ttps://]Count time spent in a state

    [ ttps://]Behavior of a Stopwatch

  • [ ttps://]Force a field to be mandatory by lifecycle - 在2019年7月添加

  • [ ttps://]Add a lifecycle on Physical Device - 在2019年8月添加

行为
  • [ ttps://]Define Obsolescence rules - 2.4中的新功能

  • [ ttps://]Prevent duplicates - 2.6中的新功能-2019年7月添加

身份验证和权利
  • [ ttps://]Create new Profile

  • [ ttps://]Delegate 'Admin tools' menus - 2.5新功能

  • [ ttps://]Define your own Password policy - 2.7中的新功能

  • [ ttps://]Implement Password expiration - 2.7中的新功能

  • [ ttps://]Create your authentication method - 2.7中的新功能

自动化
  • [ ttps://]Copy linkedset with object copier - 在2019年12月添加

  • [ ttps://]Compute WorkOrder End Date - 在2019年8月添加

  • [ ttps://]Update a counter on CustomerContract with count of closed Tickets

  • [ ttps://]Count Ticket reopening - 在2019年7月添加

  • [ ttps://]Calculated field & Cascading update - 2018年6月新增

  • [ ttps://]Sum Components cost on Contract - 2020年6月新增

  • [ ttps://]Store Count of n:n relation - 2020年8月新增

  • [ ttps://]Synchronize data from an external application - 2020年10月新增

用户界面
  • [ ttps://]Change the iTop Homepage - 2020年7月新增

  • [ ttps://]Force a field to be mandatory - 在2019年7月添加

  • [ ttps://]Force a field to be read only - 在2019年8月添加

  • [ ttps://]Form Prefill - 2.5新功能

  • [ ttps://]Check data integrity: 确保变更的结束日期晚于开始日期-2019年7月添加

  • [ ttps://]Hide cost for some users - 在2019年7月添加

  • [ ttps://]Add entry in ''other actions'' popup menu

  • [ ttps://]Creating a new dashlet for console dashboards: iFrame

  • [ ttps://]Enrich display of an object - 在2019年7月添加

  • [ ttps://]Highlight critical objects - 2.7中的新功能

  • [ ttps://]Change Console colors - 2.7中的新功能

  • [ ttps://]Highlight state for some values - 2.7中的新功能

工单管理
  • [ ttps://]Get resolution delay 将工作时段引入账号-2019年7月添加

  • [ ttps://]Count the number of time a UserRequest is re-open - 在2019年7月添加


    [ ttps://]Desactivate history tracking on the counter

  • [ ttps://]Close automatically after a delay - 2020年7月新增

  • [ ttps://]User Request where TTO start on a planned date - 在2019年7月添加

  • [ ttps://]Planned User Request (advanced) -在2019年7月添加

  • [ ttps://]SLA by Service Subcategory - 在2019年8月添加

  • [ ttps://]Inherite services from parent organization - 在2019年8月添加

  • [ ttps://]Use an holiday calendar per country for SLA computation

  • [ ttps://]Automatically redispatch Ticket to above team 达到TTR的75%时。

  • [ ttps://]Cascading Change closure: 解决会自动在相关变更关闭上的所有相关用户请求

定制化门户
增强门户仅从版本2.3起可用,它提供了自定义选项

  • [ ttps://]Portal Customization Overview

  • [ ttps://]Portal XML Reference

  • [ ttps://]Portal Limitations

如何操作的示例:

  • [ ttps://]Make a field mandatory on the User Portal - 在2019年7月添加

  • [ ttps://]Allow to see more or less Tickets - 在2019年8月添加

  • [ ttps://]Change scopes

  • [ ttps://]Change the bootstrap theme

  • [ ttps://]Change a brick icon

  • [ ttps://]Add a "create" button

  • [ ttps://]Add a new browse mode

  • [ ttps://]Add a Dashlet (since 2.5)

  • [ ttps://]Manage Simple Changes in Portal

贡献给iTop翻译
  • [ ttps://]如何翻译