Display values as a tree DynamicField Dropdown

Moderator: crythias

Post Reply
hkais
Znuny wizard
Posts: 357
Joined: 16 Apr 2016, 08:55
Znuny Version: see in post
Real Name: Hans
Contact:

Display values as a tree DynamicField Dropdown

Post by hkais »

I have a select box with

try the

Level1
Level1::Sublevel1
Level1::Sublevel2
Level1::Sublevel1::SubSubLevel1
Level1::Sublevel1::SubSubLevel2
Level1::Sublevel1::SubSubLevel1::SubSubSubLevel1
Level1::Sublevel1::SubSubLevel1::SubSubSubLevel1::SubSubSubSubLevel1

And select "Show as Tree --> Yes"

so far it works good.

Bu tis there a way to tell the nodes to not be selectible at all?

e.g. in the above case I want Level1 itself to not be selectible but clickable to expand
and in the later cases I would like to have the same too e.g. to say Level1::Sublevel1::SubSubLevelX shall not be selectible but the underneath nodes
Elected 2022-06 as an IT Governance Portal Expert. The portal for Znuny, OTRS and OTOBO power users and admins
Specialized for AI-based Solutions with Znuny

IT Governance Portal
skullz
Znuny superhero
Posts: 656
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

Re: Display values as a tree DynamicField Dropdown

Post by skullz »

Use ACL

Example

PosibleNot
- Ticket
-- DynamicField_X
--- Level 1, Level 2
My Github
OTRS CE/LTS Discord Channel
Cant Update Package Anymore ? Check This

Professional OTRS, Znuny & OTOBO services: efflux.de/en
Free and premium add-ons: English
hkais
Znuny wizard
Posts: 357
Joined: 16 Apr 2016, 08:55
Znuny Version: see in post
Real Name: Hans
Contact:

Re: Display values as a tree DynamicField Dropdown

Post by hkais »

thank you skuliz!

let me try. But still this is really odd to define fields in dynamic fields and require to spread the usage to ACLs.
are there any more intuitive solutions around?
Elected 2022-06 as an IT Governance Portal Expert. The portal for Znuny, OTRS and OTOBO power users and admins
Specialized for AI-based Solutions with Znuny

IT Governance Portal
Johannes
Moderator
Posts: 425
Joined: 30 Jan 2008, 02:26
Znuny Version: All of them ^^
Real Name: Hannes
Company: Znuny|OTTERHUB

Re: Display values as a tree DynamicField Dropdown

Post by Johannes »

Hi,
no, not really.
The DF just contain some values, which nobody knows about. So the general ACLs can be applied.
Often to handle relations >Ticket Type> Limit content of Field
This can be done using ticket attribute relations, using CSV / Excel files. Which might be a good fit
for larger installations.

Otherwise this functionality is only available in the services. There certain keys can be deactivated and the sub keys are still available.

Regards
Post Reply