# Custom trigger to hyperlinks / link and goto that are already created in original PDF

**URL:** <https://pdfjs.community/t/custom-trigger-to-hyperlinks-link-and-goto-that-are-already-created-in-original-pdf/505>\
**Category:** Technical Support\
**Created:** [February 17, 2021, 4:36am UTC](https://pdfjs.community/t/custom-trigger-to-hyperlinks-link-and-goto-that-are-already-created-in-original-pdf/505 "2021-02-17T04:36:38Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![fbenavides](https://avatars.discourse-cdn.com/v4/letter/f/22d042/32.png) [@fbenavides](https://pdfjs.community/u/fbenavides)\
**Post date:** [February 17, 2021, 4:36am UTC](https://pdfjs.community/t/custom-trigger-to-hyperlinks-link-and-goto-that-are-already-created-in-original-pdf/505/1 "2021-02-17T04:36:38Z")

</div>

**PDF.js Express Version**

**Detailed description of issue**  
Hi, I am trying to display PDF documents that have external hyperlinks to files. First I need how to Active those links to work.  
Second, I need somehow to catch the event when the user click the external hyperlink and try to redirect it to existing file in the server.

I try this link for PDFTRON but it don’t work.  
[https://groups.google.com/g/pdfnet-webviewer/c/H0353b6vYwU](https://groups.google.com/g/pdfnet-webviewer/c/H0353b6vYwU)

**Expected behaviour**  
{Provide a screenshot or description of the expected behaviour}  
First, When the user click on the hyperlink, open a blank page with the link  
 ![image](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/11d8498933dfac9d60cddbb0f159fd5d376fe3ce.png)

**Does your issue happen with every document, or just one?**  
{Answer here}

**Link to document**  
{Provide a link to the document in question if possible}

**Code snippet**  
{Provide a relevant code snippet}

---

_[View the full topic](https://pdfjs.community/t/custom-trigger-to-hyperlinks-link-and-goto-that-are-already-created-in-original-pdf/505)._
