
Thanks Michiel, this is awesome.
I chose to add the XML file and sure enough, the additional calendar (10) appears in the SysConfig.
One question though, theoretically, the number of calendars could go up to n with both the approaches, so why is there a limit on 99 (calendars)?
Regards,
Sunjay
-----Original Message-----
From: itsm-bounces@otrs.org [mailto:itsm-bounces@otrs.org] On Behalf Of itsm-request@otrs.org
Sent: Friday, September 18, 2009 2:44 PM
To: itsm@otrs.org
Subject: itsm Digest, Vol 28, Issue 4
Send itsm mailing list submissions to
itsm@otrs.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.otrs.org/mailman/listinfo/itsm
or, via email, send a message with subject or body 'help' to
itsm-request@otrs.org
You can reach the person managing the list at
itsm-owner@otrs.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of itsm digest..."
Today's Topics:
1. Re: Calendars (Michiel Beijen)
----------------------------------------------------------------------
Message: 1
Date: Fri, 18 Sep 2009 11:13:05 +0200
From: Michiel Beijen
Hi,
How do I get to configure/use the 99 calendars as mentioned in the ITSM Admin Manual. So far, I can see and am able to use the default 9 but don?t have any idea of how to bring up the remaining 90.
Any help is appreciated
Regards,
Sunjay
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
--------------------------------------------------------------------- OTRS mailing list: itsm - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/itsm To unsubscribe: http://lists.otrs.org/mailman/listinfo/itsm
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/

Well, would you need more? ;-)
The reason is that OTRS has to look for how many calendars there are and
then parse them all. If you would look at the Perl code, you'd see it would
not be that hard to store even more calendars, but you'd need to change a
few things around.
--
Michiel Beijen
Software Consultant
+31 6 - 457 42 418
Bee Free IT + http://beefreeit.nl
On Fri, Sep 18, 2009 at 12:22 PM, Kaul, Sunjay
Thanks Michiel, this is awesome. I chose to add the XML file and sure enough, the additional calendar (10) appears in the SysConfig. One question though, theoretically, the number of calendars could go up to n with both the approaches, so why is there a limit on 99 (calendars)?
Regards, Sunjay
-----Original Message----- From: itsm-bounces@otrs.org [mailto:itsm-bounces@otrs.org] On Behalf Of itsm-request@otrs.org Sent: Friday, September 18, 2009 2:44 PM To: itsm@otrs.org Subject: itsm Digest, Vol 28, Issue 4
Send itsm mailing list submissions to itsm@otrs.org
To subscribe or unsubscribe via the World Wide Web, visit http://lists.otrs.org/mailman/listinfo/itsm or, via email, send a message with subject or body 'help' to itsm-request@otrs.org
You can reach the person managing the list at itsm-owner@otrs.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of itsm digest..."
Today's Topics:
1. Re: Calendars (Michiel Beijen)
----------------------------------------------------------------------
Message: 1 Date: Fri, 18 Sep 2009 11:13:05 +0200 From: Michiel Beijen
Subject: Re: [itsm] Calendars To: "OTRS::ITSM User questions and discussions" Message-ID: <9eda38a40909180213k515e379bwc7eaf74f1b0bacd@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Hi Sunjay,
There are actually two ways to achieve what you want:
You can manage additional calendars from Config.pm by adding the following lines:
$Self->{'TimeWorkingHours::Calendar10'} = { 'Fri' => [ '9', '10', ], 'Mon' => [ '9', '10', ], 'Sat' => [ '9', '10', ], 'Sun' => [ '9', '10', ], 'Thu' => [ '9', '10', ], 'Tue' => [ '9', '10', ], 'Wed' => [ '9', '10', ] }; $Self->{'TimeVacationDays::Calendar10'} = { '1' => { '1' => 'New Year\'s Day' }, '12' => { '25' => 'First Christmas Day', '26' => 'Second Christmas Day' }, '4' => { '30' => 'Queens Day' } }; $Self->{'TimeZone::Calendar10'} = '+6'; $Self->{'TimeZone::Calendar10Name'} = 'My Calendar Name';
Repeat for every additional calendar, but change all references from Calendar10 to Calendar11.
Another way, even nicer, would be to create a new XML file 'AdditionalCalendars.xml' in otrs/Kernel/Config/Files, see attached sample. You can now manage the calendars via the sysconfig, just as you would with the calendar 1 to 9... with the attached sample you only get one additional calendar, calendar10, but you get the idea I guess...
Regards, -- Michiel Beijen Software Consultant +31 6 - 457 42 418 Bee Free IT + http://beefreeit.nl
On Fri, Sep 18, 2009 at 10:40 AM, Kaul, Sunjay
wrote:
Hi,
How do I get to configure/use the 99 calendars as mentioned in the ITSM Admin Manual. So far, I can see and am able to use the default 9 but don?t have any idea of how to bring up the remaining 90.
Any help is appreciated
Regards,
Sunjay
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
--------------------------------------------------------------------- OTRS mailing list: itsm - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/itsm To unsubscribe: http://lists.otrs.org/mailman/listinfo/itsm
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
participants (2)
-
Kaul, Sunjay
-
Michiel Beijen