Hi There!
I have some questions about a customization I'm trying to implement.
Initially, I created a reject function for the Service Desk Agent and Support Agent roles. These roles had a reject button and required users to enter a comment explaining the reason for the rejection. I implemented this directly in the iTOP core, and it worked perfectly. The problem is that when I tried to update, I received errors due to "corrupted" files (the XML files had been modified).
I restored the original files to avoid corruption, and now I'm developing a separate extension. However, when I add the actions, transitions, stimulus, etc., the reject button doesn't appear when I run the extension. Could you help me determine if I'm doing this incorrectly? Here's the XML file I'm currently using in the extension:
<!-- Service Desk Agent --><profileid="4"_delta="define"><groups><groupid="UserRequest"><actions><actionid="stimulus:ev_reject">allow</action></actions></group></groups></profile><!-- Support Agent --><profileid="5"_delta="define"><groups><groupid="UserRequest"><actions><actionid="stimulus:ev_reject">allow</action></actions></group></groups></profile></profiles>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
<!-- Service Desk Agent --><profileid="4"_delta="define"><groups><groupid="UserRequest"><actions><actionid="stimulus:ev_reject">allow</action></actions></group></groups></profile><!-- Support Agent --><profileid="5"_delta="define"><groups><groupid="UserRequest"><actions><actionid="stimulus:ev_reject">allow</action></actions></group></groups></profile></profiles>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Most probably your extension is not installed, because that statement should crash iTop setup with a blocking error
<class id="UserRequest" _delta="define">
Check you module dependencies, it must be depends on itop-request-mgmt or itop-request-mgmt-itil.
Check the XML reference for delta values and where to put them.
On existing XML nodes, you should never set a "define", only on new XML nodes you must do this
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hm, rather than to define the entire class; you should ideally add a "dependency" (see module.xxx.php - "dependencies") to the module in which the original user request is defined. ( Probably itop-request-mgmt/3.2.0 or itop-request-mgmt-itil.3.2.0 ) .
The XML format seems a bit messed up above; I hope your "class" node is within "classes"? And "classes" within "itop_design"?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi There!
I have some questions about a customization I'm trying to implement.
Initially, I created a reject function for the Service Desk Agent and Support Agent roles. These roles had a reject button and required users to enter a comment explaining the reason for the rejection. I implemented this directly in the iTOP core, and it worked perfectly. The problem is that when I tried to update, I received errors due to "corrupted" files (the XML files had been modified).
I restored the original files to avoid corruption, and now I'm developing a separate extension. However, when I add the actions, transitions, stimulus, etc., the reject button doesn't appear when I run the extension. Could you help me determine if I'm doing this incorrectly? Here's the XML file I'm currently using in the extension:
<itop_design xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nonamespaceschemalocation="../../datamodels/2.x/itop_design.xsd" version="3.2"></itop_design>
<classes></classes>
<user_rights>
<profiles></profiles></user_rights>
This is the profile section:
<user_rights>
<profiles></profiles></user_rights>
I have iTOP 3.2 Community version
Most probably your extension is not installed, because that statement should crash iTop setup with a blocking error
Check you module dependencies, it must be depends on itop-request-mgmt or itop-request-mgmt-itil.
Check the XML reference for delta values and where to put them.
On existing XML nodes, you should never set a "define", only on new XML nodes you must do this
The extension was installed sucessfully, but it seems is not working:
Hm, rather than to define the entire class; you should ideally add a "dependency" (see module.xxx.php - "dependencies") to the module in which the original user request is defined. ( Probably itop-request-mgmt/3.2.0 or itop-request-mgmt-itil.3.2.0 ) .
The XML format seems a bit messed up above; I hope your "class" node is within "classes"? And "classes" within "itop_design"?