CI per page | more than 35

Moderator: crythias

Post Reply
Sayannara
Znuny advanced
Posts: 118
Joined: 22 May 2012, 12:37
Znuny Version: OTRS 7.06
Real Name: Yann
Company: FVE
Contact:

CI per page | more than 35

Post by Sayannara »

We are using the CMDB and it would be convenien for us to show more than 35 config item per page. I am an sysadmin, I cannot develop anything, but I can change setting if possible. I found this config file /opt/otrs/Kernel/Config/Files/ITSMConfigItem.xml
https://github.com/OTRS/ITSMConfigurati ... igItem.xml


I tried adding <Item Key="100">100</Item> and then restart daemons but didn't change anything. Could I accomplish this by myself?

Code: Select all

                <Item Key="Key" Translatable="1">Configuration Item limit per page</Item>
                <Item Key="Data">
                    <Hash>
                        <Item Key="10">10</Item>
                        <Item Key="15">15</Item>
                        <Item Key="20">20</Item>
                        <Item Key="25">25</Item>
                        <Item Key="30">30</Item>
                        <Item Key="35">35</Item>
                    </Hash>
                </Item>
Thanks to all
Centos 7 / OTRS::ITSM 6 Business Solutions / MariaDB / Apache
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: CI per page | more than 35

Post by RStraub »

After changing the .xml, navigate to the admin menu an click SysConfig (this is important, it re-reads the files).

Then you should see a new option in the webinterface.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Sayannara
Znuny advanced
Posts: 118
Joined: 22 May 2012, 12:37
Znuny Version: OTRS 7.06
Real Name: Yann
Company: FVE
Contact:

Re: CI per page | more than 35

Post by Sayannara »

Well I changed the config file, and I went to sysconfig, there wasn't any change. I then also changed within sysconfig and then got back to OTRS. But there was an error message saying "There is no config form small view".
Backend ERROR: OTRS-CGI-01 Perl: 5.18.1 OS: linux Time: Tue Jul 25 08:58:47 2017 Message: No config option found for the view 'Small'! RemoteAddress: 172.21.1.251 RequestURI: /otrs/index.pl?Action=AgentITSMConfigItem Traceback (19869): Module: Kernel::Output::HTML::Layout::ITSMConfigItem::ITSMConfigItemListShow Line: 340 Module: Kernel::Modules::AgentITSMConfigItem::Run Line: 306 Module: Kernel::System::Web::InterfaceAgent::Run Line: 1042 Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler Line: 40 Module: (eval) (v1.99) Line: 206 Module: ModPerl::RegistryCooker::run (v1.99) Line: 206 Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 172 Module: ModPerl::Registry::handler (v1.99) Line: 31
I then unchanged the sysconfig and the file but and even the reset button. But the message was still there. I am now currently restoring the server.
Centos 7 / OTRS::ITSM 6 Business Solutions / MariaDB / Apache
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: CI per page | more than 35

Post by RStraub »

That's unfortunate and I wouldn't expect it. Did you have a typo in the .xml ? Could you still post the whole block you edited?
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Sayannara
Znuny advanced
Posts: 118
Joined: 22 May 2012, 12:37
Znuny Version: OTRS 7.06
Real Name: Yann
Company: FVE
Contact:

Re: CI per page | more than 35

Post by Sayannara »

Okay I got it.

I do not know how it works. What I know is that if I only change within sysconfig it works. My advice would be to not change the XML file.
Centos 7 / OTRS::ITSM 6 Business Solutions / MariaDB / Apache
Sayannara
Znuny advanced
Posts: 118
Joined: 22 May 2012, 12:37
Znuny Version: OTRS 7.06
Real Name: Yann
Company: FVE
Contact:

Re: CI per page | more than 35

Post by Sayannara »

RStraub wrote:That's unfortunate and I wouldn't expect it. Did you have a typo in the .xml ? Could you still post the whole block you edited?

Code: Select all

                <Item Key="Data">
                    <Hash>
                        <Item Key="10">10</Item>
                        <Item Key="15">15</Item>
                        <Item Key="20">20</Item>
                        <Item Key="25">25</Item>
                        <Item Key="30">30</Item>
                        <Item Key="35">35</Item>
                        <Item Key="100">100</Item>
                    </Hash>
                </Item>
That's it
Centos 7 / OTRS::ITSM 6 Business Solutions / MariaDB / Apache
zzz
Znuny superhero
Posts: 889
Joined: 15 Dec 2016, 15:13
Znuny Version: All
Real Name: Emin
Company: Efflux GmbH
Contact:

Re: CI per page | more than 35

Post by zzz »

Sayannara wrote:Okay I got it.

I do not know how it works. What I know is that if I only change within sysconfig it works. My advice would be to not change the XML file.
Hey,

nice to hear that it worked but you should never change the .xml s. It's equivalent to the defaults.pm but only for the SysConfig.
That means: Updates will flush your settings, no log for changes and no way to restore the default settings.
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/

Free and premium add-ons: German | English
Post Reply