Config.pm question

"Finetti, Stefano" <[email protected]> Tue, 1 Mar 2016 12:27:41 +0100
Newsgroups gmane.comp.otrs.devel
Message-ID <CADp4ddRffgrotUWFdx5GO=kLPY9Pxh=nXv5OtJffue2x=sk_7g@mail.gmail.com>
--===============0972483756==
Content-Type: multipart/alternative; boundary=001a1143d338d31851052cfb0e97

--001a1143d338d31851052cfb0e97
Content-Type: text/plain; charset=UTF-8

Hi,

a simple question (I think). Is it possible to move CustomerCompany
configurations that are stored into main Config.pm file into a different
file?

What I'd like to achieve is a module that adds some option to the Customer
Company management in OTRS (for example, type of customer, the erp system
they use, and stuff like that. I can easily add this fields in the
customer_company table and mapping fields in Config.pm, but this prevents
me from creating an installable module, because I can't (or at least, I
think I shouldn't) change Config.pm file during the installation of an OTRS
module.

It would be great to create a - let's say - CustomerCompanyConfig.pm in
/Kernel/Config/ or Kernel/Config/Files/ storing details from
CustomerCompany, to avoid tampering with Config.pm file.

I think this is not possible now, am I wrong?
-- 
*Lynx International Srl*
*Stefano Finetti*
*http://www.lynx-international.com <http://www.lynx-international.com>*

*Lynx International Srl is a part of AXED Group*
Via Pier Luigi Nervi e/3 - Torre 6 - 04100 Latina

-- 
This e-mail and any files transmitted contain documentation which is highly 
confidential and intended solely for the use of the individual or entity to 
whom they are addressed. All written data and other information in the 
documentation is and shall remain the property of the disclosing party. If 
you are not the intended recipient you are hereby formally notified that 
any disclosure, dissemination, forwarding, storing, copying or use of any 
of the information is strictly prohibited and will be legally pursued. If 
you received this in error, please contact the sender and destroy the 
documentation including deletion of the same from any computer. Thank you.

--001a1143d338d31851052cfb0e97
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div><br></div><div>a simple question (I think). Is it =
possible to move CustomerCompany configurations that are stored into main C=
onfig.pm file into a different file?</div><div><br></div><div>What I&#39;d =
like to achieve is a module that adds some option to the Customer Company m=
anagement in OTRS (for example, type of customer, the erp system they use, =
and stuff like that. I can easily add this fields in the customer_company t=
able and mapping fields in Config.pm, but this prevents me from creating an=
 installable module, because I can&#39;t (or at least, I think I shouldn&#3=
9;t) change Config.pm file during the installation of an OTRS module.=C2=A0=
</div><div><br></div><div>It would be great to create a - let&#39;s say - C=
ustomerCompanyConfig.pm in /Kernel/Config/ or Kernel/Config/Files/ storing =
details from CustomerCompany, to avoid tampering with Config.pm file.</div>=
<div><br></div><div>I think this is not possible now, am I wrong?</div><div=
>-- <br><div class=3D"gmail_signature"><div dir=3D"ltr"><div><div dir=3D"lt=
r"><div dir=3D"ltr"><span style=3D"color:rgb(50,100,246);font-family:&#39;C=
ourier New&#39;;font-size:18px"><b>Lynx International Srl</b><span style=3D=
"font-size:12px;font-family:Times;color:rgb(0,0,0)">=C2=A0</span></span><sp=
an style=3D"border-collapse:separate;border-spacing:0px"><div style=3D"word=
-wrap:break-word"><span style=3D"border-collapse:separate;border-spacing:0p=
x"><div style=3D"word-wrap:break-word"><div style=3D"margin:0px;font-size:1=
6px;font-family:&#39;Courier New&#39;;color:rgb(119,119,119)"><b>Stefano Fi=
netti</b></div><div style=3D"margin:0px;font-size:16px;font-family:&#39;Cou=
rier New&#39;;color:rgb(119,119,119)"><b><a href=3D"http://www.lynx-interna=
tional.com" target=3D"_blank">http://www.lynx-international.com</a></b></di=
v><div style=3D"margin:0px;font-size:16px;font-family:&#39;Courier New&#39;=
;color:rgb(119,119,119);min-height:18px"><br></div><div style=3D"margin:0px=
;font-size:16px;font-family:&#39;Courier New&#39;;color:rgb(119,119,119)"><=
b>Lynx International Srl is a part of AXED Group</b></div><div style=3D"mar=
gin:0px;font-size:16px;font-family:&#39;Courier New&#39;;color:rgb(119,119,=
119)">Via Pier Luigi Nervi e/3 - Torre 6 - 04100 Latina</div><div style=3D"=
margin:0px;font-size:16px;font-family:&#39;Courier New&#39;;color:rgb(119,1=
19,119)"><br></div></div></span></div></span></div></div></div></div></div>
</div></div>

<br>
<span style=3D"color:rgb(153,153,153);font-family:&#39;Courier New&#39;;fon=
t-size:12px">This e-mail and any files transmitted contain documentation wh=
ich is highly confidential and intended solely for the use of the individua=
l or entity to whom they are addressed. All written data and other informat=
ion in the documentation is and shall remain the property of the disclosing=
 party. If you are not the intended recipient you are hereby formally notif=
ied that any disclosure, dissemination, forwarding, storing, copying or use=
 of any of the information is strictly prohibited and will be legally pursu=
ed. If you received this in error, please contact the sender and destroy th=
e documentation including deletion of the same from any computer. Thank you=
.</span>
--001a1143d338d31851052cfb0e97--

--===============0972483756==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
--===============0972483756==--