Hello,
I am using OTRS 3.0.11 and wish to know if it is possible to share Search Templates between agents ?
Thanks in adavance,
Regis
Is it possible to share Search Template ?
Moderator: crythias
-
- Znuny ninja
- Posts: 1029
- Joined: 13 Apr 2009, 12:26
- Znuny Version: 6.0.13
- Real Name: Wolfgang Fürtbauer
- Company: PBS Logitek GmbH
- Location: Pinsdorf
Re: Is it possible to share Search Template ?
AFAIK: no
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
-
- Znuny newbie
- Posts: 10
- Joined: 01 Jun 2012, 15:37
- Znuny Version: ITSM 3.0.5
- Real Name: richard
- Company: navaho
Re: Is it possible to share Search Template ?
hi RegisF
you can try to modify the searchprofile.pm file this way where there is the SELECT SQL command (at 2 levels) :
SELECT profile_name FROM search_profile WHERE LOWER(login) = LOWER('$Login')
--> SELECT profile_name FROM search_profile WHERE (LOWER(login) = LOWER('$Login') OR LOWER(login) LIKE LOWER('%NewTemplateUser') )
It needs a dedicated NEwTemplateUser which will be used for this purpose.
unfortunnately it does not allow Shared templates by group or rights, but it allows to share templates among ALL users.
I've just adapted & simplified a previous post from BLANG ("Creating search template for all agents") found on the forum.
Hope this helps
richard
you can try to modify the searchprofile.pm file this way where there is the SELECT SQL command (at 2 levels) :
SELECT profile_name FROM search_profile WHERE LOWER(login) = LOWER('$Login')
--> SELECT profile_name FROM search_profile WHERE (LOWER(login) = LOWER('$Login') OR LOWER(login) LIKE LOWER('%NewTemplateUser') )
It needs a dedicated NEwTemplateUser which will be used for this purpose.
unfortunnately it does not allow Shared templates by group or rights, but it allows to share templates among ALL users.
I've just adapted & simplified a previous post from BLANG ("Creating search template for all agents") found on the forum.
Hope this helps
richard
-
- Znuny newbie
- Posts: 10
- Joined: 01 Jun 2012, 15:37
- Znuny Version: ITSM 3.0.5
- Real Name: richard
- Company: navaho
Re: Is it possible to share Search Template ?
hello
just a quick feedback after a week of usage :
we had to remove the modification since the sortby feature in the Search view (after using a search profile / template) was returning false results.
So yes : the mod is working and allows shared Search Template
But Becarful : it has some side effects on the results returned by the agent template.
Sorry for the bad news.
richard
just a quick feedback after a week of usage :
we had to remove the modification since the sortby feature in the Search view (after using a search profile / template) was returning false results.
So yes : the mod is working and allows shared Search Template
But Becarful : it has some side effects on the results returned by the agent template.
Sorry for the bad news.
richard