Open Hyperlink in new Browser tab

Moderator: crythias

Post Reply
apolloit
Znuny newbie
Posts: 36
Joined: 01 Jun 2015, 10:17
Znuny Version: 6.0.28
Real Name: Michael James

Open Hyperlink in new Browser tab

Post by apolloit »

Hello All,

Regarding opening a Customer Dynamic Field Hyperlink in new Browser tab. Is it possible?

I have a dynamic field for a URL to documentation, and would like the agents to click on the URL and have it open in a new tab, rather than overwriting the existing one and losing the ticket off the screen.

This is the line in my Config.pm. Is there something I can modify it with to give me a new tab (or even a window?)

Code: Select all

 [ 'DynamicField_CustDocumentsLink', undef, 'CustDocumentsLink', 1, 0, 'dynamic_field', '[% Data.DynamicField_CustDocumentsLink | html %]', 0 ],
Ctrl-click is a workaround, but would like to "resolve" it in the system

Many thanks indeed.

Michael.
apolloit
Znuny newbie
Posts: 36
Joined: 01 Jun 2015, 10:17
Znuny Version: 6.0.28
Real Name: Michael James

Re: Open Hyperlink in new Browser tab

Post by apolloit »

Hi All,

I managed to resolve this by changing the line to:

Code: Select all

 [ 'DynamicField_CustDocumentsLink', undef, 'CustDocumentsLink', 1, 0, 'dynamic_field', '[% Data.DynamicField_CustDocumentsLink | html %]', 0, "_blank" ]
This was after searching new terms for a resolution, and I'm glad I did!

Hope this helps someone.

Michael
Post Reply