I'm trying to remove the second level of bookmark from the PDF output that i create using ODS PDF. I am able to collapse it using pdftoc=1 in the ODS PDF statement. But how can I completely remove this second level of bookmark. See attachment where it says "The SGRender Procedure" (Please note i do need the first level bookmark so cannot use NOBOOKMARKGEN option it turns it off completely.)
%let ods_pdf_out = <Name and Location of the PDF file>;
ods pdf file = "&ods_pdf_out." style=mystyle pdftoc=1;
ODS PROCLABEL "Figure 14.3.5.1.1 : Box and Whisker Plot Over Time of Systolic Blood Pressure (mmHg): Observed Values";
Any help would be great.
Have you tried to play with the OBJECTLABEL option of SGRENDER? Where does the label end up in the TOC?
Output of Proc SGrender is just one of the outputs. My outputs use various procedure e.g. Proc Report, Proc SGRender, Proc LIfe test. Is there a general way to removing the bookmarks or managing them as a post process, from PDF files?
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.