Disable dashboard and default to CMDB

Moderator: crythias

Locked
Stevo
Znuny newbie
Posts: 16
Joined: 25 Nov 2013, 11:59
Znuny Version: 3.3.7

Disable dashboard and default to CMDB

Post by Stevo »

Is it possible to diasable the dashboard so that a user logs into CMDB as the default page?
We are only using the CMDB function of OTRS and the dashboard is therefore of no use to us. I have managed to hide the Dashboard button, but I cannot find a way to reset the deafault homepage.
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: Disable dashboard and default to CMDB

Post by BIG_jan »

Search for 'AgentDashboard' in Sysconfig - it should be there somewhere

found:
Change this to CMDB 'AgentITSMConfigItem'. You can even set the default class if you want
'AgentITSMConfigItem;Filter=29;SortBy=Name;OrderBy=Up'

Code: Select all

Frontend::CommonParam###Action
disable this for no Dashboard

Code: Select all

Frontend::Module###AgentDashboard
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
Stevo
Znuny newbie
Posts: 16
Joined: 25 Nov 2013, 11:59
Znuny Version: 3.3.7

Re: Disable dashboard and default to CMDB

Post by Stevo »

Excellent. Thanks very much.
Stevo
Znuny newbie
Posts: 16
Joined: 25 Nov 2013, 11:59
Znuny Version: 3.3.7

Re: Disable dashboard and default to CMDB

Post by Stevo »

What would I add to the following to set the default class (hardware)?
AgentITSMConfigItem;Filter=29;SortBy=Name;OrderBy=Up

Many thanks.
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: Disable dashboard and default to CMDB

Post by BIG_jan »

Aloha,

u have to look into Admin -> GeneralCatalog and into the 'ITSM::ConfigItem::Class'
There get the id of the Hardware-Class (30 if nothig changed), then change the Filter in the URL

now it should be:
AgentITSMConfigItem;Filter=30;SortBy=Name;OrderBy=Up
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
Stevo
Znuny newbie
Posts: 16
Joined: 25 Nov 2013, 11:59
Znuny Version: 3.3.7

Re: Disable dashboard and default to CMDB

Post by Stevo »

I have picked the class ID as you suggest from the address bar when in Admin\general catalogue\hardware class but I get this error -

Error Message: Module Kernel/Modules/AgentITSMConfigItemFilter165.pm not found!

Am I getting the ID from the right place (12.123.123.123/otrs/index.pl?Action=AdminGeneralCatalog&Subaction=ItemEdit&ItemID=165)?
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Disable dashboard and default to CMDB

Post by reneeb »

Try to use "&" instead of ";" in the URL...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Stevo
Znuny newbie
Posts: 16
Joined: 25 Nov 2013, 11:59
Znuny Version: 3.3.7

Re: Disable dashboard and default to CMDB

Post by Stevo »

Tried AgentITSMConfigItem&Filter=165 it but same error - Error Message: Module Kernel/Modules/AgentITSMConfigItemFilter165.pm not found!
Last edited by Stevo on 28 Nov 2013, 13:12, edited 1 time in total.
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Disable dashboard and default to CMDB

Post by reneeb »

Please show the URL currently used in the SysConfig...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Stevo
Znuny newbie
Posts: 16
Joined: 25 Nov 2013, 11:59
Znuny Version: 3.3.7

Re: Disable dashboard and default to CMDB

Post by Stevo »

Hi, I currently have AgentITSMConfigItem which works but it defaults to Documentation class and I want it to default to Hardware class. If I add on ;Filter=165 in an attempt to get it to default to hardware class it throws up the error message (165 is the ID for Hardware class)
Locked