You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 16
Next »
The modules.xml has a certain structure which is used when a new Security Profile is created or when an existing one is updated. This feature enables the users to configure the permissions for each module (create, delete, read, edit).
Attributes
Name | Description | Value |
---|
moduleid | Unique Identifier | Any |
modulename | A name that describes the module | Any |
moduledescription | A description that describes the module | Any |
modulemainmenuoptionid | The identifier of the main menu option the entity belongs to. | Any of the main menu option ids defined in the menu options metadata file |
relatedmodules | A set of related modules | Related Modules |
features | A set of module related features | Features |
skins | A set of skins | |
leftmenuoptions | A set of module related menu options | Left Menu Options |
<moduleconfig>
<modules>
<module>
<moduleid>CONTACT_INFORMATION</moduleid>
<modulename>Contact Information</modulename>
<moduledescription><![CDATA[Contact Information is all the information which is needed in order to contact a customer or a prospect customer, which can either be a physical person or a company.]]></moduledescription>
<modulemainmenuoptionid>CRM1412</modulemainmenuoptionid>
<relatedmodules></relatedmodules>
<features>
...
<feature>
<featureid>CONTACTS</featureid>
<featurename>Ability to create, view and maintain Contact Information.</featurename>
<featuredescription>Record the contact information for any physical person or company the company is to interact with. This can belong to a customer, prospect customer, partner, or external sales agents and reps. Record its type (physical person or company), name, addresses, phones, emails, country of residence, ID number, date of birth, company name, number of employees, registration number and more.</featuredescription>
<featuremenuoptionid>CRM1412</featuremenuoptionid>
<commonprocesses>
<process>
<id>CREATE_CONTACT</id>
<name>Create Contact</name>
<description>Create a new Contact.</description>
<methods>
<method>
<ejbname>CRMUIContactInformation</ejbname>
<methodname>createButton</methodname>
</method>
</methods>
</process>
<process>
<id>VIEW_CONTACT</id>
<name>View Contact</name>
<description>View an existing Contact.</description>
<methods>
<method>
<ejbname>CRMUIContactInformation</ejbname>
<methodname>loadForm</methodname>
</method>
</methods>
</process>
...
</commonprocesses>
<additionalprocesses>
<process>
<id>ADD_ADDRESS</id>
<name>Add address</name>
<description>Add address for a contact.</description>
<methods>
<method>
<methodname>addAddressesButton</methodname>
<ejbname>CRMUIContactInformation</ejbname>
</method>
</methods>
</process>
<process>
<id>REMOVE_ADDRESS</id>
<name>Remove address</name>
<description>Remove address from a contact.</description>
<methods>
<method>
<methodname>removeAddressesButton</methodname>
<ejbname>CRMUIContactInformation</ejbname>
</method>
</methods>
</process>
...
</additionalprocesses>
</feature>
<feature>
<featureid>CONTACT_INFO_WEB_API</featureid>
<featurename>Integrate to other systems using Contact Information Web API</featurename>
<featuredescription>Contact Information Web API.</featuredescription>
<featuremenuoptionid />
<webapis>
<webapi>
<id>CONTACT_INFO_SHOW</id>
<name>contact_information/show</name>
<description>Show Contact Information Web API</description>
<classname>CRMAPIContactInformationBean</classname>
<method>show</method>
</webapi>
...
</webapis>
</feature>
</features>
<leftmenuoptions>
<id>CRM1400</id> <!-- CONTACT INFORMATION -->
<id>CRM1412</id> <!-- CONTACT INFORMATION > Contact Information -->
<id>CRM2400</id> <!-- MODULE CONFIGURATION -->
<id>CRM2401</id> <!-- MODULE CONFIGURATION > Contact Information -->
<id>CRM2409</id> <!-- MODULE CONFIGURATION > Contact Information > Categories -->
...
</leftmenuoptions>
</module>
...
</modules>
<skins></skins>
<loginmodules>
<moduleid>CONTACT_INFORMATION</moduleid>
...
</loginmodules>
</moduleconfig>