[Solved] problem with fixed dynamic field block

Moderator: crythias

Locked
andrei
Znuny newbie
Posts: 15
Joined: 30 Jan 2013, 11:26
Znuny Version: OTRS::ITSM 3.2.1
Real Name: Andrei Miron
Company: Euroanswer

[Solved] problem with fixed dynamic field block

Post by andrei »

Hi guys,

First of all thanks for the great product to anyone involved.

I have a problem customizing the ticket aspect.
I added a dynamic field. I enabled in order to be shown in the ticket.
Everything works ok as long as the dynamic field is shown in the ticket through the dtl:block:DynamicField in AgentTicketPhone.dtl.
If I comment the dtl:block:DynamicField and put a fixed block like this:

<!-- dtl:block:DynamicField_Location -->
<div class="Row Row_DynamicField_$QData{"Name"}">
$Data{"Label"}
<div class="Field">
$Data{"Field"}
</div>
</div>
<div class="Clear"></div>
<!-- dtl:block:DynamicField_Location -->

then I can see it in the new ticket form but I cannot create tickets anymore.

I tried in OTRS::ITSM 3.1.7 and OTRS::ITSM 3.2.1 (OS is Linux) without success.
So I assume I missed something.

Please can anyone suggest what I'm missing?

Thanks,
Andrei
Last edited by andrei on 30 Jan 2013, 14:42, edited 1 time in total.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: problem with fixed dynamic field block

Post by crythias »

You must include all enabled dynamic fields in some fashion.
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
andrei
Znuny newbie
Posts: 15
Joined: 30 Jan 2013, 11:26
Znuny Version: OTRS::ITSM 3.2.1
Real Name: Andrei Miron
Company: Euroanswer

[Solved] Re: problem with fixed dynamic field block

Post by andrei »

Thanks Crythias.

You are absolutely right. In my tests I didn't put in fixed blocks all the dynamic fields.

Now when I put all of them everything is working as expected.

Thanks,
Andrei
Locked