DynamicFieldITSMConfigItem show only linked CI in Customer Frontend

Moderator: crythias

Post Reply
albsie
Znuny newbie
Posts: 9
Joined: 20 Dec 2016, 14:11
Znuny Version: 5.0.18

DynamicFieldITSMConfigItem show only linked CI in Customer Frontend

Post by albsie »

Hello,
in my current setup i use the package DynamicFieldITSMConfigItem from c.a.p.e IT.
This package allows you to create Dynamic Fields on Customer Frontend, from which you can select CI from the CMDB.
It also uses autocomplete to show a dropdown-list from which the customeruser can select the correct CI.
I created the Dynamic Fields "Room" to display CI from the CMDB-class "Location",
"Computer" to display CI from the CMDB-class "Computer" and
"Hardware"to display CI from the CMDB-class "Hardware".

Is there a way to only show linked CI, when a specific room is selected?

E.g. The Customer enters room "E309" in DynamicField "Room".
When he enters something in the DynamicField "Computer", it should only display CI which are linked to the CI "E309".
Currently all DynamicFields show all CI from the associated class.
Unbenannt.png
You do not have the required permissions to view the files attached to this post.
Version: OTRS::ITSM 5s 5.0.18
Additional Packages: DynamicFieldITSMConfigItem
OS: Ubuntu 16.04
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: DynamicFieldITSMConfigItem show only linked CI in Customer Frontend

Post by RStraub »

Probably the same way as you'd do it on the agent side:

Create an ACL, filter on a specific room and show only valid settings.

Please not that for this addon you cannot use the "name" of the CI, you have to use it's ID for filtering.

Also they currently have a bug in this module where the search gets really slow on bigger lists.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
albsie
Znuny newbie
Posts: 9
Joined: 20 Dec 2016, 14:11
Znuny Version: 5.0.18

Re: DynamicFieldITSMConfigItem show only linked CI in Customer Frontend

Post by albsie »

Thanks for helping.
I created a ACL and filterd with the configitem# but I can still see all CI.
I also tried filtering with the CI-Name, but as you stated it doesn't work.
Adding PossibleNot with the negated Regexpression does also nothing.
ACL-filter-CI.PNG
You do not have the required permissions to view the files attached to this post.
Version: OTRS::ITSM 5s 5.0.18
Additional Packages: DynamicFieldITSMConfigItem
OS: Ubuntu 16.04
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: DynamicFieldITSMConfigItem show only linked CI in Customer Frontend

Post by RStraub »

I tried to recreate this setup, but it seems that ACLs don't work on the new message action. I can't even forbid a whole Action like "CustomerTicketProcess". This seems majorly flawed.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
nedmaj
Znuny expert
Posts: 167
Joined: 26 Nov 2014, 20:34
Znuny Version: 6.3.4
Real Name: Samuel Casimiro
Company: Câmara dos Deputados
Contact:

Re: DynamicFieldITSMConfigItem show only linked CI in Customer Frontend

Post by nedmaj »

Take a look at the dynamic field constrictions config. May be of help.
Samuel

Znuny 6.3.4 | OTRS 5.0.17
OS: Debian 11 | CentOS 6.5
Database: Postgres | Oracle 12.1
Number of agents: 450 | Number of customers: 20000 | Number of CIs: 30000
Post Reply