Completed
Last Updated: 16 Jul 2021 08:45 by ADMIN
Release R2 2021 SP1 (Latest Internal Build)
Sparky
Created on: 28 Jun 2021 10:33
Type: Bug Report
1
PDF bookmarks are not generated in R2 2021(v15.1.21.512)

Generated PDFs do not have bookmarks in R2 2021 unless there is a TOC section in the report.

By setting the device info setting "ProcessItemActions", the generated PDFs have bookmarks again.

var reportProcessor = new Telerik.Reporting.Processing.ReportProcessor(); 
var reportSource = new Telerik.Reporting.UriReportSource();
reportSource.Uri = "some Uri";           
var deviceInfo = new System.Collections.Hashtable();
deviceInfo["ProcessItemActions"] = true;
reportProcessor.RenderReport("PDF", reportSource, deviceInfo);

3 comments
ADMIN
Dimitar
Posted on: 05 Jul 2021 13:46

Hello Spartak,

Can you share more information regarding the report that you used to test with? Did you try it with only one report? Which version of Telerik Reporting did you use for the testing, R2 2021 or R2 SP1 2021?

I have attached one of the reports that I have tested with that I found the bookmarks to be working with OutputDocumentMap set to true.

Thank you for using Telerik Reporting!

Regards,
Dimitar
Progress Telerik

Brand new Telerik Reporting course in Virtual Classroom - the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products. Check it out at https://learn.telerik.com/.
Attached Files:
Sparky
Posted on: 29 Jun 2021 16:38
Only deviceInfo["ProcessItemActions"]=true works for me. I tried them both.
ADMIN
Dimitar
Posted on: 29 Jun 2021 14:06

Hello Spartak,

Setting the OutputDocumentMap device info setting to true also corrects that behavior.

deviceInfo["OutputDocumentMap"] = true;

Please use the workarounds until the issue gets fixed.

Thank you for using Telerik Reporting!

Regards,
Dimitar
Progress Telerik

Brand new Telerik Reporting course in Virtual Classroom - the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products. Check it out at https://learn.telerik.com/.