BookmarkSubscribeRSS Feed
Cristina_inet
Fluorite | Level 6

Good morning!

I am using the “ods proclabel” option to generate bookmarks in a pdf document in the following way.

 

Cristina_inet_0-1713352581918.png

 


The bookmarks are created correctly but I would like to link them to a custom index, so that clicking the link will take you to this specific bookmark.

 

Cristina_inet_1-1713352603446.png

How could I assign the bookmark link through the URL? Is it possible to assign a specific bookmark or sheet to the URL?

I have tried adding the path variable but it won't let me.

1 REPLY 1
Ksharp
Super User
You need to use ANCHOR= option to produce URL in PDF . LIke :

ods pdf anchor="AdverseEvent" startpage=now ;
ods proclabel="AdverseEvent";
title j=l "AdverseEvent";
proc report ........

sas-innovate-wordmark-2025-midnight.png

Register Today!

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.


Register now!

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 553 views
  • 0 likes
  • 2 in conversation