Hi @cisou, thanks for the reply. But I have a question. Considering that when the user clicks on a subcategory in the portal, the ticket probably doesn't yet exist in the database, will this approach be able to fill out the form? I noticed that the form is partially rendered on the server, but it wasn't very clear to me.
Hi @cisou, thanks for the reply. But I have a question. Considering that when the user clicks on a subcategory in the portal, the ticket probally doesn't yet exist in the database, will this approach be able to fill out the form? I noticed that the form is partially rendered on the server, but it wasn't very clear to me.
Hello, I'm developing an extension for iTop to preload a text template into the description field of a new ticket on the portal. Currently, my approach is: Add a new field of type AttributeHTML to the ServiceSubcategory class. Using a hook, inject a JavaScript file into the portal. The JavaScript file subscribes to the 'shown.bs.modal' event, which is the event called by the portal to open the new ticket modal. When the event is triggered, the script searches for the subcategory select value in the...