Hello everyone,
I tried to add a new request_type to the ServiceSubcategory class, I follow the documentation here, but when i chek the consistency, I have this error :
Error loading module "new-request-type": /itop_design/classes/class[ServiceSubcategory] at line 5: could not be found - Loaded modules: dictionaries,core,application,authent-cas,authent-external,authent-ldap,authent-local,combodo-db-tools,itop-attachments,itop-backup,itop-config-mgmt,itop-config,itop-datacenter-mgmt,itop-endusers-devices,itop-files-information,itop-hub-connector,itop-portal-base,itop-portal,itop-profiles-itil,itop-sla-computation,itop-storage-mgmt,itop-tickets,itop-virtualization-mgmt,itop-welcome-itil
Here is my extension :
<?xml version="1.0" encoding="UTF-8"?> <itop_design xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0"> <constants> </constants> <classes> <class id="ServiceSubcategory" _delta="merge"> <fields> <field id="request_type" xsi:type="AttributeEnum"> <values> <value id="incident">incident</value> <value id="service_request">service_request</value> <value id="new_request">new_request</value> </values> <sql>request_type</sql> <default_value>incident</default_value> <is_null_allowed>false</is_null_allowed> <display_style>radio_horizontal</display_style> </field> </fields> </class> </classes> <menus> </menus> <user_rights> <groups> </groups> <profiles> </profiles> </user_rights> </itop_design>
I don't know why the modules isn't load.
If anyone has an idea.
Thank you,
Romain.
Hello,
My bad, I have found the solution.
In my module.new-request-type.php, I add this dependencie :
'dependencies' => array( 'itop-service-mgmt/2.7.0' ),
Log in to post a comment.
Hello everyone,
I tried to add a new request_type to the ServiceSubcategory class, I follow the documentation here, but when i chek the consistency, I have this error :
Here is my extension :
I don't know why the modules isn't load.
If anyone has an idea.
Thank you,
Romain.
Last edit: Romain A. 2020-06-26
Hello,
My bad, I have found the solution.
In my module.new-request-type.php, I add this dependencie :