How to add custom fields to Service/SLA

Moderator: crythias

Locked
damjanlepceski
Znuny newbie
Posts: 5
Joined: 11 May 2011, 14:58
Znuny Version: 3.0.2
Real Name: Damjan Lepceski

How to add custom fields to Service/SLA

Post by damjanlepceski »

Hey there,
is there a way to add custom fields to Services or SLAs (similar to adding FreeText fields to Tickets)?
My second question, is it possible to attach a file to Service/SLA, which would be the respective agreement documentation for that Service/SLA so that whenever I open the Service/SLA I could access the documentation directly from its window.
Thanks in advance,
Best
Damjan.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: How to add custom fields to Service/SLA

Post by crythias »

damjanlepceski wrote:My second question, is it possible to attach a file to Service/SLA, which would be the respective agreement documentation for that Service/SLA so that whenever I open the Service/SLA I could access the documentation directly from its window.
Maybe, but it'd be something like editing the appropriate dtl (hopefully in your own theme.)

Like here in AgentTicketZoom.dtl

Code: Select all

<!-- dtl:block:SLA -->
                        <label>$Text{"Service Level Agreement"}:</label>
                        <p class="Value" title="$QData{"SLA"}">$QData{"SLA","18"}</p>
                        <div class="Clear"></div>
<!-- dtl:block:SLA -->
maybe make it look like:

Code: Select all

<!-- dtl:block:SLA -->
                        <label>$Text{"Service Level Agreement"}:</label>
                        <p class="Value" title="$QData{"SLA"}"><a href="http://path/to/$QData{"SLA"}.pdf" target="_blank">$QData{"SLA","18"}</a></p>
                        <div class="Clear"></div>
<!-- dtl:block:SLA -->
Code isn't tested. If you adjust Standard/*.dtl, they will be overwritten upon upgrade.
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
Aaron pizz
Znuny newbie
Posts: 3
Joined: 05 Aug 2011, 12:31
Znuny Version: 2
Real Name: Aarom pizz
Company: cegonsoft

Re: How to add custom fields to Service/SLA

Post by Aaron pizz »

Can Anybody know how to test the SLA????
Locked