Pierre Goiffon 8d4545f008 N°4921 - Add support for attcode & attvalue parameters in URL to access an object (#273)
This is a way to solve problems when an object ref and id isn't equals : for example id=99 and ref = 100.
This could happen since iTop 2.7.0, see https://www.itophub.io/wiki/page?id=2_7_0%3Arelease%3A2_7_whats_new#ticket_ref_generation

Note that id parameter can be set to the object's friendlyname as a workaround, but this might not be enough for some objects where friendlyname contains more that the ref field (for example title, org, ...)

* Admin console : new UI.php URL parameters : attcode and attvalue.
Example URLs : 
/pages/UI.php?operation=details&class=UserRequest&id=99
/pages/UI.php?operation=details&class=UserRequest&attcode=ref&attvalue=R-000100

An exception will be thrown if no object is found or multiple instances are.

* User portal
New route : /object/view/{sObjectClass}/{sObjectAttCode}/{sObjectAttValue}
For example :
/pages/exec.php/object/view/UserRequest/99?exec_module=itop-portal-base&exec_page=index.php&portal_id=itop-portal
/pages/exec.php/object/view/UserRequest/ref/R-000100?exec_module=itop-portal-base&exec_page=index.php&portal_id=itop-portal

On error we will get a 404 error page
2022-03-09 10:51:21 +01:00
2021-12-14 14:48:04 +01:00
2020-05-14 11:26:35 +02:00
2021-11-23 11:06:23 +01:00
2021-03-15 09:29:45 +01:00
2019-11-22 18:44:27 +01:00
2021-08-18 14:35:35 +02:00
2020-06-23 15:10:09 +02:00
2020-08-18 09:18:37 +02:00

iTop - ITSM & CMDB

iTop stands for IT Operations Portal. It is a complete open source, ITIL, web based service management tool including a fully customizable CMDB, a helpdesk system and a document management tool. iTop also offers mass import tools and web services to integrate with your IT

Features

Latest release

Resources

About Us

iTop development is sponsored, led and supported by Combodo.

Contributors

We would like to give a special thank you 🤗 to the people from the community who contributed to this project, including:

Names

  • Alves, David
  • Beck, Pedro
  • Bilger, Jean-François
  • Bostoen, Jeffrey (a.k.a @jbostoen)
  • Cardoso, Anderson
  • Cassaro, Bruno
  • Casteleyn, Thomas (a.k.a @Hipska)
  • Castro, Randall Badilla
  • Colantoni, Maria Laura
  • Couronné, Guy
  • Dvořák, Lukáš
  • Goethals, Stefan
  • Gumble, David
  • Kaltefleiter, Lars (a.k.a @larhip)
  • Khamit, Shamil
  • Kincel, Martin
  • Konečný, Kamil
  • Kunin, Vladimir
  • Lassiter, Dennis
  • Lazcano, Federico
  • Lucas, Jonathan
  • Malik, Remie
  • Mindêllo de Andrade, Lucas (a.k.a @rokam)
  • Raenker, Martin
  • Rosenke, Stephan
  • Seki, Shoji
  • Shilov, Vladimir
  • Stukalov, Ilya (a.k.a @ilya-stukalov)
  • Tulio, Marco
  • Turrubiates, Miguel

Aliases

  • chifu1234
  • cprobst
  • DudekArtur
  • Karkoff1212
  • Laura
  • Purple Grape
  • Schlobinux
  • theBigOne
  • ulmerspatz

Companies

Languages
PHP 87.5%
JavaScript 5%
SCSS 2.7%
Twig 2.3%
CSS 2.2%
Other 0.2%