Activating a module

English! place to talk about development, programming and coding
Post Reply
jmkdev
Znuny newbie
Posts: 23
Joined: 16 Jan 2013, 08:21
Znuny Version: OTRS 3.1
Real Name: Jignesh
Company: Cisco

Activating a module

Post by jmkdev »

I created a module in Kernel/GenericInterface/Operation as Customer/CustomerAdd.pm

basically i created the folder Customer and added CustomerAdd.pm there.

How do i activate this module
BIG_jan
Znuny advanced
Posts: 138
Joined: 05 Jun 2009, 11:32
Znuny Version: 3.3.8
Company: Netzlink Informationstechnik GmbH
Location: Wolfenbüttel,GER
Contact:

Re: Activating a module

Post by BIG_jan »

Im Working on a CompanyAdd.pm Module
Can u provide urs so i have a pattern to work on?

U have to create a SysConfig Entry:
Name is pm-name
Controller is folder-name

Code: Select all

<?xml version="1.0" encoding="utf-8" ?>
<otrs_config version="1.0" init="Netzlink">

<!-- WebService -->

    <ConfigItem Name="GenericInterface::Operation::Module###CustomerCompany::CustomerCompanyAdd" Required="0" Valid="1">
        <Description Translatable="1">GenericInterface module registration for the operation layer.</Description>
        <Group>GenericInterface-NLI</Group>
        <SubGroup>GenericInterface::Operation::ModuleRegistration</SubGroup>
        <Setting>
            <Hash>
                <Item Key="Name">CustomerCompanyAdd</Item>
                <Item Key="Controller">CustomerCompany</Item>
                <Item Key="ConfigDialog">AdminGenericInterfaceOperationDefault</Item>
            </Hash>
        </Setting>
    </ConfigItem>
    
</otrs_config>
Live: OTRS 3.3.8, ITSM 3.3.8, in vm
Test: otrs 3.3.8, ITSM

OS: RedHat 6.5 64Bit, Apache: 2.2.15, MySQL 5.5.38, Perl: 5.10.1, mod_Perl 2.0.4
Post Reply