Developer forum

Forum » CMS - Standard features » Links in PrintablePapers

Links in PrintablePapers

Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,

I have configured a few printable papers and I have edited the templates to include links back to the catalog on the product names.

In preview mode, the links work fine. When saving as PDF, the links are removed.

Is there a setting I need to change/check?

Thank you,
Adrian


Replies

 
Nicolai Pedersen
Reply

None that we know of. Are the links absolute? How does the markup look like for the links. What dw version is it?

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Nicolai,

Links are absolute.

DW version is 9.9.8.

Markup is like this:

<a href="@productLink" target="_blank">
<h2 class="sheet-product-title sheet-product-title--lg" style="color: @nameColor">@productName <i class="fas fa-external-link-square-alt"></i></h2>
</a>

Thank you,
Adrian

 
Nicolai Pedersen
Reply

So what is the resulting markup for this? Can you share a URL?

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Nicolai,

Here are some links: 

https://mendolafabrics.ro/Default.aspx?ID=4437

https://mendolafabrics.ro/Default.aspx?ID=4426

https://mendolafabrics.ro/Default.aspx?ID=4431

 

Thank you,
Adrian

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Nicolai,

Do you have any suggestions?

Thank you,
Adrian

 
Nicolai Pedersen
Reply

No, I think it is a configuration of the ABCPDF engine being used.

We have moved to ironpdf in later versions (which is also not completely problem free).

The best I can do is to dig out the source code for 9.9 so the change can be made there (if that is what is needed)

BR Nicolai

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Nicolai.

If that's what it takes...

I have followed the various reported issues related to IronPDF and I agree that it still has some issues. Maybe different ones but still not entirely bug-free.

I believe that the customer's request to have links in the generated PDF makes sense. If you distribute the document by email and you want your customers to be able to visit the product online, links are a required functionality.

Thank you,

Adrian

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Nicolai,

I would like to circle back to this topic in order to understand what we can do about it.

Do you think that upgrading to use IronPDf would solve this link issue?

If not, should we edit the code for the PDF provider (either ABCPDF or IronPDF)?

Isn't this a functionality that should be supported by default? On short, can we expect this link issue to be solved in newer versions?

Thank you,
Adrian

 

You must be logged in to post in the forum