Re: Issues with Dynamic Fields

"Jignesh Kakka (jkakka)" <[email protected]>
Newsgroups gmane.comp.otrs.devel
Message-ID <[email protected]>
Hi Michiel,

Let’s say we add a dynamic field called ticket_source in OTRS.
Now while creating the ticket , there is no problem.
But while getting the ticket, I have to modify my application  source code to get/read this new Dynamic field from the response.
Had it been name-value pair, it would have got populated in my map automatically.

Thanks,
Jignesh

From: [email protected] [mailto:[email protected]] On Behalf Of Michiel Beijen
Sent: Wednesday, March 20, 2013 4:05 PM
To: Development community of OTRS
Subject: Re: [dev] Issues with Dynamic Fields

Hi,
On Wed, Mar 20, 2013 at 5:33 AM, Jignesh Kakka (jkakka) <[email protected]<mailto:[email protected]>> wrote:
While creating ticket, we pass Dynamic fields as name-value pair. But while getting ticket we receive dynamicFields as DynamicField_FieldName.
Cant this behavior be changed to having Name Value pair even while getting the ticket.
The reason wh I want in this way is , let’s say if we add or remove a dynamic field from System, then it may not require code change if we maintain as name-value pair
I was assuming that this may happen in OTRS 3.2 . But it also applies same logic while getting tickets

Can you explain the use case you have for this? What code would you now write that can be different if OTRS behaviour would change?

--
Mike

_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.