Change Name of dynamic fields

Moderator: crythias

Locked
Jill Meyer
Znuny newbie
Posts: 97
Joined: 04 Aug 2006, 13:48

Change Name of dynamic fields

Post by Jill Meyer »

What manual changes need to be considered in case we change the Name of a dynamic field?
For example I want to change name "TicketFreeText1" to "DeviceName" inside Dynamic Fields - Ticket: Change Text Field then OTRS tells me: Changing this value will require manual changes in the system.
What are the required changes, beside of:
- SearchCSVData
- Postmaster x-header

Thanks,
Jill
OTRS3.1.11
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Change Name of dynamic fields

Post by crythias »

dtl files, and anywhere else *this* particular field is used.

(where?)
cd otrs/Kernel
grep -sir "TicketFreeText1" *

(big list) but may or may not be relevant.

Probably best to create a new Dynamic field and use Generic Agent to mass populate it.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Jill Meyer
Znuny newbie
Posts: 97
Joined: 04 Aug 2006, 13:48

Re: Change Name of dynamic fields

Post by Jill Meyer »

Thank you crythias
can you tell me how to
Probably best to create a new Dynamic field and use Generic Agent to mass populate it.
.
Within Genric Agent I can search for tickets having any data inside "TicketFreeText1" - but how can I copy this data into a new dynamic field? Can this be done with regular expressions?
Can you give me an example?
OTRS3.1.11
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Change Name of dynamic fields

Post by crythias »

Well, if it's random free text, it's probably going to take a bit more of a todo than Generic Agent. If it was based upon a drop down list then it would be easier to match and apply.

On the other hand, I don't believe anything will *crash* if you change the labeling of ticketfreetext1 in 3.1 ... You just need to make sure the new label is in all the screens (SysConfig) you wish it to be displayed.

Besides, if it breaks anything, setting it back to the original will fix the problem.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Locked