Concept Idea behind Article's dynamic field and displaying

Moderator: crythias

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

Concept Idea behind Article's dynamic field and displaying

Post by hkais »

Hello to the Znuny developers,

I am currently struggeling in understanding and explaining, why the Articles Dynamic fields can be defined and modified by code, BUT there is NO option to display them nor to edit them.

I can select the article's dynamic field to be shown on AgentTicketZoom via the assignment UI, but the field is not showing.
My expectation would have been if I can assign it, that the field will be shown.

If this behaviour is intentionally implemented this way, can someone explain the benefit for it?
If the behaviour is a bug, in what version/commit is/was this bug fixed?

best wishes
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
root
Administrator
Posts: 4249
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Concept Idea behind Article's dynamic field and displaying

Post by root »

Hi,

There is an option to display them and it's used by customer in real life:
SCR-20240716-nerj.png
Since the field always belongs to an article it is display within the article where it was entered. Showing it somewhere is makes nos sense without the article context.

The nature of an article is immutability and this is required to be revision proof. That's why there is only the option to add a field, but no way to edit a field. The same behavior like an article.
SCR-20240716-nenq.png
- Roy
You do not have the required permissions to view the files attached to this post.
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
hkais
Znuny wizard
Posts: 365
Joined: 16 Apr 2016, 08:55
Znuny Version: see in post
Real Name: Hans
Contact:

Re: Concept Idea behind Article's dynamic field and displaying

Post by hkais »

Hi Roy,

thank you for your good explain.
root wrote: 16 Jul 2024, 14:57 Since the field always belongs to an article it is display within the article where it was entered. Showing it somewhere is makes nos sense without the article context.

The nature of an article is immutability and this is required to be revision proof. That's why there is only the option to add a field, but no way to edit a field. The same behavior like an article.
SCR-20240716-nenq.png
Getting the point of the idea of having immutable articles.
But how would you cover a business process where you require details from the articles attachment (e.g. document print date or signature date) and you will have multiple articles with the attachments in this ticket, so each article shall have this details at article level and not on ticket level.
If I understand you well, during processing the article, the content of the attachment has also to be parsed and cannot be modifed afterwards "officially", only with programmatically workarounds. But cannot imagine that this is the only option?
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
hkais
Znuny wizard
Posts: 365
Joined: 16 Apr 2016, 08:55
Znuny Version: see in post
Real Name: Hans
Contact:

Re: Concept Idea behind Article's dynamic field and displaying

Post by hkais »

After thinking a few hours I would suggest a few feature

let Admin decide if the dynamic field is immuatable for the reasons of revision safety
if admin says, yes, this field shall only be editable during "importing/creating" the article
if admin says, no, this is a helper field to avoid additional clicks like in my previous named case, the users shall be able to edit them
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
stephan14x
Znuny newbie
Posts: 13
Joined: 08 Jan 2014, 08:54
Znuny Version: 2.4 > 3.3 > 6 > 7
Real Name: Stephan Lang
Company: Bock 1 GmbH & Co. KG

Re: Concept Idea behind Article's dynamic field and displaying

Post by stephan14x »

Hi,

there is the option to create Ticket Dynamic Fields that you can edit at any time in Ticket Free Text Dialog.

Would that be a solution for you?

Stephan
Started with OTRS 2.4 and used OTRS 6.0 until 2023
After a Year of Hell using a leading cloud tool, I'm resetting to OTRS Znuny - Voyager Reference intended
Updated my OTRS 6 on Debian 9 to Znuny 7 on Debian 12 - and will now fix 10 years of config and file hacks
hkais
Znuny wizard
Posts: 365
Joined: 16 Apr 2016, 08:55
Znuny Version: see in post
Real Name: Hans
Contact:

Re: Concept Idea behind Article's dynamic field and displaying

Post by hkais »

stephan14x wrote: 17 Jul 2024, 22:00 Hi,

there is the option to create Ticket Dynamic Fields that you can edit at any time in Ticket Free Text Dialog.

Would that be a solution for you?

Stephan
Hi Stephan,

how can you display and edit article based dynamic fields there?

If you refer to ticket based dynamic fields, how would you implement my referred example with multiple documents but different dates. And the date shall be a helper field for the agents on article level?
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
Locked