Render report with bookmark and links
-
- Posts: 4
- Joined: Sat May 18, 2019 5:17 am
Render report with bookmark and links
Hi,
I've created a Report with Stimulsoft Editor using bookmarks and Hyperlink. In the preview all goes right. I can see bookmarks and navigate internal Hyperlink (link to bookmark). When I deploy to nodejs and export the PDF using Stimulsoft.Reports.JS, all bookmarks and hyperlink disappear.
To export in PDF I'm using this code:
report.render();
const pdfData = report.exportDocument(Stimulsoft.Report.StiExportFormat.Pdf);
Has anyone encountered this problem? If yes, how did you solve it?
Thanks in advance
Andrea Del Brocco.
I've created a Report with Stimulsoft Editor using bookmarks and Hyperlink. In the preview all goes right. I can see bookmarks and navigate internal Hyperlink (link to bookmark). When I deploy to nodejs and export the PDF using Stimulsoft.Reports.JS, all bookmarks and hyperlink disappear.
To export in PDF I'm using this code:
report.render();
const pdfData = report.exportDocument(Stimulsoft.Report.StiExportFormat.Pdf);
Has anyone encountered this problem? If yes, how did you solve it?
Thanks in advance
Andrea Del Brocco.
-
- Posts: 6265
- Joined: Tue Mar 20, 2018 5:34 am
Re: Render report with bookmark and links
Hello,
Please check the last release 2020.2.3, bookmarks and hyperlinks were added in the last build.
Thank you.
Please check the last release 2020.2.3, bookmarks and hyperlinks were added in the last build.
Thank you.
Re: Render report with bookmark and links
Hi,
I have the same problem, when using an image as Hyperlink in the Sti report. It disappears when export to PDF from .NET core code.
Can anyone help me, please ?
Thank you in advance.
Arbia.
I have the same problem, when using an image as Hyperlink in the Sti report. It disappears when export to PDF from .NET core code.
Can anyone help me, please ?
Thank you in advance.
Arbia.
-
- Posts: 6265
- Joined: Tue Mar 20, 2018 5:34 am
Re: Render report with bookmark and links
Hello,
We couldn't reproduce the issue.
Please send us a sample project that reproduces the issue for analysis.
Thank you.
We couldn't reproduce the issue.
Please send us a sample project that reproduces the issue for analysis.
Thank you.
Re: Render report with bookmark and links
Hi,
Thank you for your reply.
I created a StiReport with Stimulsoft designer using ASP.NET Core and I attached an image as Hyperlink. Then, when I tried to export my report to pdf, the image disappeared.
This is my code:
public ActionResult ExportReport(int id, string extention)
{
StiReport stiReport = CreateReport(id);
stiReport.Compile();
stiReport.Render();
MemoryStream ms = new MemoryStream();
switch (extention)
{
case "pdf":
stiReport.ExportDocument(StiExportFormat.Pdf, ms);
break;
case "docx":
stiReport.ExportDocument(StiExportFormat.Word2007, ms);
break;
case "xlsx":
stiReport.ExportDocument(StiExportFormat.Excel2007, ms);
break;
}
return File(ms.ToArray(), "application/x-msdownload", "report.pdf");
}
I hope, it's clear.
Thanks.
Thank you for your reply.
I created a StiReport with Stimulsoft designer using ASP.NET Core and I attached an image as Hyperlink. Then, when I tried to export my report to pdf, the image disappeared.
This is my code:
public ActionResult ExportReport(int id, string extention)
{
StiReport stiReport = CreateReport(id);
stiReport.Compile();
stiReport.Render();
MemoryStream ms = new MemoryStream();
switch (extention)
{
case "pdf":
stiReport.ExportDocument(StiExportFormat.Pdf, ms);
break;
case "docx":
stiReport.ExportDocument(StiExportFormat.Word2007, ms);
break;
case "xlsx":
stiReport.ExportDocument(StiExportFormat.Excel2007, ms);
break;
}
return File(ms.ToArray(), "application/x-msdownload", "report.pdf");
}
I hope, it's clear.
Thanks.
-
- Posts: 6265
- Joined: Tue Mar 20, 2018 5:34 am
Re: Render report with bookmark and links
Hello,
We couldn't reproduce the issue on our samples.
Please send us a sample project that reproduces the issue for analysis.
Also, please clarify which version are you use?
Thank you.
We couldn't reproduce the issue on our samples.
Please send us a sample project that reproduces the issue for analysis.
Also, please clarify which version are you use?
Thank you.
Re: Render report with bookmark and links
Hi,
We use the package Stimulsoft.Reports.Web.NetCore , version 2021.3.7 .
SORRY, I can not send a sample project, because I'm working on a big project for a company but I already described to you what I want and what I did.
What I did in my previous post:
1. Load report
2. Compile report
3. render report
4. export to pdf
The report contains an hyperlink to an image.
Thank you.
We use the package Stimulsoft.Reports.Web.NetCore , version 2021.3.7 .
SORRY, I can not send a sample project, because I'm working on a big project for a company but I already described to you what I want and what I did.
What I did in my previous post:
1. Load report
2. Compile report
3. render report
4. export to pdf
The report contains an hyperlink to an image.
Thank you.
-
- Posts: 6265
- Joined: Tue Mar 20, 2018 5:34 am
Re: Render report with bookmark and links
Hello,
Please check the last release build 2022.1.6
Thank you.
Please check the last release build 2022.1.6
Thank you.