BookmarkSubscribeRSS Feed
Eva
Quartz | Level 8 Eva
Quartz | Level 8
Dear all,

I'd like to have a drill down from a SAS PDF Output to another SAS PDF Output. The problem is that I have too many parameters to write them all in the url (the url gets too long). So the style an url attribute won't do that for me in the proc report:

style=[url="/mystp&name1=value1&name2=value2"]

I solved the problem in HTML by using method=post and hidden fields where I write down the parameter's value for which to drill down.

put '
';
put "";

The value is altered by a javascript when the user clicks on the report.

I doubt that this works with PDF.

Can anybody help?

Best regards,
Eva
1 REPLY 1
Cynthia_sas
SAS Super FREQ
Hi:
You may want to work with Tech Support on this question. As far as I know, the only way to use URL= with PDF is to 1) link to an entirely separate PDF document or HTML page 2) link to an internal pointer in the same document.

When you use <FORM> tags in HTML, you are generally executing a program (or a script) which accepts the hidden parameter values as part of the HTTP stream and then the web server performs the form action.

I did not think that you could invoke an HTML <FORM> from within a PDF document in order to make the equivalent of a form action happen. So, this is why I think you have a question for Tech Support.

cynthia

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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